QtUiStyle::QtUiStyle(QObject *parent) : UiStyle(parent) { ChatViewSettings s; s.notify("UseCustomTimestampFormat", this, SLOT(updateUseCustomTimestampFormat())); updateUseCustomTimestampFormat(); s.notify("TimestampFormat", this, SLOT(updateTimestampFormatString())); updateTimestampFormatString(); s.notify("SenderPrefixMode", this, SLOT(updateSenderPrefixDisplay())); updateSenderPrefixDisplay(); s.notify("ShowSenderBrackets", this, SLOT(updateShowSenderBrackets())); updateShowSenderBrackets(); // If no style sheet exists, generate it on first run. initializeSettingsQss(); }
QtUiStyle::QtUiStyle(QObject *parent) : UiStyle(parent) { ChatViewSettings s; s.notify("TimestampFormat", this, SLOT(updateTimestampFormatString())); updateTimestampFormatString(); }