mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-07-22 22:21:09 -04:00
Replaced font handling by FontSizeHandler and reenabled deactivated item delegates
This commit is contained in:
parent
93154fddc4
commit
973246624f
31 changed files with 196 additions and 383 deletions
|
@ -25,12 +25,12 @@
|
|||
|
||||
#include <QTreeWidgetItem>
|
||||
#include <QDateTime>
|
||||
#include "util/FontSizeHandler.h"
|
||||
|
||||
class QToolButton;
|
||||
class RshareSettings;
|
||||
class RSTreeWidgetItemCompareRole;
|
||||
class RSTreeWidget;
|
||||
class QShowEvent;
|
||||
|
||||
#define GROUPTREEWIDGET_COLOR_STANDARD -1
|
||||
#define GROUPTREEWIDGET_COLOR_CATEGORY 0
|
||||
|
@ -143,7 +143,6 @@ signals:
|
|||
|
||||
protected:
|
||||
void changeEvent(QEvent *e);
|
||||
virtual void showEvent(QShowEvent *) override;
|
||||
|
||||
private slots:
|
||||
void customContextMenuRequested(const QPoint &pos);
|
||||
|
@ -153,7 +152,6 @@ private slots:
|
|||
void distantSearch();
|
||||
|
||||
void sort();
|
||||
void updateFontSize();
|
||||
|
||||
private:
|
||||
void calculateScore(QTreeWidgetItem *item, const QString &filterText);
|
||||
|
@ -166,6 +164,7 @@ private:
|
|||
|
||||
// Compare role used for each column
|
||||
RSTreeWidgetItemCompareRole *compareRole;
|
||||
FontSizeHandler mFontSizeHandler;
|
||||
|
||||
Ui::GroupTreeWidget *ui;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue