Added Column dialog for selecting visible columns. Selection is stored to settings.
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
#ifndef COLUMNDIALOG_H
|
||||
#define COLUMNDIALOG_H
|
||||
|
||||
#include <QDialog>
|
||||
#include <QObject>
|
||||
#include <QTableView>
|
||||
#include <QList>
|
||||
|
||||
namespace Ui {
|
||||
class ColumnDialog;
|
||||
}
|
||||
|
||||
class ColumnDialog : public QDialog
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit ColumnDialog(QWidget *parent = 0);
|
||||
~ColumnDialog();
|
||||
|
||||
void setTable(QTableView *table);
|
||||
QList<int> columnsToHide();
|
||||
|
||||
private:
|
||||
Ui::ColumnDialog *ui;
|
||||
};
|
||||
|
||||
#endif // COLUMNDIALOG_H
|
||||
Reference in New Issue
Block a user