Changeset View
Changeset View
Standalone View
Standalone View
src/mainwindow.h
Show First 20 Lines • Show All 42 Lines • ▼ Show 20 Line(s) | |||||
43 | { | 43 | { | ||
44 | Q_OBJECT | 44 | Q_OBJECT | ||
45 | 45 | | |||
46 | public: | 46 | public: | ||
47 | explicit MainWindow(QWidget *parent = nullptr); | 47 | explicit MainWindow(QWidget *parent = nullptr); | ||
48 | 48 | | |||
49 | private: | 49 | private: | ||
50 | QList<QUrl> m_openFiles; | 50 | QList<QUrl> m_openFiles; | ||
51 | QString m_theme; | ||||
51 | KTextEditor::View *m_currEditorView; | 52 | KTextEditor::View *m_currEditorView; | ||
52 | LateralArea m_lateral; | 53 | LateralArea m_lateral; | ||
53 | QTabWidget *m_instances; | 54 | QTabWidget *m_instances; | ||
54 | | ||||
55 | void setupLateralArea(); | 55 | void setupLateralArea(); | ||
56 | void newAtCoreInstance(); | 56 | void newAtCoreInstance(); | ||
57 | void initWidgets(); | 57 | void initWidgets(); | ||
58 | void setupActions(); | 58 | void setupActions(); | ||
59 | void openFile(); | 59 | void openFile(); | ||
60 | void atCoreInstanceNameChange(const QString &name); | 60 | void atCoreInstanceNameChange(const QString &name); | ||
61 | 61 | | |||
62 | signals: | 62 | signals: | ||
63 | void extruderCountChanged(int count); | 63 | void extruderCountChanged(int count); | ||
64 | void profilesChanged(); | 64 | void profilesChanged(); | ||
65 | }; | 65 | }; |