List of all members | Classes | Properties | Public Slots | Signals | Public Member Functions | Static Public Member Functions | Public Attributes | Protected Member Functions | Static Protected Member Functions
XTreeView Class Reference

#include <xtreeview.h>

Inheritance diagram for XTreeView:
QTreeView QAbstractItemView QAbstractScrollArea QFrame QWidget QObject QPaintDevice

Properties

 acceptDrops
 
 accessibleDescription
 
 accessibleName
 
 allColumnsShowFocus
 
 alternatingRowColors
 
 animated
 
 autoExpandDelay
 
 autoFillBackground
 
 autoScroll
 
 autoScrollMargin
 
 baseSize
 
 childrenRect
 
 childrenRegion
 
 contextMenuPolicy
 
 cursor
 
 defaultDropAction
 
 dragDropMode
 
 dragDropOverwriteMode
 
 dragEnabled
 
 editTriggers
 
 enabled
 
 expandsOnDoubleClick
 
 focus
 
 focusPolicy
 
 font
 
 frameGeometry
 
 frameRect
 
 frameShadow
 
 frameShape
 
 frameSize
 
 frameWidth
 
 fullScreen
 
 geometry
 
 headerHidden
 
 height
 
 horizontalScrollBarPolicy
 
 horizontalScrollMode
 
 iconSize
 
 indentation
 
 inputMethodHints
 
 isActiveWindow
 
 itemsExpandable
 
 layoutDirection
 
 lineWidth
 
 locale
 
 maximized
 
 maximumHeight
 
 maximumSize
 
 maximumWidth
 
 midLineWidth
 
 minimized
 
 minimumHeight
 
 minimumSize
 
 minimumSizeHint
 
 minimumWidth
 
 modal
 
 mouseTracking
 
 normalGeometry
 
 objectName
 
 palette
 
 pos
 
int primaryKeyCoulmns
 
 rect
 
 rootIsDecorated
 
QString schemaName
 
 selectionBehavior
 
 selectionMode
 
 showDropIndicator
 
 size
 
 sizeHint
 
 sizeIncrement
 
 sizePolicy
 
 sortingEnabled
 
 statusTip
 
 styleSheet
 
 tabKeyNavigation
 
QString tableName
 
 textElideMode
 
 toolTip
 
 uniformRowHeights
 
 updatesEnabled
 
 verticalScrollBarPolicy
 
 verticalScrollMode
 
 visible
 
 whatsThis
 
 width
 
 windowFilePath
 
 windowFlags
 
 windowIcon
 
 windowIconText
 
 windowModality
 
 windowModified
 
 windowOpacity
 
 windowTitle
 
 wordWrap
 
 x
 
 y
 

Public Slots

virtual int currentIndex ()
 
virtual QString filter ()
 
virtual void insert ()
 
virtual void populate (int p)
 
virtual void removeSelected ()
 
virtual void revertAll ()
 
virtual int rowCount ()
 
virtual int rowCountVisible ()
 
virtual void save ()
 
virtual void select ()
 
virtual QVariant selectedValue (int column)
 
virtual void selectRow (int index)
 
virtual void setColumnEditor (int column, const QString editor)
 
virtual void setColumnEditor (const QString column, const QString editor)
 
virtual void setColumnFormat (const QString column, int format)
 
virtual void setColumnTextAlignment (int column, int alignment)
 
virtual void setColumnTextAlignment (const QString column, int alignment)
 
virtual void setDataWidgetMap (XDataWidgetMapper *mapper)
 
virtual void setFilter (const QString filter)
 
virtual void setForegroundColor (int row, int col, QString color)
 
virtual void setModel (XSqlTableModel *model=0)
 
virtual void setPrimaryKeyColumns (int p)
 
virtual void setRowForegroundColor (int row, QString color)
 
virtual void setSchemaName (QString p)
 
virtual void setTableName (QString p)
 
virtual void setValue (int row, int column, QVariant value)
 
virtual void sShowMenu (const QPoint &)
 
virtual QVariant value (int row, int column)
 

Signals

void dataChanged (int row, int col)
 
void newModel (XSqlTableModel *model)
 
void populateMenu (QMenu *, QModelIndex)
 
void rowSelected (int)
 
void saved ()
 
void valid (bool)
 

Public Member Functions

 XTreeView (QWidget *parent=0)
 
 ~XTreeView ()
 
bool acceptDrops () const
 
QString accessibleDescription () const
 
QString accessibleName () const
 
QList< QAction * > actions () const
 
void activated (const QModelIndex &index)
 
void activateWindow ()
 
void addAction (QAction *action)
 
void addActions (QList< QAction * > actions)
 
void addScrollBarWidget (QWidget *widget, QFlags< Qt::AlignmentFlag > alignment)
 
void adjustSize ()
 
bool allColumnsShowFocus () const
 
bool alternatingRowColors () const
 
int autoExpandDelay () const
 
bool autoFillBackground () const
 
int autoScrollMargin () const
 
Qt::BackgroundMode backgroundMode () const
 
QPoint backgroundOffset () const
 
BackgroundOrigin backgroundOrigin () const
 
