mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-07-22 22:21:09 -04:00
Added new class StyledElidedLabel and used it for nick name and channel label.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7757 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
2036f379de
commit
78c71ab011
11 changed files with 186 additions and 53 deletions
|
@ -27,6 +27,7 @@
|
|||
|
||||
class QWidget;
|
||||
class QLabel;
|
||||
class ElidedLabel;
|
||||
class QLineEdit;
|
||||
class RSTreeWidget;
|
||||
class UIStateHelperData;
|
||||
|
@ -59,6 +60,7 @@ public:
|
|||
/* Add widgets */
|
||||
void addWidget(int index, QWidget *widget, UIStates states = UISTATE_LOADING_DISABLED | UISTATE_ACTIVE_ENABLED);
|
||||
void addLoadPlaceholder(int index, QLabel *widget, bool clear = true, const QString &text = "" /* ="Loading" */);
|
||||
void addLoadPlaceholder(int index, ElidedLabel *widget, bool clear = true, const QString &text = "" /* ="Loading" */);
|
||||
void addLoadPlaceholder(int index, QLineEdit *widget, bool clear = true, const QString &text = "" /* ="Loading" */);
|
||||
void addLoadPlaceholder(int index, RSTreeWidget *widget, bool clear = true, const QString &text = "" /* ="Loading" */);
|
||||
void addLoadPlaceholder(int index, RSTextBrowser *widget, bool clear = true, const QString &text = "" /* ="Loading" */);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue