Skycoder42
6 years ago
No known key found for this signature in database
GPG Key ID: 8E01AD9EF0578D2B
1 changed files with
3 additions and
0 deletions
-
src/mvvmwidgets/widgetspresenter.h
|
|
@ -46,6 +46,7 @@ public: |
|
|
|
//! @copybrief registerViewExplicitly()
|
|
|
|
static void registerViewExplicitly(const QMetaObject *viewModelType, const QMetaObject *viewType); |
|
|
|
|
|
|
|
//! Returns the internally used input widget factory
|
|
|
|
static InputWidgetFactory* getInputWidgetFactory(); |
|
|
|
|
|
|
|
void present(ViewModel *viewModel, const QVariantHash ¶ms, QPointer<ViewModel> parent) override; |
|
|
@ -77,7 +78,9 @@ protected: |
|
|
|
virtual void presentInputDialog(const MessageConfig &config, QPointer<MessageResult> result); |
|
|
|
//! Called to present a dialog of MessageConfig::TypeFileDialog
|
|
|
|
virtual void presentFileDialog(const MessageConfig &config, QPointer<MessageResult> result); |
|
|
|
//! Called to present a dialog of MessageConfig::TypeColorDialog
|
|
|
|
void presentColorDialog(const MessageConfig &config, const QPointer<MessageResult> &result); //MAJOR make virtual
|
|
|
|
//! Called to present a dialog of MessageConfig::TypeProgressDialog
|
|
|
|
void presentProgressDialog(const MessageConfig &config, const QPointer<MessageResult> &result); //MAJOR make virtual
|
|
|
|
//! Called to present a dialog of a non standard MessageConfig::type
|
|
|
|
virtual void presentOtherDialog(const MessageConfig &config, QPointer<MessageResult> result); |
|
|
|