|
| QObjectBrowser (QWidget *parent=0, const char *name=0, carto::Object options=carto::none(), Qt::WindowFlags f=Qt::WindowFlags()) |
|
virtual | ~QObjectBrowser () |
|
virtual Type | type () const |
| Get the window type (2D, 3D or control) More...
|
|
void | displayClickPoint () |
|
void | Draw (bool flush=true) |
|
virtual void | update (const anatomist::Observable *observable, void *arg) |
| This method is called whenever the observed object is changed. More...
|
|
virtual void | registerObject (anatomist::AObject *object, bool temporaryObject=false, int position=-1) |
| Add an object to the objects. More...
|
|
virtual void | unregisterObject (anatomist::AObject *object) |
| Remove an object from the objects. More...
|
|
virtual void | updateObject (anatomist::AObject *obj) |
| Updates an object contents. More...
|
|
| ControlledWindow (QWidget *parent=0, const char *name=0, carto::Object options=carto::none(), Qt::WindowFlags f=Qt::WindowFlags()) |
|
virtual | ~ControlledWindow () |
|
virtual void | updateAvailableControls () |
|
virtual void | updateActivableControls () |
|
virtual void | updateActions () |
|
virtual void | updateActiveControl () |
|
std::map< std::string, QAction * > | getControlButtonObjects (void) |
|
| QAWindow (QWidget *parent=0, const char *name=0, carto::Object params=carto::none(), Qt::WindowFlags f=Qt::WindowFlags()) |
|
virtual | ~QAWindow () |
|
virtual void | setGeometry (int x, int y, unsigned w, unsigned h) |
|
virtual void | geometry (int *x, int *y, unsigned *w, unsigned *h) |
| Get position and dimensions of the window. More...
|
|
virtual void | show () |
|
virtual void | hide () |
|
virtual void | iconify () |
|
virtual void | unIconify () |
|
virtual bool | close () |
|
virtual void | showToolBars (int state=2) |
| Shows or hides all tools (menu, toolbars) around the main view area. More...
|
|
void | setFullScreen (int state=2) |
|
bool | isFullScreen () const |
|
virtual void | setTitle (const std::string &name) |
|
virtual void | enableDetachMenu (bool x) |
|
void | Refresh () |
| In QAWindows, Refresh() doesn't redraw right now. More...
|
|
virtual QToolBar * | addToolBar (const QString &title, const QString &name) |
|
virtual QToolBar * | addToolBar (Qt::ToolBarArea area, const QString &title, const QString &name) |
|
virtual void | addToolBar (QToolBar *, const QString &name) |
|
virtual void | addToolBar (Qt::ToolBarArea area, QToolBar *toolbar, const QString &name) |
|
virtual QToolBar * | insertToolBar (int pos, Qt::ToolBarArea area, const QString &title, const QString &name) |
|
virtual void | removeToolBar (QToolBar *toolbar) |
|
virtual QToolBar * | removeToolBar (const QString &name) |
|
QToolBar * | toolBar (const QString &name) |
|
void | setDetachMenuAction (QAction *) |
|
virtual | ~AWindow () |
| Unregisters from the application and other objects. More...
|
|
void | displayTalairach () |
| Affiche les coordonnees de Talairach qui correspondent a la position du curseur lie (window 2D) More...
|
|
virtual bool | toolBarsVisible () const |
|
virtual void | showReferential () |
|
virtual void | setupWindow () |
| Sets correct size and lookup of the window. More...
|
|
virtual std::string | Title () const |
|
void | setId (int id) |
| Set the window identifier. More...
|
|
void | SetRefreshFlag () |
| Set the refresh flag on. More...
|
|
void | ResetRefreshFlag () |
| Set the refresh flag off. More...
|
|
bool | lookupChanged () const |
|
void | setLookupChanged (bool flg=true) |
|
int | id () const |
| Get the window identifier. More...
|
|
virtual SubType | subtype () const |
|
bool | RefreshFlag () const |
| Get the refresh flag status. More...
|
|
std::set< AObject * > | Objects () const |
| Get the objects. More...
|
|
bool | hasObject (AObject *obj) const |
|
virtual Point3df | getPosition () const |
| Get position of cursor. More...
|
|
float | getTime () const |
| Get time position of cursor. More...
|
|
virtual std::vector< float > | getFullPosition () const |
|
virtual void | setPosition (const Point3df &position, const Referential *refdep) |
| Set position of cursor. More...
|
|
virtual void | setPosition (const std::vector< float > &position, const Referential *refdep=0) |
|
virtual void | setTime (float time) |
| Set time position of cursor. More...
|
|
Referential * | getReferential () const |
|
virtual void | setReferential (Referential *ref) |
|
Geometry * | windowGeometry () const |
|
void | setWindowGeometry (Geometry *geom) |
|
virtual void | updateWindowGeometry () |
| adapts geometry to the current contents and referential More...
|
|
int | Group () const |
|
void | setGroup (int group) |
|
void | setHasCursor (int hasCursor) |
|
bool | hasCursor () const |
| takes both the global and own flags into account More...
|
|
int | hasSelfCursor () const |
| returns the own flag of the window (see hasGlobalCursor) (tri-state) More...
|
|
virtual bool | positionFromCursor (int x, int y, Point3df &pos) |
| Translates mouse position to Anatomist geometry position. More...
|
|
virtual AObject * | objectAt (const std::vector< float > &pos) |
|
virtual void | selectObject (const std::vector< float > &pos, int modifier) |
| Selects (highlights) object at a given 4D space position. More...
|
|
virtual void | button3clicked (int x, int y) |
| handles button3 click (menu) More...
|
|
virtual void | findObjectsAt (const std::vector< float > &pos, std::set< AObject * > &shown, std::set< AObject * > &hidden) |
| finds objects at given position (internal) More...
|
|
virtual void | recordImages () |
|
virtual RecordingState | recordingState () const |
|
virtual void | startRecord () |
|
virtual void | startRecord (const std::string &filename) |
|
virtual void | stopRecord () |
|
virtual bool | needsRedraw () const |
| returns true if a refresh has been triggered and not performed yet (in subclasses: AWindow always returns false) More...
|
|
bool | isTemporary (AObject *o) const |
|
const std::set< AObject * > & | temporaryObjects () const |
|
| SharedObject () |
|
| SharedObject (const SharedObject &x) |
|
virtual | ~SharedObject () |
|
SharedObject & | operator= (const SharedObject &) |
|
bool | testDeletable () |
|
bool | tryDelete () |
|
void | attachWeakPtr (weak_ptr< T > &) const |
|
void | detachWeakPtr (weak_ptr< T > &) const |
|
void | attachWeakPtr (weak_shared_ptr< T > &) const |
|
void | detachWeakPtr (weak_shared_ptr< T > &) const |
|
virtual | ~WeakObject () |
|
| RCObject () |
|
| RCObject (const RCObject &) |
|
RCObject & | operator= (const RCObject &) |
|
virtual | ~RCObject () |
|
virtual | ~Observer () |
|
| ControlSwitchObserver () |
|
virtual | ~ControlSwitchObserver () |
|
|
class | anatomist::StaticInitializers |
|
virtual void | setMode (unsigned mode) |
|
unsigned | mode () const |
|
virtual std::string | modeString () const |
|
void | editCancel () |
|
void | editValidate () |
|
void | setShowDetailsUponRegister (bool) |
|
bool | showDetailsUponRegister () const |
|
virtual const std::set< unsigned > & | typeCount () const |
|
virtual std::set< unsigned > & | typeCount () |
|
virtual const std::string & | baseTitle () const |
|
virtual anatomist::View * | view () |
|
virtual const anatomist::View * | view () const |
|
static int | classType () |
|
static anatomist::AttDescr & | attDescr () |
|
static void | registerTypeEditor (const std::string &type, EditFunc func) |
|
static void | registerAttributeEditor (const std::string &syntax, const std::string &att, EditFunc func) |
|
static bool | stringEditor (const std::set< carto::GenericObject * > &ao, const std::string &att, QObjectBrowserWidget *br, const std::set< QTreeWidgetItem * > &item) |
|
static bool | intEditor (const std::set< carto::GenericObject * > &ao, const std::string &att, QObjectBrowserWidget *br, const std::set< QTreeWidgetItem * > &item) |
|
static bool | floatEditor (const std::set< carto::GenericObject * > &ao, const std::string &att, QObjectBrowserWidget *br, const std::set< QTreeWidgetItem * > &item) |
|
static bool | doubleEditor (const std::set< carto::GenericObject * > &ao, const std::string &att, QObjectBrowserWidget *br, const std::set< QTreeWidgetItem * > &item) |
|
static bool | labelEditor (const std::set< carto::GenericObject * > &ao, const std::string &att, QObjectBrowserWidget *br, const std::set< QTreeWidgetItem * > &item) |
|
static bool | colorEditor (const std::set< carto::GenericObject * > &ao, const std::string &att, QObjectBrowserWidget *br, const std::set< QTreeWidgetItem * > &item) |
|
static anatomist::AWindow * | createBrowser (void *, carto::Object) |
|
void | updateRightPanel () |
|
Tree * | buildSpecificMenuTree (QObjectBrowserWidget *br, QTreeWidgetItem *item, Tree &tr) |
| returns a pointer to the default action item (if any, 0 if none) More...
|
|
virtual void | modifyAttribute () |
|
virtual void | modifAttrib (const std::string &attrib) |
|
virtual void | addAttribute () |
|
virtual void | removeProperty () |
|
virtual carto::GenericObject * | attributeCaract (const QObjectBrowserWidget *br, const QTreeWidgetItem *item, std::string &attrib) |
| Finds the attribute pointed to by the list item, and returns its parent GenericObject. More...
|
|
virtual carto::GenericObject * | gObject (const QObjectBrowserWidget *br, const QTreeWidgetItem *item, int type) |
|
virtual anatomist::AObject * | aObject (const QObjectBrowserWidget *br, const QTreeWidgetItem *item) |
|
bool | editAttribute (carto::GenericObject *ao, const std::string &att, QObjectBrowserWidget *br, QTreeWidgetItem *item, bool &edited) |
| dispatcher function: chooses the right editor function More...
|
|
bool | editAttribute (const std::set< carto::GenericObject * > &objs, const std::string &att, QObjectBrowserWidget *br, const std::set< QTreeWidgetItem * > &items, bool &edited) |
|
void | normalModeSelectionChanged () |
| called by leftSelectionChanged() in NORMAL mode More...
|
|
std::string | canSend (QObjectBrowserWidget *br, QTreeWidgetItem *item) |
| tells if a nomenclature item can send its value (and if so, returns it) More...
|
|
std::string | canSendToAny (QObjectBrowserWidget *br, QTreeWidgetItem *item) |
| same as canSend() but does not check if a browser is in edit mode More...
|
|
void | nomenclatureClick (anatomist::Hierarchy *h, QObjectBrowserWidget::ItemDescr &descr, std::set< anatomist::AObject * > &tosel) |
| special selection mode of Nomenclature nodes More...
|
|
void | updateRightSelectionChange (int modifier) |
| modifier can be 0 (normal) or 1 (select edge ends) More...
|
|
virtual bool | event (QEvent *ev) |
|
virtual void | keyPressEvent (QKeyEvent *ev) |
|
static void | modifyAttributeStatic (void *parent) |
|
static void | modifNameStatic (void *parent) |
|
static void | modifLabelStatic (void *parent) |
|
static void | addAttributeStatic (void *parent) |
|
static void | removePropertyStatic (void *parent) |
|
static void | sendModeSelection (void *parent) |
| called in SENDEDIT mode More...
|
|
static void | setAttributeToAllSelected (void *parent) |
|
static unsigned | countSelected (QTreeWidgetItem *parent, QTreeWidgetItem *¤t) |
|
virtual void | leftSelectionChangedSlot () |
|
virtual void | rightButtonClickedSlot (QTreeWidgetItem *, const QPoint &) |
|
virtual void | rightButtonRightPanel (QTreeWidgetItem *, const QPoint &) |
|
virtual void | doubleClickedSlot (QTreeWidgetItem *, int) |
|
void | rightPanelDoubleClicked (QTreeWidgetItem *, int) |
|
virtual void | leftItemRenamed (QTreeWidgetItem *item, int col, const QString &text) |
|
virtual void | rightSelectionChangedSlot () |
|
virtual void | refreshNow () |
|
void | updateRightPanelNow () |
|
void | startDrag (QTreeWidgetItem *, Qt::MouseButtons, Qt::KeyboardModifiers) |
|
virtual void | leftItemStartsRename (QTreeWidgetItem *item, int col) |
|
virtual void | leftItemCancelsRename (QTreeWidgetItem *item, int col) |
|
Objects browser window.
Definition at line 58 of file qwObjectBrowser.h.