34#ifndef ANAQT_BROWSER_TYPEEDIT_H
35#define ANAQT_BROWSER_TYPEEDIT_H
48 QTypeEdit( const std::string & text, int x, int y, int w, int h,
49 QWidget* parent = 0, const char* name = 0,
50 WindowFlags f = Qt::WindowFlags() );
55 std::string text() const
56 { return( _te->text().utf8().data() ); }
58 QTypeEdit *typeEdit() { return( _te ); }
73#include <cartobase/object/object.h>
91 const std::string & att, QTreeWidgetItem* item,
93 const char* name = 0, Qt::WindowFlags f = Qt::WindowFlags() );
98 std::string
attrib()
const {
return(
_att.toStdString() ); }
anatomist::Anatomist *ANATOMIST_API theAnatomist
Pointer to the Anatomist application.
A "cancelable" line edit: hitting 'esc' sends the "cancel()" signal.
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())
carto::GenericObject * _ao
void change(QComboBox *)
Receive input from a browser (click on a hierarchy)
QObjectBrowser * _browser
std::string attrib() const