Changeset View
Changeset View
Standalone View
Standalone View
src/mainwindow.h
Show First 20 Lines • Show All 53 Lines • ▼ Show 20 Line(s) | 53 | public: | |||
---|---|---|---|---|---|
54 | explicit MainWindow(QWidget *parent = nullptr); | 54 | explicit MainWindow(QWidget *parent = nullptr); | ||
55 | 55 | | |||
56 | protected: | 56 | protected: | ||
57 | void closeEvent(QCloseEvent *event); | 57 | void closeEvent(QCloseEvent *event); | ||
58 | void dragEnterEvent(QDragEnterEvent *event); | 58 | void dragEnterEvent(QDragEnterEvent *event); | ||
59 | void dropEvent(QDropEvent *event); | 59 | void dropEvent(QDropEvent *event); | ||
60 | 60 | | |||
61 | private: | 61 | private: | ||
62 | GCodeEditorWidget *m_gcodeEditor; | 62 | GCodeEditorWidget *m_gcodeEditor = nullptr; | ||
63 | KTextEditor::View *m_currEditorView; | 63 | KTextEditor::View *m_currEditorView; | ||
64 | int m_currInstance; | 64 | int m_currInstance; | ||
65 | LateralArea m_lateral; | 65 | LateralArea m_lateral; | ||
66 | QList<QUrl> m_openFiles; | 66 | QList<QUrl> m_openFiles; | ||
67 | QString m_theme; | 67 | QString m_theme; | ||
68 | QTabWidget *m_instances; | 68 | QTabWidget *m_instances; | ||
69 | bool askToClose(); | 69 | bool askToClose(); | ||
70 | bool askToSave(const QVector<QUrl> &fileList); | 70 | bool askToSave(const QVector<QUrl> &fileList); | ||
Show All 17 Lines |