trust level display in delegate, list size tweaking
This commit is contained in:
parent
d4bf7e599a
commit
b72a837754
10 changed files with 203 additions and 27 deletions
|
@ -74,6 +74,7 @@ namespace Shared {
|
|||
static QString getName(Role rl);
|
||||
static QString getName(Message::State rl);
|
||||
static QString getName(AccountPassword ap);
|
||||
static QString getName(TrustLevel tl);
|
||||
|
||||
static QString getDescription(AccountPassword ap);
|
||||
|
||||
|
@ -84,6 +85,7 @@ namespace Shared {
|
|||
const std::deque<QString> role;
|
||||
const std::deque<QString> messageState;
|
||||
const std::deque<QString> accountPassword;
|
||||
const std::deque<QString> trustLevel;
|
||||
|
||||
const std::deque<QString> accountPasswordDescription;
|
||||
|
||||
|
@ -103,10 +105,12 @@ namespace Shared {
|
|||
static void setStyle(const QString& style);
|
||||
const bool omemoSupport;
|
||||
QFont defaultFont;
|
||||
QFont monospaceFont;
|
||||
QFont smallFont;
|
||||
QFont headerFont;
|
||||
QFont titleFont;
|
||||
QFontMetrics defaultFontMetrics;
|
||||
QFontMetrics monospaceMetrics;
|
||||
QFontMetrics smallFontMetrics;
|
||||
QFontMetrics headerFontMetrics;
|
||||
QFontMetrics titleFontMetrics;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue