qTox
Version: nightly | Commit: bc751c8e1cac455f9690654fcfe0f560d2d7dfdd
|
Go to the documentation of this file.
26 #include <QMouseEvent>
43 statusMessageLabel->setTextFormat(Qt::PlainText);
44 statusMessageLabel->setForegroundRole(QPalette::WindowText);
45 statusMessageLabel->setObjectName(
"statusMessageLabelObj");
47 nameLabel->setForegroundRole(QPalette::WindowText);
48 nameLabel->setObjectName(
"nameLabelObj");
53 setAutoFillBackground(
true);
56 compactChange(isCompact());
81 setLayoutDirection(Qt::LeftToRight);
128 setProperty(
"active",
active);
154 title += QStringLiteral(
" (") +
getStatusString() + QStringLiteral(
")");
171 if (event->button() == Qt::LeftButton) {
173 }
else if (event->button() == Qt::MiddleButton) {
183 setBackgroundRole(QPalette::Highlight);
189 setBackgroundRole(QPalette::Window);
190 QWidget::leaveEvent(event);
static QFont getFont(Font font)
void setText(const QString &text)
static void repolish(QWidget *w)
static Settings & getInstance()
Returns the singleton instance.
static const QString getStylesheet(const QString &filename, const QFont &baseFont=QFont())
void compactLayoutChanged(bool enabled)