Plasma Engine  2.0
Loading...
Searching...
No Matches
PreferencesDlg.moc.h
1#pragma once
2
3#include <EditorFramework/EditorFrameworkDLL.h>
4#include <EditorFramework/ui_PreferencesDlg.h>
5#include <Foundation/Strings/String.h>
6#include <QDialog>
7
8class plPreferencesDocument;
9class plPreferences;
11
12class PL_EDITORFRAMEWORK_DLL plQtPreferencesDlg : public QDialog, public Ui_plQtPreferencesDlg
13{
14public:
15 Q_OBJECT
16
17public:
18 plQtPreferencesDlg(QWidget* pParent);
20
21 plUuid NativeToObject(plPreferences* pPreferences);
22 void ObjectToNative(plUuid objectGuid, const plDocument* pPrefDocument);
23
24
25private Q_SLOTS:
26 void on_ButtonOk_clicked();
27 void on_ButtonCancel_clicked() { reject(); }
28
29private:
30 void RegisterAllPreferenceTypes();
31 void AllPreferencesToObject();
32 void PropertyChangedEventHandler(const plDocumentObjectPropertyEvent& e);
33 void ApplyAllChanges();
34
35 plPreferencesDocument* m_pDocument;
36 plMap<plUuid, const plDocument*> m_DocumentBinding;
37};
38
Definition Document.h:57
Definition Map.h:408
Base class for all preferences.
Definition Preferences.h:17
Definition RawDocumentTreeWidget.moc.h:16
Definition PreferencesDlg.moc.h:13
This data type is the abstraction for 128-bit Uuid (also known as GUID) instances.
Definition Uuid.h:11
Used by plDocumentObjectManager::m_PropertyEvents.
Definition DocumentObjectManager.h:77