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;
anatomist::Anatomist *ANATOMIST_API theAnatomist
Pointer to the Anatomist application.
Graph static parameters control window.
void loadRelationsChanged(bool)
void unselectOnBackgroung(bool onoff)
static void setLabelColorsActivated(bool state)
Silent change - doesn't update the window interface.
void setSelectionRenderingMode(int)
static QGraphParam * theGP()
Access the singleton.
static bool labelColorsActivated()
void colorClicked(bool onoff)
static std::string colorsAttribute()
void saveModeSelected(int)
void invSelColorClicked(bool onoff)
static void setColorsAttribute(const std::string &attr)
Silent change - doesn't update the window interface.
const std::string & nomenclatureAttrib() const
Attribute for nomenclature selection / colors.
static bool autoSaveDirectory()
void autoDirChanged(bool)
void refreshGraphs() const
void installToolTips(bool onoff)
void attribActivated(const QString &str)
static bool saveOnlyModified()
static bool toolTipsInstalled()
QGraphParam(QWidget *parent=theAnatomist->getQWidgetAncestor(), const char *name=0)
void saveModifChanged(bool)
Anatomist graph object: a list that manages destruction of its sub-elements.
QWidget * getQWidgetAncestor() const
Gets an empty QWidget that is created in Anatomist application to become a default parent for all Ana...
void updateGraphs() const
int selectRenderModeFromString(const std::string &)
std::vector< std::string > selectRenderModes
bool background_unselects
static bool nomenclatureColorForLabel(const std::string &label, const Hierarchy *hie, Material &mat)
static GraphParams * graphParams()
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).
static bool recolorLabelledGraph(AGraph *ag, AGraphObject *go, Material &mat)
Function used by the AGraph coloring function when in labels color mode.
Nomenclature hierarchy object.
This class has to be rewritten, it's really really a shame.......