Implemented transparent background settings
This commit is contained in:
1 parent
7d1c2c7d15
commit
52561186af
30 files changed
+829
-239
No files matched your search
@@ -10,6 +10,7 @@
|
||||
class QMdiSubWindow;
|
||||
class QActionGroup;
|
||||
namespace Ui { class MainWindow; }
|
||||
class EditorSettings;
|
||||
class ProjectTreeModel;
|
||||
|
||||
class MainWindow : public QMainWindow
|
||||
@@ -17,9 +18,12 @@ class MainWindow : public QMainWindow
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit MainWindow(const QString &filePath, QWidget *parent = nullptr);
|
||||
explicit MainWindow(const QString &filePath, EditorSettings &settings, QWidget *parent = nullptr);
|
||||
~MainWindow();
|
||||
|
||||
EditorSettings &settings() { return m_settings; }
|
||||
const EditorSettings &settings() const { return m_settings; }
|
||||
|
||||
private:
|
||||
template<typename T>
|
||||
std::map<T*, QMdiSubWindow*> &propertyWindowsFor();
|
||||
@@ -96,6 +100,8 @@ private:
|
||||
|
||||
const std::unique_ptr<Ui::MainWindow> m_ui;
|
||||
|
||||
EditorSettings &m_settings;
|
||||
|
||||
ProjectContainer m_project;
|
||||
|
||||
QString m_filePath;
|
||||
|
||||
Reference in new issue
Block a user