xtreewidget.cpp File Reference

#include <limits>
#include "xtreewidget.h"
#include <QAction>
#include <QApplication>
#include <QAbstractItemView>
#include <QClipboard>
#include <QDate>
#include <QDateTime>
#include <QDrag>
#include <QFileDialog>
#include <QFont>
#include <QHeaderView>
#include <QMenu>
#include <QMimeData>
#include <QMouseEvent>
#include <QSqlError>
#include <QSqlRecord>
#include <QTextCharFormat>
#include <QTextCursor>
#include <QTextDocument>
#include <QTextDocumentWriter>
#include <QTextEdit>
#include <QTextTable>
#include <QTextTableCell>
#include <QTextTableFormat>
#include <QtScript>
#include "xtsettings.h"
#include "xsqlquery.h"
#include "format.h"
#include <cmath>

Defines

#define COLROLE_BACKGROUND   2
#define COLROLE_COUNT   15
#define COLROLE_DISPLAY   0
#define COLROLE_FONT   6
#define COLROLE_FOREGROUND   3
#define COLROLE_GROUPRUNNING   10
#define COLROLE_ID   14
#define COLROLE_KEY   7
#define COLROLE_NULL   13
#define COLROLE_NUMERIC   12
#define COLROLE_RUNNING   8
#define COLROLE_RUNNINGINIT   9
#define COLROLE_STATUSTIP   5
#define COLROLE_TEXTALIGNMENT   1
#define COLROLE_TOOLTIP   4
#define COLROLE_TOTAL   11
#define DEBUG   false
#define ROWROLE_COUNT   2
#define ROWROLE_HIDDEN   1
#define ROWROLE_INDENT   0

Functions

QScriptValue constructXTreeWidgetItem (QScriptContext *context, QScriptEngine *engine)
void setupXTreeWidget (QScriptEngine *engine)
void setupXTreeWidgetItem (QScriptEngine *engine)
void XTreeWidgetItemfromScriptValue (const QScriptValue &obj, XTreeWidgetItem *&item)
void XTreeWidgetItemListfromScriptValue (const QScriptValue &scriptlist, QList< XTreeWidgetItem * > &cpplist)
QScriptValue XTreeWidgetItemListtoScriptValue (QScriptEngine *engine, QList< XTreeWidgetItem * > const &cpplist)
QScriptValue XTreeWidgetItemtoScriptValue (QScriptEngine *engine, XTreeWidgetItem *const &item)

Define Documentation

#define COLROLE_BACKGROUND   2
#define COLROLE_COUNT   15
#define COLROLE_DISPLAY   0
#define COLROLE_FONT   6
#define COLROLE_FOREGROUND   3
#define COLROLE_GROUPRUNNING   10
#define COLROLE_ID   14
#define COLROLE_KEY   7
#define COLROLE_NULL   13
#define COLROLE_NUMERIC   12
#define COLROLE_RUNNING   8
#define COLROLE_RUNNINGINIT   9
#define COLROLE_STATUSTIP   5
#define COLROLE_TEXTALIGNMENT   1
#define COLROLE_TOOLTIP   4
#define COLROLE_TOTAL   11
#define DEBUG   false
#define ROWROLE_COUNT   2
#define ROWROLE_HIDDEN   1
#define ROWROLE_INDENT   0

Function Documentation

QScriptValue constructXTreeWidgetItem ( QScriptContext context,
QScriptEngine engine 
)
void setupXTreeWidget ( QScriptEngine engine  ) 
void setupXTreeWidgetItem ( QScriptEngine engine  ) 
void XTreeWidgetItemfromScriptValue ( const QScriptValue obj,
XTreeWidgetItem *&  item 
)
void XTreeWidgetItemListfromScriptValue ( const QScriptValue scriptlist,
QList< XTreeWidgetItem * > &  cpplist 
)
QScriptValue XTreeWidgetItemListtoScriptValue ( QScriptEngine engine,
QList< XTreeWidgetItem * > const &  cpplist 
)
QScriptValue XTreeWidgetItemtoScriptValue ( QScriptEngine engine,
XTreeWidgetItem *const &  item 
)

Generated on Tue Apr 20 12:02:31 2010 xTuple ERP Programmer Reference, Version 3.5.0 doxygen 1.6.1