From 3e76f5ca4439ae87f436080b840dba180fb842d3 Mon Sep 17 00:00:00 2001 From: Jonathan Bauer Date: Sun, 20 Mar 2011 19:37:58 +0100 Subject: 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) --- src/fbgui.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'src/fbgui.h') 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 -#include #include +#include -#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; -- cgit v1.2.3-55-g7522