|
Isis Developer Reference
|
Go to the documentation of this file. 1 #ifndef TableViewHeader_H
2 #define TableViewHeader_H
19 template<
typename T>
class QList;
23 class AbstractTableModel;
24 class TableColumnList;
57 int topLevelItemCount);
78 QRect getColumnRect(
int column)
const;
79 int getMousedColumn(QPoint mousePos);
80 int getMousedColumnEdge(QPoint mousePos);
81 bool mouseAtResizableColumnEdge(QPoint mousePos);
82 void paintHeader(QPainter *painter,
int rowheight);
83 void paintProgress(QPainter *painter,
const QRect &rect,
int min,
84 int max,
int value,
bool over100);
85 QRect getSortingPriorityRect(
int visColIndex);
86 QRect getSortingArrowRect(
int visColIndex);
91 int m_horizontalOffset;
93 int m_filterProgressMin;
94 int m_filterProgressMax;
95 int m_rebuildProgress;
96 int m_rebuildProgressMin;
97 int m_rebuildProgressMax;
99 int m_sortProgressMin;
100 int m_sortProgressMax;
105 int m_clickedColumnEdge;
108 static int const SORT_ARROW_MARGIN = 10;
int size() const
Definition: TableColumnList.cpp:166
This is free and unencumbered software released into the public domain.
Definition: BoxcarCachingAlgorithm.h:13
static const int EDGE_WIDTH
Definition: TableColumn.h:48
Definition: TableColumn.h:26
void setWidth(int)
Definition: TableColumn.cpp:85
TableColumnList getVisibleColumns()
Definition: TableColumnList.cpp:204
Translates the tree model into a table model.
Definition: AbstractTableModel.h:48
virtual bool sortingOn() const
Definition: AbstractTableModel.cpp:149
bool sortAscending() const
Definition: TableColumn.cpp:101
void raiseToTop(TableColumn *col)
Definition: TableColumnList.cpp:153
Definition: TableColumnList.h:30
virtual TableColumnList * getColumns()
Definition: AbstractTableModel.cpp:154
QString getTitle() const
Definition: TableColumn.cpp:49
#define ASSERT(x)
Definition: IsisDebug.h:134
void setSortAscending(bool ascending)
Definition: TableColumn.cpp:106
QList< TableColumn * > getSortingOrder()
Definition: TableColumnList.cpp:241
This is free and unencumbered software released into the public domain.
Definition: Apollo.h:16