anatomist  5.1.2
3D neuroimaging data viewer
listboxeditor Class Reference

Editor window for labels (interaction with hierarchies) More...

#include <anatomist/control/listboxeditor.h>

Inheritance diagram for listboxeditor:
Collaboration diagram for listboxeditor:

Public Slots

void change (QComboBox *)
 Receive input from a browser (click on a hierarchy) More...
 
QString get_result ()
 
void reject ()
 

Public Member Functions

 listboxeditor (const std::string &text, int x, int y, unsigned w, unsigned h, QObjectBrowser *br, carto::GenericObject *ao, const std::string &att, QTreeWidgetItem *item, QWidget *parent=theAnatomist->getQWidgetAncestor(), const char *name=0, Qt::WindowFlags f=Qt::WindowFlags())
 
 ~listboxeditor ()
 
std::string attrib () const
 

Protected Attributes

QObjectBrowser_browser
 
QCancelLineEdit_te
 
carto::GenericObject_ao
 
QString _att
 
QTreeWidgetItem * _item
 

Detailed Description

Editor window for labels (interaction with hierarchies)

Definition at line 84 of file listboxeditor.h.

Constructor & Destructor Documentation

◆ listboxeditor()

listboxeditor::listboxeditor ( const std::string &  text,
int  x,
int  y,
unsigned  w,
unsigned  h,
QObjectBrowser br,
carto::GenericObject ao,
const std::string &  att,
QTreeWidgetItem *  item,
QWidget *  parent = theAnatomist->getQWidgetAncestor(),
const char *  name = 0,
Qt::WindowFlags  f = Qt::WindowFlags() 
)

◆ ~listboxeditor()

listboxeditor::~listboxeditor ( )

Member Function Documentation

◆ attrib()

std::string listboxeditor::attrib ( ) const
inline

Definition at line 98 of file listboxeditor.h.

References _att.

◆ change

void listboxeditor::change ( QComboBox *  )
slot

Receive input from a browser (click on a hierarchy)

◆ get_result

QString listboxeditor::get_result ( )
slot

◆ reject

void listboxeditor::reject ( )
slot

Member Data Documentation

◆ _ao

carto::GenericObject* listboxeditor::_ao
protected

Definition at line 112 of file listboxeditor.h.

◆ _att

QString listboxeditor::_att
protected

Definition at line 113 of file listboxeditor.h.

Referenced by attrib().

◆ _browser

QObjectBrowser* listboxeditor::_browser
protected

Definition at line 110 of file listboxeditor.h.

◆ _item

QTreeWidgetItem* listboxeditor::_item
protected

Definition at line 114 of file listboxeditor.h.

◆ _te

QCancelLineEdit* listboxeditor::_te
protected

Definition at line 111 of file listboxeditor.h.


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