QtMvvm  1.1.0
A mvvm oriented library for Qt, to create Projects for Widgets and Quick in parallel
settingsdialog.h
1 #ifndef QTMVVM_SETTINGSDIALOG_H
2 #define QTMVVM_SETTINGSDIALOG_H
3 
4 #include <QtCore/qscopedpointer.h>
5 
6 #include <QtMvvmCore/settingsviewmodel.h>
7 
8 #include <QtWidgets/qdialog.h>
9 
10 #include "QtMvvmWidgets/qtmvvmwidgets_global.h"
11 
12 namespace QtMvvm {
13 
14 class SettingsDialogPrivate;
16 class Q_MVVMWIDGETS_EXPORT SettingsDialog : public QDialog
17 {
18  Q_OBJECT
19 
20 public:
22  Q_INVOKABLE explicit SettingsDialog(QtMvvm::ViewModel *viewModel, QWidget *parent = nullptr);
23  ~SettingsDialog() override;
24 
25 protected:
27  virtual QString labelFilterStyleSheet() const;
29  virtual QUrl iconOverwrite() const;
30 
31 private:
32  friend class QtMvvm::SettingsDialogPrivate;
33  SettingsDialogPrivate *d;
34 };
35 
36 }
37 
38 #endif // QTMVVM_SETTINGSDIALOG_H
The widgets view implementation for the SettingsViewModel.
The base class for all viewmodels.
Definition: viewmodel.h:21
The primary namespace of the QtMvvm library.