34 #ifndef AIMS_LISTVIEW_QPYTHON_H 35 #define AIMS_LISTVIEW_QPYTHON_H 41 class QTreeWidgetItem;
58 QTreeWidgetItem* parent,
60 const QString & attname,
61 const QString & attype,
67 const HelperSet & helpers =
HelperSet() );
70 const HelperSet & helpers =
HelperSet() );
74 bool writeInternals =
false );
76 QTreeWidgetItem* parent,
const std::string & syntax,
77 const std::string & semantic,
bool writeInternals );
79 const std::string & semantic );
int attributeColumn() const
std::map< std::string, Helper > HelperSet
virtual ~QPythonPrinter()
QTreeWidgetItem * _lvitem
QPythonPrinter(QTreeWidgetItem *parent, const carto::SyntaxSet &syntax=carto::SyntaxSet(), const HelperSet &helpers=HelperSet())
bool isInternal(const std::string &syntax, const std::string &semantic)
std::map< std::string, Syntax > SyntaxSet
virtual void initHelpers()
virtual QTreeWidgetItem * write(const carto::GenericObject &object, bool writeInternals=false)
void setPropertyColumn(int c)
Prints elements and attributes of a GenericObject (Python-like) object into a QTreeWidget tree...
void setTypeColumn(int c)
void setValueColumn(int c)