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
XTableView Class Reference

#include <xtableview.h>

Inheritance diagram for XTableView:
QTableView QAbstractItemView QAbstractScrollArea QFrame QWidget QObject QPaintDevice

Properties

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

Public Slots

virtual QString filter ()
 
virtual void insert ()
 
virtual QAbstractItemDelegateitemDelegateForColumn (int column)
 
virtual QAbstractItemDelegateitemDelegateForColumn (const QString column)
 
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 setItemDelegateForColumn (int column, QAbstractItemDelegate *delegate)
 
virtual void setItemDelegateForColumn (const QString column, QAbstractItemDelegate *delegate)
 
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

 XTableView (QWidget *parent=0)
 
 ~XTableView ()
 
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 alternatingRowColors () 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 clearSpans ()
 
void clicked (const QModelIndex &index)
 
bool close ()
 
bool close (bool alsoDelete)
 
void closePersistentEditor (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 columnSpan (int row, int column) 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)
 
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 ()
 
void erase (int x, int y, int w, int h)
 
void erase (const QRegion &rgn)
 
void erase (const QRect &rect)
 
virtual bool eventFilter (QObject *watched, QEvent *event)
 
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
 
Qt::PenStyle gridStyle () const
 
bool hasAutoScroll () const
 
bool hasEditFocus () const
 
bool hasFocus () const
 
bool hasMouse () const
 
bool hasMouseTracking () const
 
int height () const
 
virtual int heightForWidth (int w) const
 
int heightMM () const
 
void hide ()
 
void hideColumn (int column)
 
void hideRow (int row)
 
QHeaderViewhorizontalHeader () const
 
QScrollBarhorizontalScrollBar () const
 
Qt::ScrollBarPolicy horizontalScrollBarPolicy () const
 
ScrollMode horizontalScrollMode () const
 
const QPixmapicon () const
 
void iconify ()
 
QSize iconSize () const
 
QString iconText () const
 
virtual QModelIndex indexAt (const QPoint &pos) 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 isColumnHidden (int column) const
 
bool isCornerButtonEnabled () const
 
bool isDesktop () const
 
bool isDialog () const
 
bool isEnabled () const
 
bool isEnabledTo (QWidget *ancestor) const
 
bool isEnabledToTLW () const
 
bool isFullScreen () const
 
bool isHidden () const
 
bool isInputMethodEnabled () const
 
bool isMaximized () const
 
bool isMinimized () const
 
bool isModal () const
 
bool isPopup () const
 
bool isRowHidden (int row) 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 QModelIndex &index) const
 
QAbstractItemDelegateitemDelegate () const
 
QAbstractItemDelegateitemDelegateForColumn (int column) const
 
QAbstractItemDelegateitemDelegateForRow (int row) 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 QRect &r, bool b)
 
void repaint ()
 
void repaint (int x, int y, int w, int h)
 
void repaint (const QRect &rect)
 
void repaint (const QRegion &rgn)
 
void repaint (bool b)
 
void repaint (int x, int y, int w, int h, bool b)
 
void repaint (const QRegion &rgn, bool b)
 
void reparent (QWidget *parent, const QPoint &p, bool showIt)
 
void reparent (QWidget *parent, QFlags< Qt::WindowType > f, const QPoint &p, bool showIt)
 
virtual void reset ()
 
void resize (int w, int h)
 
void resize (const QSize &)
 
void resizeColumnsToContents ()
 
void resizeColumnToContents (int column)
 
void resizeRowsToContents ()
 
void resizeRowToContents (int row)
 
bool restoreGeometry (const QByteArray &geometry)
 
QModelIndex rootIndex () const
 
int rowAt (int y) const
 
int rowHeight (int row) const
 
int rowSpan (int row, int column) const
 
int rowViewportPosition (int row) 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)=0
 
void scrollToBottom ()
 
void scrollToTop ()
 
virtual void selectAll ()
 
void selectColumn (int column)
 
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 setAlternatingRowColors (bool enable)
 
void setAttribute (Qt::WidgetAttribute attribute, bool on)
 
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 (const QMargins &margins)
 
void setContentsMargins (int left, int top, int right, int bottom)
 
void setContextMenuPolicy (Qt::ContextMenuPolicy policy)
 
void setCornerButtonEnabled (bool enable)
 
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 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 &)
 
void setGeometry (int x, int y, int w, int h)
 
void setGraphicsEffect (QGraphicsEffect *effect)
 
void setGridStyle (Qt::PenStyle style)
 
void setHidden (bool hidden)
 
void setHorizontalHeader (QHeaderView *header)
 
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)
 
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 setItemDelegateForRow (int row, QAbstractItemDelegate *delegate)
 
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 &)
 
void setPalette (const QPalette &p, bool b)
 
void setPaletteBackgroundColor (const QColor &color)
 
void setPaletteBackgroundPixmap (const QPixmap &pixmap)
 
void setPaletteForegroundColor (const QColor &color)
 
void setParent (QObject *parent)
 
void setParent (QWidget *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 setRowHeight (int row, int height)
 
void setRowHidden (int row, 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 setShowGrid (bool show)
 
void setShown (bool shown)
 
void setSizeIncrement (int w, int h)
 
void setSizeIncrement (const QSize &)
 
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 setSpan (int row, int column, int rowSpanCount, int columnSpanCount)
 
void setStatusTip (const QString &)
 
QStylesetStyle (const QString &style)
 
void setStyle (QStyle *style)
 
void setStyleSheet (const QString &styleSheet)
 
void setTabKeyNavigation (bool enable)
 
Q_INVOKABLE void setTable ()
 
void setTextElideMode (Qt::TextElideMode mode)
 
void setToolTip (const QString &)
 
void setUpdatesEnabled (bool enable)
 
void setupUi (QWidget *widget)
 
void setVerticalHeader (QHeaderView *header)
 
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 ()
 
bool showGrid () const
 
void showMaximized ()
 
void showMinimized ()
 
void showNormal ()
 
void showRow (int row)
 
bool signalsBlocked () const
 
QSize size () const
 
virtual QSize sizeHint () const
 
QSize sizeHintForIndex (const QModelIndex &index) 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)
 
void unsetCursor ()
 
void unsetFont ()
 
void unsetLayoutDirection ()
 
void unsetLocale ()
 
void unsetPalette ()
 
void update (const QModelIndex &index)
 
void update ()
 
void update (const QRegion &rgn)
 
void update (const QRect &rect)
 
void update (int x, int y, int w, int h)
 
void updateGeometry ()
 
bool updatesEnabled () const
 
QHeaderViewverticalHeader () 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 =0
 
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 (int column, int oldIndex, int newIndex)
 
void columnResized (int column, int oldWidth, int newWidth)
 
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)
 
virtual void dataChanged (const QModelIndex &topLeft, const QModelIndex &bottomRight)
 
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 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
 
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 *)
 
void rowCountChanged (int oldCount, int newCount)
 
void rowMoved (int row, int oldIndex, int newIndex)
 
void rowResized (int row, int oldHeight, int newHeight)
 
virtual void rowsAboutToBeRemoved (const QModelIndex &parent, int start, int end)
 
virtual void rowsInserted (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 > flags)
 
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 int sizeHintForRow (int row) 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 =0
 
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 XTableView::primaryKeyCoulmns
readwrite
QString XTableView::schemaName
readwrite
QString XTableView::tableName
readwrite

Constructor & Destructor Documentation

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

Member Function Documentation

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

Reimplemented from QAbstractItemView.

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

Reimplemented from QTableView.

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

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

Generated on Mon Dec 1 2014 xTuple ERP Programmer Reference, Version 4.8.0 doxygen 1.8.7