QPalette::ColorRole backgroundRole () const
 
QSize baseSize () const
 
bool blockSignals (bool block)
 
QString caption () const
 
QObjectchild (const char *objName, const char *inheritsClass, bool recursiveSearch) const
 
QWidgetchildAt (int x, int y) const
 
QWidgetchildAt (const QPoint &p) const
 
QWidgetchildAt (int x, int y, bool includeThis) const
 
QWidgetchildAt (const QPoint &p, bool includeThis) const
 
const QObjectList & children () const
 
QRect childrenRect () const
 
QRegion childrenRegion () const
 
const char * className () const
 
void clearFocus ()
 
void clearMask ()
 
void clearSelection ()
 
void clicked (const QModelIndex &index)
 
bool close ()
 
bool close (bool alsoDelete)
 
void closePersistentEditor (const QModelIndex &index)
 
void collapse (const QModelIndex &index)
 
void collapseAll ()
 
void collapsed (const QModelIndex &index)
 
int colorCount () const
 
QColorGroup colorGroup () const
 
int columnAt (int x) const
 
Q_INVOKABLE int columnIndex (const QString column)
 
Q_INVOKABLE QString columnNameFromLogicalIndex (const int logicalIndex) const
 
int columnViewportPosition (int column) const
 
int columnWidth (int column) const
 
bool connect (const QObject *sender, const char *signal, const char *method, Qt::ConnectionType type) const
 
void constPolish () const
 
QMargins contentsMargins () const
 
QRect contentsRect () const
 
Qt::ContextMenuPolicy contextMenuPolicy () const
 
QWidgetcornerWidget () const
 
QModelIndex currentIndex () const
 
QCursor cursor () const
 
void customContextMenuRequested (const QPoint &pos)
 
virtual void dataChanged (const QModelIndex &topLeft, const QModelIndex &bottomRight)
 
Qt::DropAction defaultDropAction () const
 
void deleteLater ()
 
int depth () const
 
void destroyed (QObject *obj)
 
bool disconnect (const char *signal, const QObject *receiver, const char *method)
 
bool disconnect (const QObject *receiver, const char *method)
 
void doubleClicked (const QModelIndex &index)
 
DragDropMode dragDropMode () const
 
bool dragDropOverwriteMode () const
 
bool dragEnabled () const
 
void drawText (const QPoint &p, const QString &s)
 
void drawText (int x, int y, const QString &s)
 
void dumpObjectInfo ()
 
void dumpObjectTree ()
 
QList< QByteArraydynamicPropertyNames () const
 
void edit (const QModelIndex &index)
 
EditTriggers editTriggers () const
 
WId effectiveWinId () const
 
void ensurePolished () const
 
void entered (const QModelIndex &index)
 
void erase (int x, int y, int w, int h)
 
void erase (const QRect &rect)
 
void erase (const QRegion &rgn)
 
void erase ()
 
virtual bool eventFilter (QObject *watched, QEvent *event)
 
void expand (const QModelIndex &index)
 
void expandAll ()
 
void expanded (const QModelIndex &index)
 
bool expandsOnDoubleClick () const
 
void expandToDepth (int depth)
 
findChild (const QString &name) const
 
QList< T > findChildren (const QString &name) const
 
QList< T > findChildren (const QRegExp &regExp) const
 
Qt::FocusPolicy focusPolicy () const
 
QWidgetfocusProxy () const
 
QWidgetfocusWidget () const
 
const QFontfont () const
 
QFontInfo fontInfo () const
 
QFontMetrics fontMetrics () const
 
QPalette::ColorRole foregroundRole () const
 
QRect frameGeometry () const
 
QRect frameRect () const
 
Shadow frameShadow () const
 
Shape frameShape () const
 
QSize frameSize () const
 
int frameStyle () const
 
int frameWidth () const
 
const QRectgeometry () const
 
void getContentsMargins (int *left, int *top, int *right, int *bottom) const
 
virtual HDC getDC () const
 
void grabGesture (Qt::GestureType gesture, QFlags< Qt::GestureFlag > flags)
 
void grabKeyboard ()
 
void grabMouse ()
 
void grabMouse (const QCursor &cursor)
 
int grabShortcut (const QKeySequence &key, Qt::ShortcutContext context)
 
QGraphicsEffectgraphicsEffect () const
 
QGraphicsProxyWidgetgraphicsProxyWidget () const
 
bool hasAutoScroll () const
 
bool hasEditFocus () const
 
bool hasFocus () const
 
bool hasMouse () const
 
bool hasMouseTracking () const
 
QHeaderViewheader () const
 
int height () const
 
virtual int heightForWidth (int w) const
 
int heightMM () const
 
void hide ()
 
void hideColumn (int column)
 
QScrollBarhorizontalScrollBar () const
 
Qt::ScrollBarPolicy horizontalScrollBarPolicy () const
 
ScrollMode horizontalScrollMode () const
 
const QPixmapicon () const
 
void iconify ()
 
QSize iconSize () const
 
QString iconText () const
 
virtual bool ignoreGeometrySizing ()
 
int indentation () const
 
QModelIndex indexAbove (const QModelIndex &index) const
 
virtual QModelIndex indexAt (const QPoint &point) const
 
QModelIndex indexBelow (const QModelIndex &index) const
 
QWidgetindexWidget (const QModelIndex &index) const
 
bool inherits (const char *className) const
 
QInputContextinputContext ()
 
Qt::InputMethodHints inputMethodHints () const
 
virtual QVariant inputMethodQuery (Qt::InputMethodQuery query) const
 
void insertAction (QAction *before, QAction *action)
 
void insertActions (QAction *before, QList< QAction * > actions)
 
void insertChild (QObject *object)
 
void installEventFilter (QObject *filterObj)
 
bool isA (const char *className) const
 
bool isActiveWindow () const
 
bool isAncestorOf (const QWidget *child) const
 
bool isAnimated () const
 
bool isColumnHidden (int column) const
 
bool isDesktop () const
 
bool isDialog () const
 
bool isEnabled () const
 
bool isEnabledTo (QWidget *ancestor) const
 
bool isEnabledToTLW () const
 
bool isExpanded (const QModelIndex &index) const
 
bool isFirstColumnSpanned (int row, const QModelIndex &parent) const
 
bool isFullScreen () const
 
bool isHeaderHidden () const
 
bool isHidden () const
 
bool isInputMethodEnabled () const
 
bool isMaximized () const
 
bool isMinimized () const
 
bool isModal () const
 
bool isPopup () const
 
bool isRowHidden (int row, const QModelIndex &parent) const
 
Q_INVOKABLE bool isRowHidden (int row)
 
bool isShown () const
 
bool isSortingEnabled () const
 
bool isTopLevel () const
 
bool isUpdatesEnabled () const
 
bool isVisible () const
 
bool isVisibleTo (QWidget *ancestor) const
 
bool isVisibleToTLW () const
 
bool isWidgetType () const
 
bool isWindow () const
 
bool isWindowModified () const
 
QAbstractItemDelegateitemDelegate () const
 
QAbstractItemDelegateitemDelegate (const QModelIndex &index) const
 
QAbstractItemDelegateitemDelegateForColumn (int column) const
 
QAbstractItemDelegateitemDelegateForRow (int row) const
 
bool itemsExpandable () const
 
virtual void keyboardSearch (const QString &search)
 
void killTimer (int id)
 
QLayoutlayout () const
 
Qt::LayoutDirection layoutDirection () const
 
int lineWidth () const
 
QLocale locale () const
 
int logicalDpiX () const
 
int logicalDpiY () const
 
void lower ()
 
Qt::HANDLE macCGHandle () const
 
Qt::HANDLE macQDHandle () const
 
QPoint mapFrom (QWidget *parent, const QPoint &pos) const
 
QPoint mapFromGlobal (const QPoint &pos) const
 
QPoint mapFromParent (const QPoint &pos) const
 
Q_INVOKABLE XDataWidgetMappermapper ()
 
QPoint mapTo (QWidget *parent, const QPoint &pos) const
 
QPoint mapToGlobal (const QPoint &pos) const
 
QPoint mapToParent (const QPoint &pos) const
 
QRegion mask () const
 
int maximumHeight () const
 
QSize maximumSize () const
 
QSize maximumViewportSize () const
 
int maximumWidth () const
 
virtual const QMetaObjectmetaObject () const
 
int midLineWidth () const
 
int minimumHeight () const
 
QSize minimumSize () const
 
virtual QSize minimumSizeHint () const
 
int minimumWidth () const
 
QAbstractItemModelmodel () const
 
Q_INVOKABLE XSqlTableModelmodel ()
 
void move (int x, int y)
 
void move (const QPoint &)
 
void moveToThread (QThread *targetThread)
 
const char * name () const
 
const char * name (const char *defaultName) const
 
QWidgetnativeParentWidget () const
 
QWidgetnextInFocusChain () const
 
QRect normalGeometry () const
 
int numColors () const
 
QString objectName () const
 
void openPersistentEditor (const QModelIndex &index)
 
void overrideWindowFlags (QFlags< Qt::WindowType > flags)
 
bool ownCursor () const
 
bool ownFont () const
 
bool ownPalette () const
 
virtual QPaintEnginepaintEngine () const
 
bool paintingActive () const
 
const QPalettepalette () const
 
QObjectparent () const
 
QWidgetparentWidget () const
 
QWidgetparentWidget (bool sameWindow) const
 
int physicalDpiX () const
 
int physicalDpiY () const
 
QPlatformWindow * platformWindow () const
 
QPlatformWindowFormat platformWindowFormat () const
 
void polish ()
 
QPoint pos () const
 
void pressed (const QModelIndex &index)
 
QWidgetpreviousInFocusChain () const
 
int primaryKeyColumns () const
 
QVariant property (const char *name) const
 
void raise ()
 
void recreate (QWidget *parent, QFlags< Qt::WindowType > f, const QPoint &p, bool showIt)
 
QRect rect () const
 
virtual void releaseDC (HDC hdc) const
 
void releaseKeyboard ()
 
void releaseMouse ()
 
void releaseShortcut (int id)
 
void removeAction (QAction *action)
 
void removeChild (QObject *object)
 
void removeEventFilter (QObject *obj)
 
void render (QPaintDevice *target, const QPoint &targetOffset, const QRegion &sourceRegion, QFlags< QWidget::RenderFlag > renderFlags)
 
void render (QPainter *painter, const QPoint &targetOffset, const QRegion &sourceRegion, QFlags< QWidget::RenderFlag > renderFlags)
 
void repaint (const QRegion &rgn)
 
void repaint ()
 
void repaint (int x, int y, int w, int h)
 
void repaint (const QRect &rect)
 
void repaint (bool b)
 
void repaint (int x, int y, int w, int h, bool b)
 
void repaint (const QRect &r, bool b)
 
void repaint (const QRegion &rgn, bool b)
 
void reparent (QWidget *parent, QFlags< Qt::WindowType > f, const QPoint &p, bool showIt)
 
void reparent (QWidget *parent, const QPoint &p, bool showIt)
 
virtual void reset ()
 
void resize (int w, int h)
 
void resize (const QSize &)
 
void resizeColumnToContents (int column)
 
bool restoreGeometry (const QByteArray &geometry)
 
QModelIndex rootIndex () const
 
bool rootIsDecorated () const
 
QByteArray saveGeometry () const
 
QString schemaName () const
 
void scroll (int dx, int dy)
 
void scroll (int dx, int dy, const QRect &r)
 
QWidgetList scrollBarWidgets (QFlags< Qt::AlignmentFlag > alignment)
 
virtual void scrollTo (const QModelIndex &index, ScrollHint hint)
 
void scrollToBottom ()
 
void scrollToTop ()
 
virtual void selectAll ()
 
QAbstractItemView::SelectionBehavior selectionBehavior () const
 
QAbstractItemView::SelectionMode selectionMode () const
 
QItemSelectionModelselectionModel () const
 
void setAcceptDrops (bool on)
 
void setAccessibleDescription (const QString &description)
 
void setAccessibleName (const QString &name)
 
void setActiveWindow ()
 
void setAllColumnsShowFocus (bool enable)
 
void setAlternatingRowColors (bool enable)
 
void setAnimated (bool enable)
 
void setAttribute (Qt::WidgetAttribute attribute, bool on)
 
void setAutoExpandDelay (int delay)
 
void setAutoFillBackground (bool enabled)
 
void setAutoScroll (bool enable)
 
void setAutoScrollMargin (int margin)
 
void setBackgroundColor (const QColor &color)
 
void setBackgroundMode (Qt::BackgroundMode widgetBackground, Qt::BackgroundMode paletteBackground)
 
void setBackgroundOrigin (BackgroundOrigin background)
 
void setBackgroundPixmap (const QPixmap &pixmap)
 
void setBackgroundRole (QPalette::ColorRole role)
 
void setBaseSize (const QSize &)
 
void setBaseSize (int basew, int baseh)
 
void setCaption (const QString &c)
 
Q_INVOKABLE void setColumn (const QString &label, int width, int alignment, bool visible, const QString &colname)
 
void setColumnHidden (int column, bool hide)
 
virtual Q_INVOKABLE void setColumnLocked (const QString &pColname, bool pLocked)
 
virtual Q_INVOKABLE void setColumnLocked (const int pColumn, bool pLocked)
 
virtual Q_INVOKABLE void setColumnRole (const QString column, int role, QVariant value)
 
virtual Q_INVOKABLE void setColumnVisible (int, bool)
 
void setColumnWidth (int column, int width)
 
void setContentsMargins (int left, int top, int right, int bottom)
 
void setContentsMargins (const QMargins &margins)
 
void setContextMenuPolicy (Qt::ContextMenuPolicy policy)
 
void setCornerWidget (QWidget *widget)
 
void setCurrentIndex (const QModelIndex &index)
 
void setCursor (const QCursor &)
 
void setDefaultDropAction (Qt::DropAction dropAction)
 
void setDisabled (bool disable)
 
void setDragDropMode (DragDropMode behavior)
 
void setDragDropOverwriteMode (bool overwrite)
 
void setDragEnabled (bool enable)
 
void setDropIndicatorShown (bool enable)
 
void setEditFocus (bool enable)
 
void setEditTriggers (QFlags< QAbstractItemView::EditTrigger > triggers)
 
void setEnabled (bool)
 
void setEraseColor (const QColor &color)
 
void setErasePixmap (const QPixmap &pixmap)
 
void setExpanded (const QModelIndex &index, bool expanded)
 
void setExpandsOnDoubleClick (bool enable)
 
void setFirstColumnSpanned (int row, const QModelIndex &parent, bool span)
 
void setFixedHeight (int h)
 
void setFixedSize (int w, int h)
 
void setFixedSize (const QSize &s)
 
void setFixedWidth (int w)
 
void setFocus ()
 
void setFocus (Qt::FocusReason reason)
 
void setFocusPolicy (Qt::FocusPolicy policy)
 
void setFocusProxy (QWidget *w)
 
void setFont (const QFont &)
 
void setFont (const QFont &f, bool b)
 
void setForegroundRole (QPalette::ColorRole role)
 
void setFrameRect (const QRect &)
 
void setFrameShadow (Shadow)
 
void setFrameShape (Shape)
 
void setFrameStyle (int style)
 
void setGeometry (const QRect &)
 
virtual void setGeometry (int x, int y, int w, int h)
 
void setGraphicsEffect (QGraphicsEffect *effect)
 
void setHeader (QHeaderView *header)
 
void setHeaderHidden (bool hide)
 
void setHidden (bool hidden)
 
void setHorizontalScrollBar (QScrollBar *scrollBar)
 
void setHorizontalScrollBarPolicy (Qt::ScrollBarPolicy)
 
void setHorizontalScrollMode (ScrollMode mode)
 
void setIcon (const QPixmap &i)
 
void setIconSize (const QSize &size)
 
void setIconText (const QString &it)
 
virtual void setIgnoreGeometrySizing (bool ignore)
 
void setIndentation (int i)
 
void setIndexWidget (const QModelIndex &index, QWidget *widget)
 
void setInputContext (QInputContext *context)
 
void setInputMethodEnabled (bool enabled)
 
void setInputMethodHints (QFlags< Qt::InputMethodHint > hints)
 
void setItemDelegate (QAbstractItemDelegate *delegate)
 
void setItemDelegateForColumn (int column, QAbstractItemDelegate *delegate)
 
void setItemDelegateForRow (int row, QAbstractItemDelegate *delegate)
 
void setItemsExpandable (bool enable)
 
void setKeyCompression (bool b)
 
void setLayout (QLayout *layout)
 
void setLayoutDirection (Qt::LayoutDirection direction)
 
void setLineWidth (int)
 
void setLocale (const QLocale &locale)
 
void setMask (const QBitmap &bitmap)
 
void setMask (const QRegion &region)
 
void setMaximumHeight (int maxh)
 
void setMaximumSize (const QSize &)
 
void setMaximumSize (int maxw, int maxh)
 
void setMaximumWidth (int maxw)
 
void setMidLineWidth (int)
 
void setMinimumHeight (int minh)
 
void setMinimumSize (int minw, int minh)
 
void setMinimumSize (const QSize &)
 
void setMinimumWidth (int minw)
 
virtual void setModel (QAbstractItemModel *model)
 
void setMouseTracking (bool enable)
 
void setName (const char *name)
 
void setObjectName (const QString &name)
 
void setPalette (const QPalette &p, bool b)
 
void setPalette (const QPalette &)
 
void setPaletteBackgroundColor (const QColor &color)
 
void setPaletteBackgroundPixmap (const QPixmap &pixmap)
 
void setPaletteForegroundColor (const QColor &color)
 
void setParent (QWidget *parent)
 
void setParent (QObject *parent)
 
void setParent (QWidget *parent, QFlags< Qt::WindowType > f)
 
void setPlatformWindow (QPlatformWindow *window)
 
void setPlatformWindowFormat (const QPlatformWindowFormat &format)
 
bool setProperty (const char *name, const QVariant &value)
 
virtual void setRootIndex (const QModelIndex &index)
 
void setRootIsDecorated (bool show)
 
void setRowHidden (int row, const QModelIndex &parent, bool hide)
 
void setSelectionBehavior (QAbstractItemView::SelectionBehavior behavior)
 
void setSelectionMode (QAbstractItemView::SelectionMode mode)
 
virtual void setSelectionModel (QItemSelectionModel *selectionModel)
 
void setShortcutAutoRepeat (int id, bool enable)
 
void setShortcutEnabled (int id, bool enable)
 
void setShown (bool shown)
 
void setSizeIncrement (const QSize &)
 
void setSizeIncrement (int w, int h)
 
void setSizePolicy (QSizePolicy)
 
void setSizePolicy (QSizePolicy::Policy hor, QSizePolicy::Policy ver, bool hfw)
 
void setSizePolicy (QSizePolicy::Policy horizontal, QSizePolicy::Policy vertical)
 
void setSortingEnabled (bool enable)
 
void setStatusTip (const QString &)
 
void setStyle (QStyle *style)
 
QStylesetStyle (const QString &style)
 
void setStyleSheet (const QString &styleSheet)
 
void setTabKeyNavigation (bool enable)
 
Q_INVOKABLE void setTable ()
 
void setTextElideMode (Qt::TextElideMode mode)
 
void setToolTip (const QString &)
 
void setUniformRowHeights (bool uniform)
 
void setUpdatesEnabled (bool enable)
 
void setupUi (QWidget *widget)
 
void setVerticalScrollBar (QScrollBar *scrollBar)
 
void setVerticalScrollBarPolicy (Qt::ScrollBarPolicy)
 
void setVerticalScrollMode (ScrollMode mode)
 
void setViewport (QWidget *widget)
 
virtual void setVisible (bool visible)
 
void setWhatsThis (const QString &)
 
void setWindowFilePath (const QString &filePath)
 
