mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-08-24 13:59:29 -04:00
Greentext color is defined in stylesheet, and can be overridden with qss files
This commit is contained in:
parent
bc4691ceb4
commit
e2c40d6693
6 changed files with 32 additions and 1 deletions
|
@ -10,6 +10,8 @@ class RSTextBrowser : public QTextBrowser
|
|||
{
|
||||
Q_OBJECT
|
||||
|
||||
Q_PROPERTY(QColor textColorQuote READ textColorQuote WRITE setTextColorQuote)
|
||||
|
||||
public:
|
||||
explicit RSTextBrowser(QWidget *parent = 0);
|
||||
|
||||
|
@ -21,8 +23,11 @@ public:
|
|||
|
||||
virtual QVariant loadResource(int type, const QUrl &name);
|
||||
|
||||
QColor textColorQuote() const { return highliter->textColorQuote();}
|
||||
|
||||
public slots:
|
||||
void showImages();
|
||||
void setTextColorQuote(QColor textColorQuote) { highliter->setTextColorQuote(textColorQuote);}
|
||||
|
||||
private slots:
|
||||
void linkClicked(const QUrl &url);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue