GChemPaint specific C++ classes. More...
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 74 of file settings.h.
enum gcp::ArrowTypes |
enum gcp::BondType |
gcp/bond.h The bond types recognized in GChemPaint. Possible values are:
Definition at line 42 of file gcp/bond.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 49 of file widgetdata.h.
enum gcp::ThemeType |
gcp/theme.h Enumerates the various storage classes for themes.
bool gcp::on_event | ( | GnomeCanvasItem * | item, | |
GdkEvent * | event, | |||
GtkWidget * | widget | |||
) |
item | the item for which the event occured. | |
event | the current GdkEvent. | |
widget | the canvas owning the item. |
A callback for events occuring in the canvas. Calls View::OnEvent() for the view owning widget.
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().
const gchar* gcp::AddColor |
The color used for new objects.
Number of really used clipboard formats when copying should be either GCP_CLIPBOARD_NO_TEXT or GCP_CLIPBOARD_ALL
const gchar* gcp::Color |
The color used for normal drawing.
XML file compression level.
const gchar* gcp::DeleteColor |
The color used for objects that are to be deleted.
The dynamic TypeId for electrons.
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.
const gchar* gcp::SelectColor |
The color used for selected objects.
Whether the mendeleiv table widget might be detached from the tool box or not.
The themes manager unique instance.