summaryrefslogtreecommitdiffstats
path: root/gui/pages/LogPage.h
diff options
context:
space:
mode:
Diffstat (limited to 'gui/pages/LogPage.h')
-rw-r--r--gui/pages/LogPage.h12
1 files changed, 3 insertions, 9 deletions
diff --git a/gui/pages/LogPage.h b/gui/pages/LogPage.h
index 3c86724e..468dcf79 100644
--- a/gui/pages/LogPage.h
+++ b/gui/pages/LogPage.h
@@ -28,6 +28,7 @@ namespace Ui
{
class LogPage;
}
+class QTextCharFormat;
class LogPage : public QWidget, public BasePage
{
@@ -55,15 +56,6 @@ public:
}
virtual bool shouldDisplay() const;
-private:
- /**
- * @brief write a colored paragraph
- * @param data the string
- * @param color the css color name
- * this will only insert a single paragraph.
- * \n are ignored. a real \n is always appended.
- */
- void writeColor(QString text, const char *color, const char *background);
private slots:
/**
* @brief write a string
@@ -90,4 +82,6 @@ private:
bool m_scroll_active = true;
int m_saved_offset = 0;
bool m_write_active = true;
+
+ QTextCharFormat * defaultFormat;
};