2015-12-06 10:18:31 +00:00
|
|
|
#ifndef CSV_PREFS_DIALOGUE_H
|
|
|
|
#define CSV_PREFS_DIALOGUE_H
|
|
|
|
|
|
|
|
#include <QMainWindow>
|
|
|
|
|
|
|
|
class QSplitter;
|
|
|
|
class QListWidget;
|
|
|
|
class QStackedWidget;
|
|
|
|
|
|
|
|
namespace CSVPrefs
|
|
|
|
{
|
|
|
|
class Dialogue : public QMainWindow
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
QListWidget *mList;
|
|
|
|
QStackedWidget *mContent;
|
2015-12-06 11:06:28 +00:00
|
|
|
std::vector<std::pair<std::string, std::string> > mCategories;
|
2015-12-06 10:18:31 +00:00
|
|
|
|
|
|
|
private:
|
|
|
|
|
|
|
|
void buildCategorySelector (QSplitter *main);
|
|
|
|
|
|
|
|
void buildContentArea (QSplitter *main);
|
|
|
|
|
|
|
|
public:
|
|
|
|
|
|
|
|
Dialogue();
|
|
|
|
|
|
|
|
protected:
|
|
|
|
|
|
|
|
void closeEvent (QCloseEvent *event);
|
|
|
|
|
|
|
|
public slots:
|
|
|
|
|
|
|
|
void show();
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif
|