#ifndef MAINWINDOW_H #define MAINWINDOW_H #include QT_BEGIN_NAMESPACE namespace Ui { class MainWindow; } QT_END_NAMESPACE class EditorList; class MainWindow : public QMainWindow { Q_OBJECT public: MainWindow(QWidget *parent = nullptr); ~MainWindow(); private slots: void on_actionNew_triggered(); void on_EditorTabsLeft_tabCloseRequested(int index); private: void setupActions(); private: Ui::MainWindow *ui; EditorList* mEditorList; }; #endif // MAINWINDOW_H