The Gnome Chemistry Utils
0.14.0
|
GChemPaint specific C++ classes. More...
Classes | |
struct | IconDesc |
class | Application |
GChemPaint application base class. More... | |
class | Arrow |
class | Atom |
struct | BondCrossing |
class | Bond |
class | Brackets |
Brackets class. More... | |
class | DocPropDlg |
class | Document |
class | Electron |
class | FragmentAtom |
class | FragmentResidue |
class | ChargeTextTag |
Charge. More... | |
class | StoichiometryTextTag |
Stoichiometry. More... | |
class | Fragment |
Atoms groups. More... | |
class | HPosDlg |
class | MechanismArrow |
Mechanism curved arrows. More... | |
class | MechanismStep |
Mechanism step. More... | |
class | Mesomer |
class | MesomeryArrow |
class | Mesomery |
class | Molecule |
GChemPaint molecule class. More... | |
class | NewFileDlg |
class | Operation |
class | AddOperation |
class | DeleteOperation |
class | ModifyOperation |
class | Plugin |
Class for GChemPaint plugins. More... | |
class | PrefsDlg |
GChemPaint preferences dialog class. More... | |
class | Reactant |
Class for reactants and products of a chemical reaction. More... | |
class | ReactionArrow |
class | ReactionOperator |
Class for '+' signs in chemical reaction equations. More... | |
class | ReactionPropDlg |
reaction properties dialog box class. More... | |
class | ReactionProp |
class | ReactionStep |
the list of reactants before or after a reaction arrow. More... | |
class | Reaction |
Chemical reaction class. More... | |
class | Residue |
a GChemPaint specific Residue class. More... | |
class | Scheme |
parent class for reaction, mesomery, and anything else containing chemical objects and arrows between them. More... | |
class | Step |
parent class for reaction steps, mesomers, and more. More... | |
class | Target |
class | TextEditor |
Text editor. More... | |
class | TextObject |
class | Text |
class | Theme |
themes class. More... | |
class | ThemeManager |
themes engine class. More... | |
class | Tool |
class | Tools |
class | View |
class | WidgetData |
class | Window |
class | ZoomDlg |
Functions | |
void | on_receive (GtkClipboard *clipboard, GtkSelectionData *selection_data, View *pView) |
void | on_receive_targets (GtkClipboard *clipboard, GtkSelectionData *selection_data, Application *App) |
void | on_clear_data (GtkClipboard *clipboard, gcu::Object *obj) |
Variables | |
gcu::SignalId | OnChangedSignal |
gcu::SignalId | OnDeleteSignal |
gcu::SignalId | OnThemeChangedSignal |
gcu::TypeId | ElectronType |
gcu::TypeId | MechanismArrowType |
std::set< Plugin * > | Plugins |
char const * | ReactionPropRoles [] |
GOColor | Color |
GOColor | DeleteColor |
GOColor | AddColor |
GOColor | SelectColor |
unsigned | MaxStackSize |
bool | MergeAtoms |
int | CompressionLevel |
int | ClipboardFormats |
bool | InvertWedgeHashes |
ThemeManager | TheThemeManager |
guint | ClipboardDataType |
xmlChar * | ClipboardData |
char * | ClipboardTextData |
GChemPaint specific C++ classes.
The namespace used for the C++ classes used by GChemPaint.
file
anonymous enum |
This enumerates the known roles of objects attached to a reaction arrow
REACTION_PROP_UNKNOWN |
Unkonw role. |
REACTION_PROP_CATALYST |
Catalyst |
REACTION_PROP_REACTANT | |
REACTION_PROP_PRODUCT |
Product |
REACTION_PROP_SOLVENT |
Solvent |
REACTION_PROP_MAX_MOL |
Values allowed for molecules are lower than this one |
REACTION_PROP_TEMPERATURE |
Temperature |
REACTION_PROP_PRESSURE |
Pressure |
REACTION_PROP_TIME |
Reaction time. |
REACTION_PROP_ENTHALPY |
Reaction enthalpy |
REACTION_PROP_MAX |
The first value greater than all knwo values. |
Definition at line 41 of file reaction-prop.h.
anonymous enum |
Clipboard formats identifiers
Definition at line 69 of file settings.h.
enum gcp::ArrowTypes |
Enumeration of the known reaction arrow types.
SimpleArrow |
Simple reaction arrow. |
ReversibleArrow |
Double reaction arrow for reversible reactions with half heads. |
FullReversibleArrow |
Double reaction arrow for reversible reactions with full heads. |
Definition at line 39 of file gcp/arrow.h.
enum gcp::BondType |
gcp/bond.h The bond types recognized in GChemPaint. Possible values are:
Definition at line 49 of file gcp/bond.h.
enum gcp::BracketContent |
The contents on a pair of brackets.
Defines what is enclosed by a pair of brackets. One of the brackets might be invisible.
Definition at line 44 of file gcp/brackets.h.
Describes the objects that can be attached to the brackets.
Defines which of a superscript and subscript can be attached to a bracket. The values can be combined. Actually, only subscript are supported for now.
BracketDecorationNone |
Nothing allowed. |
BracketSubscript |
A subscript is allowed. |
BracketSuperscript |
A superscript is allowed. |
Definition at line 69 of file gcp/brackets.h.
enum gcp::CursorId |
Cursors.
Enumerates known cursors.
CursorUnallowed |
Cursor used when a click would have no effect. |
CursorPencil |
Cursor used when a click would start drawing operation. |
CursorMax |
Maximum value, does not correspond to a valid cursor. |
Definition at line 85 of file gcp/application.h.
enum gcp::HPos |
Represents the various possiblepositions for implicit hydrogen atoms bonded to non metals.
LEFT_HPOS |
Hydrogen atoms at left. |
RIGHT_HPOS |
Hydrogen atoms at right. |
TOP_HPOS |
Hydrogen atoms at top. |
BOTTOM_HPOS |
Hydrogen atoms at bottom. |
AUTO_HPOS |
Automatic position. |
Definition at line 85 of file gcp/atom.h.
enum gcp::OperationType |
gcp/operation.h Enumeration of the different operation types See gcp::Document::GetNewOeration() for its use.
GCP_ADD_OPERATION |
Object addition operation, see the AddOperation class. |
GCP_DELETE_OPERATION |
Object deletion operation, see the DeleteOperation class. |
GCP_MODIFY_OPERATION |
Object modification operation, see the ModifyOperation class. |
Definition at line 41 of file operation.h.
enum gcp::SelectionState |
Enumeration of the selection states used in GChemPaint in the gcu::Object::SetSelected method.
SelStateUnselected |
Unselected object. |
SelStateSelected |
Unselected object. |
SelStateUpdating |
Edited or new object. |
SelStateErasing |
The object is marked for deletion. |
Definition at line 74 of file widgetdata.h.
enum gcp::ThemeType |
gcp/theme.h Enumerates the various storage classes for themes.
void gcp::on_clear_data | ( | GtkClipboard * | clipboard, |
gcu::Object * | obj | ||
) |
clipboard | a GtkClipboard. |
obj | an object, might be the Application. |
A callback to use for clearing the clipboard data.
void gcp::on_receive | ( | GtkClipboard * | clipboard, |
GtkSelectionData * | selection_data, | ||
View * | pView | ||
) |
clipboard | a GtkClipboard. |
selection_data | the data to paste. |
pView | the view of the active document. |
A callback to use for receiving data from a clipboard. Calls View::OnReceive().
void gcp::on_receive_targets | ( | GtkClipboard * | clipboard, |
GtkSelectionData * | selection_data, | ||
Application * | App | ||
) |
clipboard | a GtkClipboard. |
selection_data | the data to paste. |
App | the Application. |
A callback to use for receiving targets from a clipboard.
GOColor gcp::AddColor |
The color used for new objects.
xmlChar* gcp::ClipboardData |
A global variable to store clipboard data as a string representation of an xml document.
gcp::ClipboardDataType |
The data type available for the default clipboard.
The data type available for the primary clipboard.
Definition at line 37 of file widgetdata.h.
int gcp::ClipboardFormats |
Number of really used clipboard formats when copying should be either GCP_CLIPBOARD_NO_TEXT or GCP_CLIPBOARD_ALL
char* gcp::ClipboardTextData |
A global variable to store clipboard data as a string, used for text.
GOColor gcp::Color |
The color used for normal drawing.
int gcp::CompressionLevel |
XML file compression level.
GOColor gcp::DeleteColor |
The color used for objects that are to be deleted.
gcu::TypeId gcp::ElectronType |
The dynamic TypeId for electrons.
bool gcp::InvertWedgeHashes |
Hashed bonds are normally represented with the large side nearest, which is the opposite of what many people want. Setting InvertWedgeHashes to true will change this behavior. Default is false.
unsigned gcp::MaxStackSize |
The stack size for undo/redo operations. Default is no limit.
gcu::TypeId gcp::MechanismArrowType |
The gcu::TypeId for MechanismArrow.
bool gcp::MergeAtoms |
Whether to use existing atoms or create new one at the same place when adding bonds.
gcu::SignalId gcp::OnChangedSignal |
Signal emitted when an object has been modified. See gcu::Object::EmitSignal for more information.
gcu::SignalId gcp::OnDeleteSignal |
Signal emitted when an object has been deleted. See gcu::Object::EmitSignal for more information.
gcu::SignalId gcp::OnThemeChangedSignal |
Signal emitted when the theme has changed. This signal is called by the theme for all its documents.
gcp::Plugins |
The set of registered plugins.
char const* gcp::ReactionPropRoles[] |
The names associated with the various roles knwon for objects attached to reaction arrows. These names are used for serialization.
GOColor gcp::SelectColor |
The color used for selected objects.
ThemeManager gcp::TheThemeManager |
The themes manager unique instance.