another try for dark theme

This commit is contained in:
2024-01-18 18:04:02 +03:00
parent 2739cc53ec
commit 071a73f5ba
2 changed files with 24 additions and 7 deletions

View File

@@ -111,6 +111,9 @@ public:
void registerAutoCompletitionClass(int id, ACClassType ac_class, const QString & name, const QIcon & icon = QIcon());
bool wordCompletitionEnabled() const { return word_complete; }
static QBrush invertedBrush(const QBrush & b);
static QTextCharFormat invertedFormat(const QTextCharFormat & f);
protected:
typedef QPair<QString, QString> StringsPair;
typedef QPair<int, QList<ACEntry>> ACSection; // section, ACClass.id -> list of entries