anatomist  5.1.2
3D neuroimaging data viewer
QSelectMenu Class Reference

Selection menu widget. More...

#include <anatomist/selection/qSelMenu.h>

Inheritance diagram for QSelectMenu:
Collaboration diagram for QSelectMenu:

Public Slots

void viewSlot ()
 
void unselectSlot ()
 
void selectAllSlot ()
 
void removeSlot ()
 
void removeThisWinSlot ()
 
void neighboursSlot ()
 
void selAttribSlot ()
 

Signals

void viewSignal (anatomist::AWindow *win)
 
void unselectSignal (anatomist::AWindow *win)
 
void selectAllSignal (anatomist::AWindow *win)
 
void removeSignal (anatomist::AWindow *win)
 
void removeThisWinSignal (anatomist::AWindow *win)
 
void neighboursSignal (anatomist::AWindow *win)
 
void selAttribSignal (anatomist::AWindow *win)
 

Public Member Functions

 QSelectMenu (QWidget *parent=0)
 
 QSelectMenu (const QString &title, QWidget *parent=0)
 
virtual ~QSelectMenu ()
 
virtual void update (anatomist::AWindow *win, const Tree *specific=0)
 
void addOptionMenus (QMenu *menu, const Tree *tr)
 
void addMenus (QMenu *menu, const Tree *tr)
 
void setObjects (const std::set< anatomist::AObject * > &obj)
 

Protected Member Functions

void eraseCallbacks ()
 

Protected Attributes

anatomist::AWindow_win
 
std::set< MenuCallback * > _callbacks
 
std::set< anatomist::AObject * > _objects
 

Static Protected Attributes

static QPixmap * _defPixmap
 

Detailed Description

Selection menu widget.

Definition at line 96 of file qSelMenu.h.

Constructor & Destructor Documentation

◆ QSelectMenu() [1/2]

QSelectMenu::QSelectMenu ( QWidget *  parent = 0)

◆ QSelectMenu() [2/2]

QSelectMenu::QSelectMenu ( const QString &  title,
QWidget *  parent = 0 
)

◆ ~QSelectMenu()

virtual QSelectMenu::~QSelectMenu ( )
virtual

Member Function Documentation

◆ addMenus()

void QSelectMenu::addMenus ( QMenu *  menu,
const Tree tr 
)

◆ addOptionMenus()

void QSelectMenu::addOptionMenus ( QMenu *  menu,
const Tree tr 
)

◆ eraseCallbacks()

void QSelectMenu::eraseCallbacks ( )
protected

◆ neighboursSignal

void QSelectMenu::neighboursSignal ( anatomist::AWindow win)
signal

◆ neighboursSlot

void QSelectMenu::neighboursSlot ( )
slot

◆ removeSignal

void QSelectMenu::removeSignal ( anatomist::AWindow win)
signal

◆ removeSlot

void QSelectMenu::removeSlot ( )
slot

◆ removeThisWinSignal

void QSelectMenu::removeThisWinSignal ( anatomist::AWindow win)
signal

◆ removeThisWinSlot

void QSelectMenu::removeThisWinSlot ( )
slot

◆ selAttribSignal

void QSelectMenu::selAttribSignal ( anatomist::AWindow win)
signal

◆ selAttribSlot

void QSelectMenu::selAttribSlot ( )
slot

◆ selectAllSignal

void QSelectMenu::selectAllSignal ( anatomist::AWindow win)
signal

◆ selectAllSlot

void QSelectMenu::selectAllSlot ( )
slot

◆ setObjects()

void QSelectMenu::setObjects ( const std::set< anatomist::AObject * > &  obj)
inline

Definition at line 108 of file qSelMenu.h.

References _objects.

◆ unselectSignal

void QSelectMenu::unselectSignal ( anatomist::AWindow win)
signal

◆ unselectSlot

void QSelectMenu::unselectSlot ( )
slot

◆ update()

virtual void QSelectMenu::update ( anatomist::AWindow win,
const Tree specific = 0 
)
virtual

◆ viewSignal

void QSelectMenu::viewSignal ( anatomist::AWindow win)
signal

◆ viewSlot

void QSelectMenu::viewSlot ( )
slot

Member Data Documentation

◆ _callbacks

std::set<MenuCallback *> QSelectMenu::_callbacks
protected

Definition at line 133 of file qSelMenu.h.

◆ _defPixmap

QPixmap* QSelectMenu::_defPixmap
staticprotected

Definition at line 134 of file qSelMenu.h.

◆ _objects

std::set<anatomist::AObject *> QSelectMenu::_objects
protected

Definition at line 135 of file qSelMenu.h.

Referenced by setObjects().

◆ _win

anatomist::AWindow* QSelectMenu::_win
protected

Definition at line 132 of file qSelMenu.h.


The documentation for this class was generated from the following file: