Public Slots |
| void | mouseReleasedOnVerticalHeaderSlot (int lin) |
| void | promotePointedObjectsSlot () |
| void | promoteQueriedObjectsSlot () |
| void | sortAscOrderSlot () |
| void | sortDescOrderSlot () |
| void | sort (vector< int > cols, string order) |
| void | removeQueryColorSlot () |
| void | removePointingColorSlot () |
| void | scrollToPrevPointedObjectSlot () |
| void | scrollToNextPointedObjectSlot () |
| void | scrollToPrevQueriedObjectSlot () |
| void | scrollToNextQueriedObjectSlot () |
| void | invertSelectionSlot () |
Signals |
| void | putColorOnObject (TeAppTheme *, set< string > &) |
| void | horizHeaderSignal (int) |
| void | vertHeaderSignal (int) |
| void | viewportSignal () |
| void | vertHeaderLeftDblClickSignal (int) |
| void | linkTable (string, string, string) |
| void | gridChangedSignal () |
| void | displayGridInformation (QString) |
| void | clearGridInformation () |
Public Member Functions |
| | TeQtGrid (QWidget *parent=0, const char *name=0) |
| | ~TeQtGrid () |
| void | init (TeAppTheme *theme) |
| void | initPortal () |
| void | updatePortalContents () |
| QPopupMenu * | popupHorizHeader () |
| QPopupMenu * | popupVertHeader () |
| QPopupMenu * | popupViewport () |
| TeDatabasePortal * | getPortal () |
| TeAppTheme * | getTheme () |
| bool | isIndex (int col) |
| bool | isDateTimeRegistered (int col) |
| bool | isSortBy (int col) |
| bool | isExternalTable (int col) |
| TeTable & | findTable (int col) |
| TeTable & | findTable (string colName) |
| void | adjustColumns () |
| void | swapColumns (int col1=-1, int col2=-1) |
| int | getColumn (int col) |
| void | setVisColumn (bool vis, int col=-1) |
| bool | getVisColumn (int col) |
| void | putColorOnGrid (set< string > uniqueIdSet, set< string > objectIdSet, string operation, string attrQuery="") |
| void | setVerticalEdition (bool flag) |
| void | refresh () |
| void | clear () |
| void | clearPortal () |
| string | getObject (int row) |
| bool | isVerticalEdition () |
| bool | showGridInformation () |
| void | showGridInformation (bool b) |
| void | gridInformation () |
| void | insertObjectIntoCollection (string newId, string newTId="") |
| void | goToLastLine () |
| void | goToLastColumn () |
| bool | hasPointedLine () |
| void | deletePointedLines () |
| vector< int > | getSelectedColumns () |
| void | arrangeGridToPortalRowVector (int col) |
Public Attributes |
| bool | autoPromote_ |
Protected Slots |
| void | columnWidthChanged (int col) |
Protected Member Functions |
| virtual bool | eventFilter (QObject *, QEvent *) |
| virtual void | drawContents (QPainter *qp, int clipx, int clipy, int clipw, int cliph) |
| bool | writeCell () |
| void | editNextRow () |
| void | editNextColumn () |
| void | update () |
| void | goToEditNewCell () |
| virtual void | endEdit (int row, int col, bool accept, bool replace) |
| void | arrangeColumns (TeAttrTableVector cTableVec) |
Protected Attributes |
| TeDatabase * | db_ |
| TeAppTheme * | theme_ |
| TeDatabasePortal * | portal_ |
| string | sqlJoin_ |
| string | orderBy_ |
| string | sql_ |
| string | CT_ |
| string | CTE_ |
| vector< string > | indexVector_ |
| vector< TeTable > | tableVector_ |
| bool | editing_ |
| bool | doRefresh_ |
| bool | doRepaint_ |
| bool | shiftKeyPressed_ |
| bool | showGridInformation_ |
| int | uniqueIdPos_ |
| int | objectIdPos_ |
| int | resultIdPos_ |
| int | gridStatusPos_ |
| int | gridX_ |
| int | gridY_ |
| int | iLine_ |
| int | fLine_ |
| int | iCol_ |
| int | fCol_ |
| int | gridWidth_ |
| int | gridHeight_ |
| int | visibleLines_ |
| int | visibleCols_ |
| long | lastLinePressed_ |
| long | dragLineReleased_ |
| map< string, ObjectInfo > | objectMap_ |
| map< string, string > | unique2ObjectMap_ |
| vector< int > | gridToPortalRowVector_ |
| vector< int > | gridToPortalColVector_ |
| vector< bool > | gridColVisVector_ |
| vector< string > | portalRow2UniqueIdVector_ |
| int | rowToEdit_ |
| int | colToEdit_ |
| bool | verticalEdition_ |
| QPopupMenu * | popupHorizHeader_ |
| QPopupMenu * | popupVertHeader_ |
| QPopupMenu * | popupViewport_ |
| bool | columnDragEnabled_ |
| bool | mousePressedOnHorizontalHeader_ |