summaryrefslogtreecommitdiffstats
path: root/src/MainWindow.h
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-05-16 10:38:36 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-05-16 10:38:36 +0900
commitdfb1b9f10a0c18ace12de3323e3eea410efa3b6c (patch)
treec0ec1ada481c63bb428ae6a11a0f84383249cd26 /src/MainWindow.h
parent5fa736197b0b111d7d1eb3d7622499375f3f17f9 (diff)
downloaduniversal-indent-gui-tqt-dfb1b9f10a0c18ace12de3323e3eea410efa3b6c.tar.gz
universal-indent-gui-tqt-dfb1b9f10a0c18ace12de3323e3eea410efa3b6c.zip
Added initial empty GUI for the indenter
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'src/MainWindow.h')
-rw-r--r--src/MainWindow.h12
1 files changed, 7 insertions, 5 deletions
diff --git a/src/MainWindow.h b/src/MainWindow.h
index 022f967..61a9ff9 100644
--- a/src/MainWindow.h
+++ b/src/MainWindow.h
@@ -30,12 +30,13 @@
class AboutDialog;
/// class AboutDialogGraphicsView;
/// class UiGuiHighlighter;
-/// class IndentHandler
+class IndentHandler;
class UiGuiSettings;
class ToolBarWidget;
///
/// class TQActionGroup;
class TQextScintilla;
+class TQSplitter;
class TQLabel;
class TQScrollBar;
class TQTranslator;
@@ -50,10 +51,10 @@ class MainWindow : public MainWindowBase
MainWindow(TQString file2OpenOnStart = "", TQWidget *parent = NULL);
~MainWindow();
-///-- protected:
+ protected:
void closeEvent(TQCloseEvent *event);
///-- bool eventFilter(TQObject *obj, TQEvent *event);
-///--
+
private slots:
void openSourceFileDialog(const TQString &fileName = TQString::null);
bool saveSourceFile();
@@ -98,6 +99,7 @@ class MainWindow : public MainWindowBase
///-- void dragEnterEvent(TQDragEnterEvent *event);
///-- void dropEvent(TQDropEvent *event);
+ TQSplitter *m_centralSplitter;
TQextScintilla *m_qSciSourceCodeEditor;
UiGuiSettings *m_settings;
@@ -113,7 +115,7 @@ class MainWindow : public MainWindowBase
int m_actionClearRecentlyOpenedListId;
int m_recentlyOpenedListMaxSize;
///-- int _textEditLastScrollPos;
-///-- int _currentIndenterID;
+ int m_currentIndenterID;
int m_oldLinesNumber;
bool m_loadLastSourceCodeFileOnStartup;
TQString m_currentSourceFile;
@@ -134,7 +136,7 @@ class MainWindow : public MainWindowBase
TQStringList m_recentlyOpenedList;
ToolBarWidget *m_toolBarWidget;
-///-- IndentHandler *_indentHandler;
+ IndentHandler *m_indentHandler;
TQLabel *m_textEditLineColumnInfoLabel;
};