diff options
author | Jonathan Bauer | 2011-03-20 19:37:58 +0100 |
---|---|---|
committer | Jonathan Bauer | 2011-03-20 19:37:58 +0100 |
commit | 3e76f5ca4439ae87f436080b840dba180fb842d3 (patch) | |
tree | f02a320058973ec60fa85a84491ce222c513aefd /src/fbgui.h | |
parent | debug console dummy only shown if debug mode active (diff) | |
download | fbgui-3e76f5ca4439ae87f436080b840dba180fb842d3.tar.gz fbgui-3e76f5ca4439ae87f436080b840dba180fb842d3.tar.xz fbgui-3e76f5ca4439ae87f436080b840dba180fb842d3.zip |
debug console now powered by qxt, custom engines, updated debug msgs. Download manager now uses notify(message) to send error/status to the javascript interface, checks for download errors (still some missing)
Diffstat (limited to 'src/fbgui.h')
-rw-r--r-- | src/fbgui.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/fbgui.h b/src/fbgui.h index be0cf4e..f310127 100644 --- a/src/fbgui.h +++ b/src/fbgui.h @@ -19,13 +19,14 @@ #define FBGUI_H #include <QtGui> -#include <QPlainTextEdit> #include <QtWebKit> +#include <QxtCore> -#include "logViewer.h" +/* Internal default settings */ #define DEFAULT_URL "http://www.google.com" #define DEFAULT_DOWNLOAD_DIR "/tmp/fbgui/downloads" +#define DEFAULT_CONFIG_PATH "/etc/fbgui.conf" #define DEFAULT_UPDATE_INTERVAL 1; extern QString binPath; @@ -42,12 +43,13 @@ public: fbgui(); private: + void setupDebugSplit(); void createActions(); void checkHost() const; QSplitter* _splitter; QWebView* _webView; - logViewer* _logView; + QTextEdit* _debugConsole; QAction* _toggleDebug; |