mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-07-22 22:21:09 -04:00
Fix GroupTreeWidget with RSElidedItemDelegate for StyleSheet.
This commit is contained in:
parent
477f0a8a76
commit
826e969fae
10 changed files with 158 additions and 128 deletions
|
@ -21,8 +21,6 @@
|
|||
#ifndef GROUPTREEWIDGET_H
|
||||
#define GROUPTREEWIDGET_H
|
||||
|
||||
#include <QWidget>
|
||||
#include <QIcon>
|
||||
#include <QTreeWidgetItem>
|
||||
#include <QDateTime>
|
||||
|
||||
|
@ -68,6 +66,8 @@ class GroupTreeWidget : public QWidget
|
|||
|
||||
Q_PROPERTY(QColor textColorCategory READ textColorCategory WRITE setTextColorCategory)
|
||||
Q_PROPERTY(QColor textColorPrivateKey READ textColorPrivateKey WRITE setTextColorPrivateKey)
|
||||
Q_PROPERTY(QString waitingSVG WRITE setWaitingSVG)
|
||||
Q_PROPERTY(bool waitingSVG_Over WRITE setWaitingSVG_Over)
|
||||
|
||||
public:
|
||||
GroupTreeWidget(QWidget *parent = 0);
|
||||
|
@ -109,7 +109,11 @@ public:
|
|||
|
||||
void setTextColorCategory(QColor color) { mTextColor[GROUPTREEWIDGET_COLOR_CATEGORY] = color; }
|
||||
void setTextColorPrivateKey(QColor color) { mTextColor[GROUPTREEWIDGET_COLOR_PRIVATEKEY] = color; }
|
||||
bool getGroupName(QString id, QString& name);
|
||||
|
||||
void setWaitingSVG(const QString &value);
|
||||
void setWaitingSVG_Over(const bool &value);
|
||||
|
||||
bool getGroupName(QString id, QString& name);
|
||||
|
||||
int subscribeFlags(const QString &id);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue