radio/roboute/views/mainview.h
2018-08-05 00:48:17 +03:00

41 lines
719 B
C++

#ifndef MAINVIEW_H
#define MAINVIEW_H
#include <QtWidgets/QWidget>
#include <QtWidgets/QGridLayout>
#include <QtWidgets/QSplitter>
#include <QtWidgets/QListView>
#include <QtCore/QAbstractListModel>
#include <QtWidgets/QPlainTextEdit>
#include <QtCore/QSettings>
//#include "applistitemdelegate.h"
#include "detailedview.h"
class MainView : public QWidget
{
Q_OBJECT
public:
MainView(QAbstractListModel* model, QWidget* parent = 0);
public:
QSplitter* splitter;
QListView* list;
DetailedView* details;
void saveSettings();
void readSettings();
private:
bool detailed;
public:
void showDetails();
void hideDetails();
};
#endif // MAINVIEW_H