LogView patch - addText with force category, color now background
This commit is contained in:
@@ -73,6 +73,7 @@ public:
|
||||
void clearCategories();
|
||||
|
||||
void addText(const QString & text, bool insert_newline = true);
|
||||
void addText(const QString & text, const QString & keyword, bool insert_newline = true);
|
||||
|
||||
private:
|
||||
struct QAD_APPLICATION_EXPORT Category {
|
||||
@@ -88,13 +89,14 @@ private:
|
||||
};
|
||||
|
||||
void changeEvent(QEvent * e);
|
||||
void newLine();
|
||||
void newLine(const QString & keyword);
|
||||
QSize iconImageSize();
|
||||
void filterBlock(QTextBlock block, const QString & fs, const QRegularExpression & regexp);
|
||||
|
||||
Ui::LogView * ui;
|
||||
QList<Category> categories;
|
||||
QTextCharFormat def_cf;
|
||||
QTextCharFormat def_cf;
|
||||
QTextBlockFormat def_bf;
|
||||
QAction * actionLogSelectAll, * actionLogCopy, * actionLogClear;
|
||||
|
||||
public slots:
|
||||
|
||||
Reference in New Issue
Block a user