summaryrefslogtreecommitdiff
path: root/plugingui/mainwindow.h
diff options
context:
space:
mode:
authorAndré Nusser <andre.nusser@googlemail.com>2017-04-21 21:42:29 +0200
committerAndré Nusser <andre.nusser@googlemail.com>2017-04-21 21:43:55 +0200
commit05bb6ad8f1ad6d3abf835a9ad91a5b42f90db920 (patch)
tree37c7e20c60a9d77ca809dc11b6a5299322e64fd5 /plugingui/mainwindow.h
parent988aeacd6cf77a095a3afdde0ca32052cfe90a84 (diff)
Add AboutTab class instead of having a TextEdit widget as tab.
Diffstat (limited to 'plugingui/mainwindow.h')
-rw-r--r--plugingui/mainwindow.h14
1 files changed, 3 insertions, 11 deletions
diff --git a/plugingui/mainwindow.h b/plugingui/mainwindow.h
index cd2eb1f..7f95794 100644
--- a/plugingui/mainwindow.h
+++ b/plugingui/mainwindow.h
@@ -28,9 +28,8 @@
#include <settings.h>
-#include "frame.h"
+#include "abouttab.h"
#include "image.h"
-#include "textedit.h"
#include "tabwidget.h"
#include "texturedbox.h"
#include "window.h"
@@ -62,15 +61,12 @@ private:
// From Widget
void repaintEvent(RepaintEvent* repaintEvent) override final;
- std::string getAboutText();
-
- TabWidget tabs{this};
-
Config config;
SettingsNotifier settings_notifier;
+ TabWidget tabs{this};
MainTab main_tab;
- TextEdit about_text_field{&tabs};
+ AboutTab about_tab{&tabs};
Image back{":resources/bg.png"};
Image logo{":resources/logo.png"};
@@ -87,10 +83,6 @@ private:
bool closing{false};
- Resource about{":../ABOUT"};
- Resource authors{":../AUTHORS"};
- Resource gpl{":../COPYING"};
-
Font font;
};