35 #ifndef ANATOMIST_CONTROL_GRAPHPARAMS_H 36 #define ANATOMIST_CONTROL_GRAPHPARAMS_H 73 const std::string & value,
74 std::vector<Tree *> & parents );
91 friend class ::QGraphParam;
93 void allowRescanHierarchies(
bool x );
94 bool rescanhierarchies;
112 void refreshGraphs()
const;
115 const std::string & nomenclatureAttrib()
const;
118 static void setLabelColorsActivated(
bool state );
119 static bool labelColorsActivated();
121 static void setColorsAttribute(
const std::string & attr );
122 static std::string colorsAttribute();
123 static bool toolTipsInstalled();
124 static int savingMode();
126 static bool autoSaveDirectory();
129 void btnClicked(
int btn );
130 void colorClicked(
bool onoff );
131 void attribActivated(
const QString & str );
132 void installToolTips(
bool onoff );
133 void unselectOnBackgroung(
bool onoff );
134 void invSelColorClicked(
bool onoff );
135 void selColorClicked();
136 void loadRelationsChanged(
bool );
137 void saveModifChanged(
bool );
138 void autoDirChanged(
bool );
139 void saveModeSelected(
int );
140 void setSelectionRenderingMode(
int );
Anatomist graph object: a list that manages destruction of its sub-elements.
static bool recolorLabelledGraph(AGraph *ag, AGraphObject *go, Material &mat)
Function used by the AGraph coloring function when in labels color mode.
This class has to be rewritten, it's really really a shame.......
Graph static parameters control window.
anatomist::Anatomist *ANATOMIST_API theAnatomist
Pointer to the Anatomist application.
static Tree * findTreeWith(const Tree *tr, const std::string &attribute, const std::string &value, std::vector< Tree *> &parents)
This function should be part of the Tree class (in graph library).
Nomenclature hierarchy object.
std::vector< std::string > selectRenderModes
int selectRenderModeFromString(const std::string &)
void updateGraphs() const
static bool nomenclatureColorForLabel(const std::string &label, const Hierarchy *hie, Material &mat)
QWidget * getQWidgetAncestor() const
Gets an empty QWidget that is created in Anatomist application to become a default parent for all Ana...
bool background_unselects
static GraphParams * graphParams()