radio/roboute/views/mainview.h

41 lines
719 B
C
Raw Permalink Normal View History

2018-08-04 21:46:25 +00:00
#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