Changeset View
Changeset View
Standalone View
Standalone View
src/mainwindow.h
Show First 20 Lines • Show All 60 Lines • ▼ Show 20 Line(s) | |||||
61 | private: | 61 | private: | ||
62 | GCodeEditorWidget *m_gcodeEditor; | 62 | GCodeEditorWidget *m_gcodeEditor; | ||
63 | KTextEditor::View *m_currEditorView; | 63 | KTextEditor::View *m_currEditorView; | ||
64 | LateralArea m_lateral; | 64 | LateralArea m_lateral; | ||
65 | QList<QUrl> m_openFiles; | 65 | QList<QUrl> m_openFiles; | ||
66 | QString m_theme; | 66 | QString m_theme; | ||
67 | QTabWidget *m_instances; | 67 | QTabWidget *m_instances; | ||
68 | bool askToClose(); | 68 | bool askToClose(); | ||
69 | bool askToSave(const QVector<QUrl> &fileList); | ||||
69 | void atCoreInstanceNameChange(const QString &name); | 70 | void atCoreInstanceNameChange(const QString &name); | ||
70 | QString getTheme(); | 71 | QString getTheme(); | ||
71 | void initWidgets(); | 72 | void initWidgets(); | ||
72 | void loadFile(const QUrl &fileName); | 73 | void loadFile(const QUrl &fileName); | ||
73 | void newAtCoreInstance(); | 74 | void newAtCoreInstance(); | ||
74 | void openActionTriggered(); | 75 | void openActionTriggered(); | ||
75 | void processDropEvent(const QList<QUrl> &fileList); | 76 | void processDropEvent(const QList<QUrl> &fileList); | ||
76 | void setupActions(); | 77 | void setupActions(); | ||
77 | void setupLateralArea(); | 78 | void setupLateralArea(); | ||
78 | void toggleGCodeActions(); | 79 | void toggleGCodeActions(); | ||
79 | void updateClientFactory(KTextEditor::View *view); | 80 | void updateClientFactory(KTextEditor::View *view); | ||
80 | 81 | | |||
81 | signals: | 82 | signals: | ||
82 | void extruderCountChanged(int count); | 83 | void extruderCountChanged(int count); | ||
83 | void profilesChanged(); | 84 | void profilesChanged(); | ||
84 | }; | 85 | }; |