void setWindowFlags (QFlags< Qt::WindowType > type)
 
void setWindowIcon (const QIcon &icon)
 
void setWindowIconText (const QString &)
 
void setWindowModality (Qt::WindowModality windowModality)
 
void setWindowModified (bool)
 
void setWindowOpacity (qreal level)
 
void setWindowRole (const QString &role)
 
void setWindowState (QFlags< Qt::WindowState > windowState)
 
void setWindowSurface (QWindowSurface *surface)
 
void setWindowTitle (const QString &)
 
void setWordWrap (bool on)
 
void show ()
 
void showColumn (int column)
 
bool showDropIndicator () const
 
void showFullScreen ()
 
void showMaximized ()
 
void showMinimized ()
 
void showNormal ()
 
bool signalsBlocked () const
 
QSize size () const
 
virtual QSize sizeHint () const
 
QSize sizeHintForIndex (const QModelIndex &index) const
 
virtual int sizeHintForRow (int row) const
 
QSize sizeIncrement () const
 
QSizePolicy sizePolicy () const
 
void sortByColumn (int column, Qt::SortOrder order)
 
void sortByColumn (int column)
 
void stackUnder (QWidget *w)
 
int startTimer (int interval)
 
QString statusTip () const
 
QStylestyle () const
 
QString styleSheet () const
 
bool tabKeyNavigation () const
 
QString tableName () const
 
bool testAttribute (Qt::WidgetAttribute attribute) const
 
Qt::TextElideMode textElideMode () const
 
QThreadthread () const
 
bool throwScriptException (const QString &message)
 
QString toolTip () const
 
QWidgettopLevelWidget () const
 
bool underMouse () const
 
void ungrabGesture (Qt::GestureType gesture)
 
bool uniformRowHeights () const
 
void unsetCursor ()
 
void unsetFont ()
 
void unsetLayoutDirection ()
 
void unsetLocale ()
 
void unsetPalette ()
 
void update (int x, int y, int w, int h)
 
void update (const QRect &rect)
 
void update ()
 
void update (const QRegion &rgn)
 
void update (const QModelIndex &index)
 
void updateGeometry ()
 
bool updatesEnabled () const
 
QScrollBarverticalScrollBar () const
 
Qt::ScrollBarPolicy verticalScrollBarPolicy () const
 
ScrollMode verticalScrollMode () const
 
QWidgetviewport () const
 
void viewportEntered ()
 
QRect visibleRect () const
 
QRegion visibleRegion () const
 
virtual QRect visualRect (const QModelIndex &index) const
 
QString whatsThis () const
 
int width () const
 
int widthMM () const
 
QWidgetwindow () const
 
QString windowFilePath () const
 
Qt::WindowFlags windowFlags () const
 
QIcon windowIcon () const
 
QString windowIconText () const
 
Qt::WindowModality windowModality () const
 
qreal windowOpacity () const
 
QString windowRole () const
 
Qt::WindowStates windowState () const
 
QWindowSurface * windowSurface () const
 
QString windowTitle () const
 
Qt::WindowType windowType () const
 
WId winId () const
 
bool wordWrap () const
 
int x () const
 
int x11Cells () const
 
Qt::HANDLE x11Colormap () const
 
bool x11DefaultColormap () const
 
bool x11DefaultVisual () const
 
int x11Depth () const
 
Display * x11Display () const
 
const QX11Infox11Info () const
 
Qt::HANDLE x11PictureHandle () const
 
int x11Screen () const
 
void * x11Visual () const
 
int y () const
 

Static Public Member Functions

bool connect (const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
 
bool connect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method, Qt::ConnectionType type)
 
bool disconnect (const QObject *sender, const char *signal, const QObject *receiver, const char *method)
 
bool disconnect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method)
 
QWidgetfind (WId id)
 
QWidgetkeyboardGrabber ()
 
QWidgetmouseGrabber ()
 
void setTabOrder (QWidget *first, QWidget *second)
 
QString tr (const char *sourceText, const char *disambiguation, int n)
 
QString trUtf8 (const char *sourceText, const char *disambiguation, int n)
 
QWidgetMapper * wmapper ()
 
int x11AppCells (int screen)
 
Qt::HANDLE x11AppColormap (int screen)
 
bool x11AppDefaultColormap (int screen)
 
bool x11AppDefaultVisual (int screen)
 
int x11AppDepth (int screen)
 
Display * x11AppDisplay ()
 
int x11AppDpiX (int screen)
 
int x11AppDpiY (int screen)
 
Qt::HANDLE x11AppRootWindow (int screen)
 
int x11AppScreen ()
 
void * x11AppVisual (int screen)
 
void x11SetAppDpiX (int dpi, int screen)
 
void x11SetAppDpiY (int dpi, int screen)
 

Public Attributes

typedef EditTriggers
 
typedef RenderFlags
 

Protected Member Functions

virtual void actionEvent (QActionEvent *event)
 
virtual void changeEvent (QEvent *ev)
 
bool checkConnectArgs (const char *signal, const QObject *object, const char *method)
 
virtual void childEvent (QChildEvent *event)
 
virtual void closeEditor (QWidget *editor, QAbstractItemDelegate::EndEditHint hint)
 
virtual void closeEvent (QCloseEvent *event)
 
void columnCountChanged (int oldCount, int newCount)
 
void columnMoved ()
 
void columnResized (int column, int oldSize, int newSize)
 
virtual void commitData (QWidget *editor)
 
virtual void connectNotify (const char *signal)
 
virtual void contextMenuEvent (QContextMenuEvent *e)
 
void create (WId window, bool initializeWindow, bool destroyOldWindow)
 
virtual void currentChanged (const QModelIndex &current, const QModelIndex &previous)
 
virtual void customEvent (QEvent *event)
 
void destroy (bool destroyWindow, bool destroySubWindows)
 
QPoint dirtyRegionOffset () const
 
virtual void disconnectNotify (const char *signal)
 
virtual void dragEnterEvent (QDragEnterEvent *event)
 
virtual void dragLeaveEvent (QDragLeaveEvent *event)
 
virtual void dragMoveEvent (QDragMoveEvent *event)
 
virtual void drawBranches (QPainter *painter, const QRect &rect, const QModelIndex &index) const
 
virtual void drawRow (QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex &index) const
 
void drawTree (QPainter *painter, const QRegion &region) const
 
virtual void dropEvent (QDropEvent *event)
 
DropIndicatorPosition dropIndicatorPosition () const
 
virtual bool edit (const QModelIndex &index, EditTrigger trigger, QEvent *event)
 
virtual void editorDestroyed (QObject *editor)
 
virtual void enterEvent (QEvent *event)
 
virtual bool event (QEvent *event)
 
void executeDelayedItemsLayout ()
 
virtual void focusInEvent (QFocusEvent *event)
 
bool focusNextChild ()
 
virtual bool focusNextPrevChild (bool next)
 
virtual void focusOutEvent (QFocusEvent *event)
 
bool focusPreviousChild ()
 
virtual void hideEvent (QHideEvent *event)
 
virtual int horizontalOffset () const
 
int horizontalStepsPerItem () const
 
int indexRowSizeHint (const QModelIndex &index) const
 
virtual void inputMethodEvent (QInputMethodEvent *event)
 
virtual bool isIndexHidden (const QModelIndex &index) const
 
virtual void keyPressEvent (QKeyEvent *event)
 
virtual void keyReleaseEvent (QKeyEvent *event)
 
virtual void languageChange ()
 
virtual void leaveEvent (QEvent *event)
 
virtual bool macEvent (EventHandlerCallRef caller, EventRef event)
 
virtual int metric (PaintDeviceMetric m) const
 
virtual void mouseDoubleClickEvent (QMouseEvent *event)
 
virtual void mouseMoveEvent (QMouseEvent *event)
 
virtual void mousePressEvent (QMouseEvent *event)
 
virtual void mouseReleaseEvent (QMouseEvent *event)
 
virtual QModelIndex moveCursor (CursorAction cursorAction, QFlags< Qt::KeyboardModifier > modifiers)
 
virtual void moveEvent (QMoveEvent *event)
 
virtual void paintEvent (QPaintEvent *event)
 
virtual bool qwsEvent (QWSEvent *event)
 
int receivers (const char *signal) const
 
void resetInputContext ()
 
virtual void resizeEvent (QResizeEvent *)
 
int rowHeight (const QModelIndex &index) const
 
virtual void rowsAboutToBeRemoved (const QModelIndex &parent, int start, int end)
 
virtual void rowsInserted (const QModelIndex &parent, int start, int end)
 
void rowsRemoved (const QModelIndex &parent, int start, int end)
 
void scheduleDelayedItemsLayout ()
 
virtual void scrollContentsBy (int dx, int dy)
 
void scrollDirtyRegion (int dx, int dy)
 
virtual QModelIndexList selectedIndexes () const
 
virtual void selectionChanged (const QItemSelection &selected, const QItemSelection &deselected)
 
virtual QItemSelectionModel::SelectionFlags selectionCommand (const QModelIndex &index, const QEvent *event) const
 
QObjectsender () const
 
int senderSignalIndex () const
 
void setDirtyRegion (const QRegion &region)
 
void setHorizontalStepsPerItem (int steps)
 
virtual void setSelection (const QRect &rect, QFlags< QItemSelectionModel::SelectionFlag > command)
 
void setState (State state)
 
void setupViewport (QWidget *viewport)
 
void setVerticalStepsPerItem (int steps)
 
void setViewportMargins (int left, int top, int right, int bottom)
 
void setViewportMargins (const QMargins &margins)
 
virtual void showEvent (QShowEvent *event)
 
virtual int sizeHintForColumn (int column) const
 
virtual void startDrag (QFlags< Qt::DropAction > supportedActions)
 
State state () const
 
virtual void tabletEvent (QTabletEvent *event)
 
virtual void timerEvent (QTimerEvent *event)
 
virtual void updateGeometries ()
 
void updateMicroFocus ()
 
virtual int verticalOffset () const
 
int verticalStepsPerItem () const
 
