mirror of
https://github.com/martinrotter/rssguard.git
synced 2025-01-27 07:46:17 +01:00
article toolbar label btns follow rest of app style
This commit is contained in:
parent
2d4d5f88a7
commit
970dfc0c44
@ -107,10 +107,9 @@ void MessagePreviewer::hideToolbar() {
|
||||
m_toolBar->setVisible(false);
|
||||
}
|
||||
|
||||
void MessagePreviewer::loadUrl(const QString &url) {
|
||||
void MessagePreviewer::loadUrl(const QString& url) {
|
||||
#if defined(USE_WEBENGINE)
|
||||
m_txtMessage->loadUrl(url);
|
||||
|
||||
#else
|
||||
m_txtMessage->loadUrl(url);
|
||||
#endif
|
||||
@ -255,7 +254,9 @@ void MessagePreviewer::updateLabels(bool only_clear) {
|
||||
btn_label->setIcon(Label::generateIcon(label->color()));
|
||||
btn_label->setAutoRaise(false);
|
||||
btn_label->setText(QSL(" ") + label->title());
|
||||
btn_label->setToolButtonStyle(Qt::ToolButtonStyle::ToolButtonTextBesideIcon);
|
||||
btn_label->setToolButtonStyle(Qt::ToolButtonStyle(qApp->settings()->value(GROUP(GUI),
|
||||
SETTING(GUI::ToolbarStyle)).toInt()));
|
||||
btn_label->setToolTip(label->title());
|
||||
btn_label->setChecked(DatabaseQueries::isLabelAssignedToMessage(database, label, m_message));
|
||||
|
||||
QAction* act_label = m_toolBar->addWidget(btn_label);
|
||||
|
@ -41,7 +41,7 @@
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>&Browse...</string>
|
||||
<string>&Browse</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
@ -71,7 +71,7 @@
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>&Browse...</string>
|
||||
<string>&Browse</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
@ -101,7 +101,7 @@
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>&Browse...</string>
|
||||
<string>&Browse</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
|
@ -10,9 +10,6 @@
|
||||
<height>340</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="windowTitle">
|
||||
<string>Dialog</string>
|
||||
</property>
|
||||
<layout class="QFormLayout" name="formLayout">
|
||||
<item row="0" column="0">
|
||||
<widget class="QLabel" name="label">
|
||||
|
Loading…
x
Reference in New Issue
Block a user