14#include "AbstractTableModel.h"
17template<
typename T>
class QList;
48 QString pathForSettigs, QString objName);
51 QFont getContentFont()
const;
75 void selectionChanged();
76 void modelDataChanged();
78 void filterCountsChanged(
int visibleRows,
int totalRows);
Translates the tree model into a table model.
Base class for an item in the tree.
TableViewHeader * m_header
The table header.
TableViewHeader * getHorizontalHeader()
Returns the horizontal header.
AbstractTableModel * getModel()
Returns the model.
virtual ~TableView()
Destructor.
TableViewContent * m_content
The content of the header.
TableColumnList * m_columns
The columns of the table.
QString * m_settingsPath
Path of where to read/write the settings.
void handleModelSelectionChanged()
Handles refreshing the content when the model selection is changed.
AbstractTableModel * m_model
The model of the table.
void displayWarning(AbstractTableModel::Warning)
Displays warnings for a table.
TableViewContent * content()
Returns the content of the table.
void setColumnVisible(QString, bool)
Sets the specified column visible or invisible.
QLabel * m_warningLabel
Label of any warnings.
TableView(AbstractTableModel *someModel, QString pathForSettigs, QString objName)
Constructor.
void nullify()
Sets all member variables to NULL.
This is free and unencumbered software released into the public domain.
This is free and unencumbered software released into the public domain.