#include <qdbttabular.h>
Inheritance diagram for QdbtTabular:


Public Types | |
| enum | TraverseMode { TRAV_ANY = 0, TRAV_LOCK_ROW = 1, TRAV_LOCK_COL = 2, TRAV_CELL_LOCK = TRAV_LOCK_ROW | TRAV_LOCK_COL } |
| enum | HeaderMode { MODE_QDBTTABULAR = 0x0000, MODE_QLISTVIEW = 0x0001 } |
| enum | EditResult { NotChanged = 0, Changed = 1, EditESCed = 2, LoseFocus = 3 } |
| enum | TraverseReasons { KeyPress, MouseClick, MouseDrag } |
| enum | ConfigureSwitches { SELECT_NONE = 0x00000000, SELECT_BY_ROW = 0x00000001, SELECT_MULTIPLE = 0x00000002, CLEAR_SELECTION_UNLESS_CTRL = 0x00000004, SHIFT_CLICK_MARKS_REGION = 0x00000008, ALLOW_DESELECT = 0x00000010, ENABLE_JUMP_SCROLL = 0x00000020, SHOW_HEADER = 0x00000100, SHOW_CASCADE = 0x00000200, SHOW_VERTICAL_SCROLLBAR = 0x00000400, SHOW_HORIZONTAL_SCROLLBAR = 0x00000800, ENABLE_TOOLTIPS = 0x00001000, SELECTION_FOLLOW_KEYBOARD_FOCUS = 0x00002000, TRAVERSE_ROW_ONLY = 0x00004000, TRAVERSE_COLUMN_ONLY = 0x00008000 } |
Public Slots | |
| void | clear () |
| void | setYOffset (int offset) |
| void | setXOffset (int offset) |
| void | setHeaderVisible (bool visible) |
| void | setCascadeVisible (bool visible) |
| void | enableTooltips () |
| void | disableTooltips () |
| void | setColumnWidth (int col, int width) |
| void | update () |
| void | redrawHeader () |
| void | redrawCascade () |
| void | setEnabled (bool state) |
| void | fitAll () |
| void | editCell (int row, int col, bool traverse) |
| void | editCell (int row, int col) |
| void | stopEdit (bool accept) |
Signals | |
| void | cellEdited (int, int) |
| void | sectionClicked (int col) |
| void | selected (int row, bool state) |
| void | activated (int row) |
| void | cellSelected (int row, int col, bool state) |
| void | cellActivated (int row, int col) |
| void | cellEditDone (int row, int col, int action, const QString &oldText) |
| void | yOffsetChanged (int offset) |
| void | xOffsetChanged (int offset) |
| void | columnWidthChanged (int col, int width) |
| void | rightButtonClicked (int col, int row) |
| void | traceMessage (const QString &) |
Public Methods | |
| QdbtTabular (QWidget *parent=0, const char *name=0, WFlags w=0) | |
| ~QdbtTabular () | |
| const QdbtTableCell * | cell (int row, int col) |
| void | changeCell (const QdbtTableCell *tc, int row, int col) |
| void | changeCell (QString text, const QPixmap *p, int row, int col, const QColor &color=QColor(), int align=Qt::AlignLeft, bool editable=FALSE) |
| void | changeCell (QString text, int row, int col, const QColor &color=QColor(), int align=Qt::AlignLeft, bool editable=FALSE) |
| void | changeCell (const QPixmap *pixmap, int row, int col, int align=Qt::AlignLeft) |
| void | setHeaderAppearance (int header_mode) |
| void | selectByRow (bool enable) |
| void | setMultiSelect (bool enable) |
| bool | multiSelect () |
| void | setAllowDeselect (bool deselect) |
| bool | allowDeselect () const |
| void | setFollowKeyboardFocus (bool follow) |
| bool | followKeyboardFocus () const |
| bool | headerVisible () const |
| bool | cascadeVisible () const |
| void | setColumnPattern (int col, QString pattern) |
| QString | columnPattern (int col) |
| int | columnIdentifier (int col) |
| void | setColumnIdentifier (int col, int identifier) |
| int | columnForIdentfier (int id) |
| virtual void | setDimensions (int rows, int cols) |
| virtual void | insertCol (int col=-1) |
| virtual void | removeCol (int col) |
| virtual void | exchangeCols (int col1, int col2) |
| void | setTraverseMode (int mode) |
| TraverseMode | traverseMode () const |
| void | setScrollbarVisible (bool vertical, bool visible) |
| bool | rowSelectable (int row) const |
| void | setRowSelectable (int row, bool enable) |
| void | setHeaderFont (const QFont &font) |
| const QFont | headerFont () const |
| void | setCellFont (const QFont &font) |
| const QFont | cellFont () const |
| void | changeSection (QdbtSection *section, int col) |
| QdbtSection * | section (int col) const |
| void | insertRow (int row=-1, bool selectable=TRUE) |
| void | removeRow (int row) |
| int | numRows () const |
| int | numCols () const |
| void | changeCell (const QdbtBaseCell *const tc, int row, int col) |
| void | setKeyboardFocus (int row, int col) |
| void | exposeCell (int row, int col) |
| int | columnWidth (int col) const |
| int | columnWidthHint (int col) const |
| int | rowHeight (int row) const |
| bool | rowSelected (int row) const |
| void | setRowSelected (int row, bool enable) |
| void | setAutoUpdate (bool state) |
| bool | autoUpdate () const |
| QSize | sizeHint () const |
| const QFont | cascadeFont () const |
| void | setCascadeText (int col, const QString &text) |
| void | setCascadeMode (int col, const int mode) |
| void | setCascadeAlignment (int col, const int align) |
| void | setCascadeFont (const QFont &font) |
| void | setHeaderCursor (const QCursor &newCursor) |
| void | setHeaderAppearance (HeaderMode headerMode) |
| HeaderMode | headerAppearance () |
| bool | currentKeyboardFocus (int &row, int &col) |
| void | clearSelection (bool set=FALSE) |
| void | setColumnVisible (int column, bool visible) |
| bool | columnVisible (int column) const |
| const QColor & | notEditableColor () const |
| void | setNotEditableColor (const QColor &col) |
| void | setJumpScrollTimeout (int mSeconds) |
| int | jumpScrollTimeout () const |
| int | configuration () const |
| void | modifyConfiguration (ConfigureSwitches add=SELECT_NONE, ConfigureSwitches revoke=SELECT_NONE) |
| void | setDefaultCell (const QdbtBaseCell &) |
| bool | containsFocus () const |
| void | performTrace (const QString &str) |
| update (int x, int y, int w, int h) | |
| update (const QRect &) | |
| frameStyle () const | |
| setFrameStyle (int) | |
| frameWidth () const | |
| contentsRect () const | |
| Shape {NoFrame=0, Box=0x0001, Panel=0x0002, WinPanel=0x0003, HLine=0x0004, VLine=0x0005, StyledPanel=0x0006, PopupPanel=0x0007, MShape=0x000f} | |
| Shadow {Plain=0x0010, Raised=0x0020, Sunken=0x0030, MShadow=0x00f0} | |
| frameShape () const | |
| setFrameShape (Shape) | |
| frameShadow () const | |
| setFrameShadow (Shadow) | |
| lineWidth () const | |
| setLineWidth (int) | |
| margin () const | |
| setMargin (int) | |
| midLineWidth () const | |
| setMidLineWidth (int) | |
| frameRect () const | |
| setFrameRect (const QRect &) | |
| paintEvent (QPaintEvent *) | |
| resizeEvent (QResizeEvent *) | |
| drawFrame (QPainter *) | |
| drawContents (QPainter *) | |
| frameChanged () | |
| updateMask () | |
| drawFrameMask (QPainter *) | |
| drawContentsMask (QPainter *) | |
| QStyle () | |
| QStyle () | |
| winId () const | |
| style () const | |
| setStyle (QStyle *) | |
| isTopLevel () const | |
| isModal () const | |
| isPopup () const | |
| isDesktop () const | |
| isEnabled () const | |
| isEnabledTo (QWidget *) const | |
| frameGeometry () const | |
| geometry () const | |
| x () const | |
| y () const | |
| pos () const | |
| frameSize () const | |
| size () const | |
| width () const | |
| height () const | |
| rect () const | |
| childrenRect () const | |
| childrenRegion () const | |
| minimumSize () const | |
| maximumSize () const | |
| minimumWidth () const | |
| minimumHeight () const | |
| maximumWidth () const | |
| maximumHeight () const | |
| setMinimumSize (const QSize &) | |
| setMinimumSize (int minw, int minh) | |
| setMaximumSize (const QSize &) | |
| setMaximumSize (int maxw, int maxh) | |
| setMinimumWidth (int minw) | |
| setMinimumHeight (int minh) | |
| setMaximumWidth (int maxw) | |
| setMaximumHeight (int maxh) | |
| sizeIncrement () const | |
| setSizeIncrement (const QSize &) | |
| setSizeIncrement (int w, int h) | |
| baseSize () const | |
| setBaseSize (const QSize &) | |
| setBaseSize (int basew, int baseh) | |
| setFixedSize (const QSize &) | |
| setFixedSize (int w, int h) | |
| setFixedWidth (int w) | |
| setFixedHeight (int h) | |
| mapToGlobal (const QPoint &) const | |
| mapFromGlobal (const QPoint &) const | |
| mapToParent (const QPoint &) const | |
| mapFromParent (const QPoint &) const | |
| mapTo (QWidget *, const QPoint &) const | |
| mapFrom (QWidget *, const QPoint &) const | |
| topLevelWidget () const | |
| BackgroundMode {FixedColor, FixedPixmap, NoBackground, PaletteForeground, PaletteButton, PaletteLight, PaletteMidlight, PaletteDark, PaletteMid, PaletteText, PaletteBrightText, PaletteBase, PaletteBackground, PaletteShadow, PaletteHighlight, PaletteHighlightedText, PaletteButtonText, X11ParentRelative} | |
| backgroundMode () const | |
| setBackgroundMode (BackgroundMode) | |
| backgroundColor () const | |
| foregroundColor () const | |
| setBackgroundColor (const QColor &) | |
| backgroundPixmap () const | |
| setBackgroundPixmap (const QPixmap &) | |
| colorGroup () const | |
| palette () const | |
| ownPalette () const | |
| setPalette (const QPalette &) | |
| unsetPalette () | |
| font () const | |
| ownFont () const | |
| setFont (const QFont &) | |
| unsetFont () | |
| fontMetrics () const | |
| fontInfo () const | |
| PropagationMode {NoChildren, AllChildren, SameFont, SamePalette=SameFont} | |
| cursor () const | |
| ownCursor () const | |
| setCursor (const QCursor &) | |
| unsetCursor () | |
| caption () const | |
| icon () const | |
| iconText () const | |
| hasMouseTracking () const | |
| setMask (const QBitmap &) | |
| setMask (const QRegion &) | |
| clearMask () | |
| FocusPolicy {NoFocus=0, TabFocus=0x1, ClickFocus=0x2, StrongFocus=0x3, WheelFocus=0x7} | |
| isActiveWindow () const | |
| setActiveWindow () | |
| isFocusEnabled () const | |
| focusPolicy () const | |
| setFocusPolicy (FocusPolicy) | |
| hasFocus () const | |
| setFocusProxy (QWidget *) | |
| focusProxy () const | |
| grabMouse () | |
| grabMouse (const QCursor &) | |
| releaseMouse () | |
| grabKeyboard () | |
| releaseKeyboard () | |
| isUpdatesEnabled () const | |
| close (bool alsoDelete) | |
| close () | |
| isVisible () const | |
| isVisibleTo (QWidget *) const | |
| visibleRect () const | |
| isHidden () const | |
| isMinimized () const | |
| isMaximized () const | |
| minimumSizeHint () const | |
| sizePolicy () const | |
| setSizePolicy (QSizePolicy) | |
| heightForWidth (int) const | |
| adjustSize () | |
| layout () const | |
| updateGeometry () | |
| reparent (QWidget *parent, WFlags, const QPoint &, bool showIt=FALSE) | |
| reparent (QWidget *parent, const QPoint &, bool showIt=FALSE) | |
| erase () | |
| erase (int x, int y, int w, int h) | |
| erase (const QRect &) | |
| erase (const QRegion &) | |
| scroll (int dx, int dy) | |
| scroll (int dx, int dy, const QRect &) | |
| drawText (int x, int y, const QString &) | |
| drawText (const QPoint &, const QString &) | |
| focusWidget () const | |
| microFocusHint () const | |
| acceptDrops () const | |
| setAcceptDrops (bool on) | |
| setAutoMask (bool) | |
| autoMask () const | |
| BackgroundOrigin {WidgetOrigin, ParentOrigin} | |
| setBackgroundOrigin (BackgroundOrigin) | |
| backgroundOrigin () const | |
| customWhatsThis () const | |
| parentWidget () const | |
| testWFlags (WFlags f) const | |
| setDisabled (bool) | |
| setCaption (const QString &) | |
| setIcon (const QPixmap &) | |
| setIconText (const QString &) | |
| setMouseTracking (bool enable) | |
| setFocus () | |
| clearFocus () | |
| setUpdatesEnabled (bool enable) | |
| repaint () | |
| repaint (bool erase) | |
| repaint (int x, int y, int w, int h, bool erase=TRUE) | |
| repaint (const QRect &, bool erase=TRUE) | |
| repaint (const QRegion &, bool erase=TRUE) | |
| show () | |
| hide () | |
| showMinimized () | |
| showMaximized () | |
| showFullScreen () | |
| showNormal () | |
| polish () | |
| constPolish () const | |
| raise () | |
| lower () | |
| stackUnder (QWidget *) | |
| move (int x, int y) | |
| move (const QPoint &) | |
| resize (int w, int h) | |
| resize (const QSize &) | |
| setGeometry (int x, int y, int w, int h) | |
| setGeometry (const QRect &) | |
| setTabOrder (QWidget *, QWidget *) | |
| mouseGrabber () | |
| keyboardGrabber () | |
| find (WId) | |
| event (QEvent *) | |
| mousePressEvent (QMouseEvent *) | |
| mouseReleaseEvent (QMouseEvent *) | |
| mouseDoubleClickEvent (QMouseEvent *) | |
| mouseMoveEvent (QMouseEvent *) | |
| wheelEvent (QWheelEvent *) | |
| keyPressEvent (QKeyEvent *) | |
| keyReleaseEvent (QKeyEvent *) | |
| focusInEvent (QFocusEvent *) | |
| focusOutEvent (QFocusEvent *) | |
| enterEvent (QEvent *) | |
| leaveEvent (QEvent *) | |
| moveEvent (QMoveEvent *) | |
| closeEvent (QCloseEvent *) | |
| dragEnterEvent (QDragEnterEvent *) | |
| dragMoveEvent (QDragMoveEvent *) | |
| dragLeaveEvent (QDragLeaveEvent *) | |
| dropEvent (QDropEvent *) | |
| showEvent (QShowEvent *) | |
| hideEvent (QHideEvent *) | |
| customEvent (QCustomEvent *) | |
| styleChange (QStyle &) | |
| enabledChange (bool) | |
| backgroundColorChange (const QColor &) | |
| backgroundPixmapChange (const QPixmap &) | |
| paletteChange (const QPalette &) | |
| fontChange (const QFont &) | |
| metric (int) const | |
| create (WId=0, bool initializeWindow=TRUE, bool destroyOldWindow=TRUE) | |
| destroy (bool destroyWindow=TRUE, bool destroySubWindows=TRUE) | |
| getWFlags () const | |
| setWFlags (WFlags) | |
| clearWFlags (WFlags n) | |
| focusNextPrevChild (bool next) | |
| focusData () | |
| setKeyCompression (bool) | |
| setMicroFocusHint (int x, int y, int w, int h, bool text=TRUE) | |
| eventFilter (QObject *, QEvent *) | |
| metaObject () const | |
| className () const | |
| isA (const char *) const | |
| inherits (const char *) const | |
| name () const | |
| name (const char *defaultName) const | |
| setName (const char *name) | |
| isWidgetType () const | |
| highPriority () const | |
| signalsBlocked () const | |
| blockSignals (bool b) | |
| startTimer (int interval) | |
| killTimer (int id) | |
| killTimers () | |
| child (const char *name, const char *type=0) | |
| children () const | |
| queryList (const char *inheritsClass=0, const char *objName=0, bool regexpMatch=TRUE, bool recursiveSearch=TRUE) | |
| insertChild (QObject *) | |
| removeChild (QObject *) | |
| installEventFilter (const QObject *) | |
| removeEventFilter (const QObject *) | |
| connect (const QObject *sender, const char *signal, const char *member) const | |
| connect (const QObject *sender, const char *signal, const QObject *receiver, const char *member) | |
| disconnect (const char *signal=0, const QObject *receiver=0, const char *member=0) | |
| disconnect (const QObject *receiver, const char *member=0) | |
| disconnect (const QObject *sender, const char *signal, const QObject *receiver, const char *member) | |
| dumpObjectTree () | |
| dumpObjectInfo () | |
| setProperty (const char *name, const QVariant &value) | |
| property (const char *name) const | |
| parent () const | |
| destroyed () | |
| tr (const char *) | |
| tr (const char *, const char *) | |
| objectTrees () | |
| receivers (const char *signal) const | |
| activate_signal (const char *signal, short) | |
| activate_signal (const char *signal, int) | |
| activate_signal (const char *signal, long) | |
| activate_signal (const char *signal, const char *) | |
| activate_signal_bool (const char *signal, bool) | |
| activate_signal_string (const char *signal, QString) | |
| activate_signal_strref (const char *signal, const QString &) | |
| sender () | |
| initMetaObject () | |
| timerEvent (QTimerEvent *) | |
| childEvent (QChildEvent *) | |
| connectNotify (const char *signal) | |
| disconnectNotify (const char *signal) | |
| checkConnectArgs (const char *signal, const QObject *receiver, const char *member) | |
| staticMetaObject () | |
| normalizeSignalSlot (const char *signalSlot) | |
| badSuperclassWarning (const char *className, const char *superclassName) | |
| qt_find_obj_child (QObject *parent, const char *type, const char *name) | |
| ButtonState {NoButton=0x0000, LeftButton=0x0001, RightButton=0x0002, MidButton=0x0004, MouseButtonMask=0x0007, ShiftButton=0x0008, ControlButton=0x0010, AltButton=0x0020, KeyButtonMask=0x0038, Keypad=0x4000} | |
| Orientation {Horizontal, Vertical} | |
| AlignmentFlags {AlignLeft=0x0001, AlignRight=0x0002, AlignHCenter=0x0004, AlignTop=0x0008, AlignBottom=0x0010, AlignVCenter=0x0020, AlignCenter=AlignVCenter|AlignHCenter, SingleLine=0x0040, DontClip=0x0080, ExpandTabs=0x0100, ShowPrefix=0x0200, WordBreak=0x0400, DontPrint=0x1000} | |
| WidgetFlags {WType_TopLevel=0x00000001, WType_Modal=0x00000002, WType_Popup=0x00000004, WType_Desktop=0x00000008, WType_Mask=0x0000000f, WStyle_Customize=0x00000010, WStyle_NormalBorder=0x00000020, WStyle_DialogBorder=0x00000040, WStyle_NoBorder=0x00000000, WStyle_Title=0x00000080, WStyle_SysMenu=0x00000100, WStyle_Minimize=0x00000200, WStyle_Maximize=0x00000400, WStyle_MinMax=WStyle_Minimize|WStyle_Maximize, WStyle_Tool=0x00000800, WStyle_StaysOnTop=0x00001000, WStyle_Dialog=0x00002000, WStyle_ContextHelp=0x00004000, WStyle_NoBorderEx=0x00008000, WStyle_Mask=0x0000fff0, WDestructiveClose=0x00010000, WPaintDesktop=0x00020000, WPaintUnclipped=0x00040000, WPaintClever=0x00080000, WResizeNoErase=0x00100000, WMouseNoMask=0x00200000, WNorthWestGravity=0x00400000, WRepaintNoErase=0x00800000, WX11BypassWM=0x01000000, WGroupLeader=0x02000000} | |
| RasterOp {CopyROP, OrROP, XorROP, NotAndROP, EraseROP=NotAndROP, NotCopyROP, NotOrROP, NotXorROP, AndROP, NotEraseROP=AndROP, NotROP, ClearROP, SetROP, NopROP, AndNotROP, OrNotROP, NandROP, NorROP, LastROP=NorROP} | |
| PenStyle {NoPen, SolidLine, DashLine, DotLine, DashDotLine, DashDotDotLine, MPenStyle=0x0f} | |
| PenCapStyle {FlatCap=0x00, SquareCap=0x10, RoundCap=0x20, MPenC | |