|
| void | resized () |
| | emitted when the widget is resized More...
|
| |
| | TableView (QWidget *parent=nullptr) |
| | Constructor. More...
|
| |
| | ~TableView () override=default |
| | Destructor. More...
|
| |
| virtual void | exportEntries () |
| | Export table entries as currently shown in the table in TSV format (only for visible data) More...
|
| |
| void | appendRow () |
| | adds a new row to the bottom More...
|
| |
| QTableWidgetItem * | setAtBottomRow (const QString &text, size_t column_index, const QColor &background, const QColor &foreground=QColor("SomeInvalidColor")) |
| |
| QTableWidgetItem * | setAtBottomRow (const char *text, size_t column_index, const QColor &background, const QColor &foreground=QColor("SomeInvalidColor")) |
| |
| QTableWidgetItem * | setAtBottomRow (const int i, size_t column_index, const QColor &background, const QColor &foreground=QColor("SomeInvalidColor")) |
| |
| QTableWidgetItem * | setAtBottomRow (const double d, size_t column_index, const QColor &background, const QColor &foreground=QColor("SomeInvalidColor")) |
| |
| QTableWidgetItem * | setAtBottomRow (const bool selected, size_t column_index, const QColor &background, const QColor &foreground=QColor("SomeInvalidColor")) |
| | create a checkbox item (with no text) More...
|
| |
| QTableWidgetItem * | setAtBottomRow (QTableWidgetItem *item, size_t column_index, const QColor &background, const QColor &foreground) |
| | create a custom item (if above methods are not sufficient) More...
|
| |
| void | setHeaders (const QStringList &headers) |
| | sets the visible headers (and the number of columns) More...
|
| |
| void | hideColumns (const QStringList &header_names) |
| |
| QStringList | getHeaderNames (const WidgetHeader which, bool use_export_name=false) |
| | Obtain header names, either from all, or only the visible columns. More...
|
| |
| void | setHeaderExportName (const int header_column, const QString &export_name) |
| | Set the export-name of a column, which will be returned in getHeaderNames() when use_export_name it true. More...
|
| |
| QString | getHeaderExportName (const int header_column) |
| | Gets the export-name of a column. More...
|
| |
| QString | getHeaderName (const int header_column) |
| |
| void | setMandatoryExportColumns (QStringList &cols) |
| | Set the mandatory export columns cols which get exported even if the user decided to hide them. More...
|
| |
| void | resizeEvent (QResizeEvent *event) override |
| | emits the resized signal More...
|
| |
| static void | updateCheckBoxItem (QTableWidgetItem *item) |
| |
| QStringList | mandatory_export_columns_ |
| | columns that are exported to tsv files even if they are hidden in the GUI More...
|
| |