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 | 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 37 of file gcp/arrow.h.
enum gcp::BondType |
gcp/bond.h The bond types recognized in GChemPaint. Possible values are:
Definition at line 44 of file gcp/bond.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 77 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. |
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. |
void gcp::on_receive_targets | ( | GtkClipboard * | clipboard, | |
GtkSelectionData * | selection_data, | |||
Application * | App | |||
) |
clipboard | a GtkClipboard. | |
selection_data | the data to paste. | |
App | the Application. |
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.
The data type available for the default clipboard.
The data type available for the primary clipboard.
Definition at line 37 of file widgetdata.h.
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.
XML file compression level.
GOColor gcp::DeleteColor |
The color used for objects that are to be deleted.
The dynamic TypeId for electrons.
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.
bool gcp::MergeAtoms |
Whether to use existing atoms or create new one at the same place when adding bonds.
Signal emitted when an object has been modified. See gcu::Object::EmitSignal for more information.
Signal emitted when an object has been deleted. See gcu::Object::EmitSignal for more information.
Signal emitted when the theme has changed. This signal is called by the theme for all its documents.
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.
The themes manager unique instance.