virtual QStyleOptionViewItem viewOptions () const
 
virtual bool viewportEvent (QEvent *event)
 
virtual QRegion visualRegionForSelection (const QItemSelection &selection) const
 
virtual void wheelEvent (QWheelEvent *e)
 
virtual bool winEvent (MSG *message, long *result)
 
virtual bool x11Event (XEvent *event)
 

Static Protected Member Functions

QByteArray normalizeSignalSlot (const char *signalSlot)
 

Property Documentation

int XTreeView::primaryKeyCoulmns
readwrite
QString XTreeView::schemaName
readwrite
QString XTreeView::tableName
readwrite

Constructor & Destructor Documentation

XTreeView::XTreeView ( QWidget parent = 0)
XTreeView::~XTreeView ( )

Member Function Documentation

int XTreeView::columnIndex ( const QString  column)
QString XTreeView::columnNameFromLogicalIndex ( const int  logicalIndex) const
int XTreeView::currentIndex ( )
virtualslot
void XTreeView::dataChanged ( int  row,
int  col 
)
signal
QString XTreeView::filter ( )
virtualslot
virtual bool XTreeView::ignoreGeometrySizing ( )
inlinevirtual
void XTreeView::insert ( )
virtualslot
bool XTreeView::isRowHidden ( int  row)
Q_INVOKABLE XDataWidgetMapper* XTreeView::mapper ( )
inline
Q_INVOKABLE XSqlTableModel* XTreeView::model ( )
inline
void XTreeView::newModel ( XSqlTableModel model)
signal
void XTreeView::populate ( int  p)
virtualslot
void XTreeView::populateMenu ( QMenu ,
QModelIndex   
)
signal
int XTreeView::primaryKeyColumns ( ) const
inline
void XTreeView::removeSelected ( )
virtualslot
void XTreeView::resizeEvent ( QResizeEvent e)
protectedvirtual

Reimplemented from QAbstractItemView.

void XTreeView::revertAll ( )
virtualslot
int XTreeView::rowCount ( )
virtualslot
int XTreeView::rowCountVisible ( )
virtualslot
void XTreeView::rowSelected ( int  )
signal
void XTreeView::save ( )
virtualslot
void XTreeView::saved ( )
signal
QString XTreeView::schemaName ( ) const
inline
void XTreeView::select ( )
virtualslot
QVariant XTreeView::selectedValue ( int  column)
virtualslot
void XTreeView::selectionChanged ( const QItemSelection selected,
const QItemSelection deselected 
)
protectedvirtual

Reimplemented from QTreeView.

void XTreeView::selectRow ( int  index)
virtualslot
void XTreeView::setColumn ( const QString label,
int  width,
int  alignment,
bool  visible,
const QString colname 
)
void XTreeView::setColumnEditor ( int  column,
const QString  editor 
)
virtualslot
void XTreeView::setColumnEditor ( const QString  column,
const QString  editor 
)
virtualslot
void XTreeView::setColumnFormat ( const QString  column,
int  format 
)
virtualslot
void XTreeView::setColumnLocked ( const QString pColname,
bool  pLocked 
)
virtual
void XTreeView::setColumnLocked ( const int  pColumn,
bool  pLocked 
)
virtual
void XTreeView::setColumnRole ( const QString  column,
int  role,
QVariant  value 
)
virtual
void XTreeView::setColumnTextAlignment ( int  column,
int  alignment 
)
virtualslot
void XTreeView::setColumnTextAlignment ( const QString  column,
int  alignment 
)
virtualslot
void XTreeView::setColumnVisible ( int  pColumn,
bool  pVisible 
)
virtual
void XTreeView::setDataWidgetMap ( XDataWidgetMapper mapper)
virtualslot
void XTreeView::setFilter ( const QString  filter)
virtualslot
void XTreeView::setForegroundColor ( int  row,
int  col,
QString  color 
)
virtualslot
void XTreeView::setGeometry ( int  x,
int  y,
int  w,
int  h 
)
virtual
virtual void XTreeView::setIgnoreGeometrySizing ( bool  ignore)
inlinevirtual
void XTreeView::setModel ( XSqlTableModel model = 0)
virtualslot
virtual void XTreeView::setPrimaryKeyColumns ( int  p)
inlinevirtualslot
void XTreeView::setRowForegroundColor ( int  row,
QString  color 
)
virtualslot
virtual void XTreeView::setSchemaName ( QString  p)
inlinevirtualslot
void XTreeView::setTable ( )
virtual void XTreeView::setTableName ( QString  p)
inlinevirtualslot
void XTreeView::setValue ( int  row,
int  column,
QVariant  value 
)
virtualslot
void XTreeView::sShowMenu ( const QPoint pntThis)
virtualslot
QString XTreeView::tableName ( ) const
inline
bool XTreeView::throwScriptException ( const QString message)
void XTreeView::valid ( bool  )
signal
QVariant XTreeView::value ( int  row,
int  column 
)
virtualslot

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

Generated on Fri Jul 10 2015 xTuple ERP Programmer Reference, Version 4.9.0 doxygen 1.8.10