Iconified tool buttons for toolbar editor.
This commit is contained in:
parent
e713ea57b5
commit
f01de0b93a
@ -2,6 +2,7 @@
|
|||||||
—————
|
—————
|
||||||
|
|
||||||
Added:
|
Added:
|
||||||
|
▪ Toolbar editor now uses iconified tool buttons.
|
||||||
▪ Double mouse click on feed or recycle bin items in feeds list now opens all messages of the item in newspaper mode.
|
▪ Double mouse click on feed or recycle bin items in feeds list now opens all messages of the item in newspaper mode.
|
||||||
▪ Columns in message list can be hidden/shown/reordered with context menu. (issue #115)
|
▪ Columns in message list can be hidden/shown/reordered with context menu. (issue #115)
|
||||||
▪ Auto-update notification is now switchable. (issue #119)
|
▪ Auto-update notification is now switchable. (issue #119)
|
||||||
|
@ -43,6 +43,14 @@ ToolBarEditor::ToolBarEditor(QWidget *parent)
|
|||||||
connect(m_ui->m_listAvailableActions, &QListWidget::itemDoubleClicked, this, &ToolBarEditor::addSelectedAction);
|
connect(m_ui->m_listAvailableActions, &QListWidget::itemDoubleClicked, this, &ToolBarEditor::addSelectedAction);
|
||||||
|
|
||||||
m_ui->m_listActivatedActions->installEventFilter(this);
|
m_ui->m_listActivatedActions->installEventFilter(this);
|
||||||
|
|
||||||
|
m_ui->m_btnInsertSeparator->setIcon(qApp->icons()->fromTheme(QSL("insert-object")));
|
||||||
|
m_ui->m_btnInsertSpacer->setIcon(qApp->icons()->fromTheme(QSL("go-jump")));
|
||||||
|
m_ui->m_btnAddSelectedAction->setIcon(qApp->icons()->fromTheme(QSL("back")));
|
||||||
|
m_ui->m_btnDeleteAllActions->setIcon(qApp->icons()->fromTheme(QSL("application-exit")));
|
||||||
|
m_ui->m_btnDeleteSelectedAction->setIcon(qApp->icons()->fromTheme(QSL("forward")));
|
||||||
|
m_ui->m_btnMoveActionDown->setIcon(qApp->icons()->fromTheme(QSL("down")));
|
||||||
|
m_ui->m_btnMoveActionUp->setIcon(qApp->icons()->fromTheme(QSL("up")));
|
||||||
}
|
}
|
||||||
|
|
||||||
ToolBarEditor::~ToolBarEditor() {
|
ToolBarEditor::~ToolBarEditor() {
|
||||||
|
96
src/gui/toolbareditor.ui
Normal file → Executable file
96
src/gui/toolbareditor.ui
Normal file → Executable file
@ -65,17 +65,32 @@
|
|||||||
<item row="1" column="1">
|
<item row="1" column="1">
|
||||||
<layout class="QVBoxLayout" name="verticalLayout">
|
<layout class="QVBoxLayout" name="verticalLayout">
|
||||||
<item>
|
<item>
|
||||||
<widget class="QPushButton" name="m_btnMoveActionUp">
|
<widget class="QToolButton" name="m_btnMoveActionUp">
|
||||||
<property name="text">
|
<property name="toolTip">
|
||||||
<string>Move action up</string>
|
<string>Move action up</string>
|
||||||
</property>
|
</property>
|
||||||
|
<property name="text">
|
||||||
|
<string/>
|
||||||
|
</property>
|
||||||
|
<property name="iconSize">
|
||||||
|
<size>
|
||||||
|
<width>22</width>
|
||||||
|
<height>22</height>
|
||||||
|
</size>
|
||||||
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<widget class="QPushButton" name="m_btnMoveActionDown">
|
<widget class="QToolButton" name="m_btnMoveActionDown">
|
||||||
<property name="text">
|
<property name="toolTip">
|
||||||
<string>Move action down</string>
|
<string>Move action down</string>
|
||||||
</property>
|
</property>
|
||||||
|
<property name="iconSize">
|
||||||
|
<size>
|
||||||
|
<width>22</width>
|
||||||
|
<height>22</height>
|
||||||
|
</size>
|
||||||
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
@ -86,23 +101,28 @@
|
|||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<widget class="QPushButton" name="m_btnInsertSeparator">
|
<widget class="QToolButton" name="m_btnInsertSeparator">
|
||||||
<property name="text">
|
<property name="toolTip">
|
||||||
<string>Insert separator</string>
|
<string>Insert separator</string>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
<property name="iconSize">
|
||||||
</item>
|
<size>
|
||||||
<item>
|
<width>22</width>
|
||||||
<widget class="QPushButton" name="m_btnInsertSpacer">
|
<height>22</height>
|
||||||
<property name="text">
|
</size>
|
||||||
<string>Insert spacer</string>
|
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<widget class="QPushButton" name="m_btnAddSelectedAction">
|
<widget class="QToolButton" name="m_btnInsertSpacer">
|
||||||
<property name="text">
|
<property name="toolTip">
|
||||||
<string>Add selected action</string>
|
<string>Insert spacer</string>
|
||||||
|
</property>
|
||||||
|
<property name="iconSize">
|
||||||
|
<size>
|
||||||
|
<width>22</width>
|
||||||
|
<height>22</height>
|
||||||
|
</size>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
@ -114,17 +134,42 @@
|
|||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<widget class="QPushButton" name="m_btnDeleteSelectedAction">
|
<widget class="QToolButton" name="m_btnAddSelectedAction">
|
||||||
<property name="text">
|
<property name="toolTip">
|
||||||
<string>Delete selected action</string>
|
<string>Add selected action</string>
|
||||||
|
</property>
|
||||||
|
<property name="iconSize">
|
||||||
|
<size>
|
||||||
|
<width>22</width>
|
||||||
|
<height>22</height>
|
||||||
|
</size>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<widget class="QPushButton" name="m_btnDeleteAllActions">
|
<widget class="QToolButton" name="m_btnDeleteSelectedAction">
|
||||||
<property name="text">
|
<property name="toolTip">
|
||||||
|
<string>Delete selected action</string>
|
||||||
|
</property>
|
||||||
|
<property name="iconSize">
|
||||||
|
<size>
|
||||||
|
<width>22</width>
|
||||||
|
<height>22</height>
|
||||||
|
</size>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<widget class="QToolButton" name="m_btnDeleteAllActions">
|
||||||
|
<property name="toolTip">
|
||||||
<string>Delete all actions</string>
|
<string>Delete all actions</string>
|
||||||
</property>
|
</property>
|
||||||
|
<property name="iconSize">
|
||||||
|
<size>
|
||||||
|
<width>22</width>
|
||||||
|
<height>22</height>
|
||||||
|
</size>
|
||||||
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
@ -166,6 +211,17 @@
|
|||||||
</item>
|
</item>
|
||||||
</layout>
|
</layout>
|
||||||
</widget>
|
</widget>
|
||||||
|
<tabstops>
|
||||||
|
<tabstop>m_listActivatedActions</tabstop>
|
||||||
|
<tabstop>m_listAvailableActions</tabstop>
|
||||||
|
<tabstop>m_btnMoveActionUp</tabstop>
|
||||||
|
<tabstop>m_btnMoveActionDown</tabstop>
|
||||||
|
<tabstop>m_btnInsertSeparator</tabstop>
|
||||||
|
<tabstop>m_btnInsertSpacer</tabstop>
|
||||||
|
<tabstop>m_btnAddSelectedAction</tabstop>
|
||||||
|
<tabstop>m_btnDeleteSelectedAction</tabstop>
|
||||||
|
<tabstop>m_btnDeleteAllActions</tabstop>
|
||||||
|
</tabstops>
|
||||||
<resources/>
|
<resources/>
|
||||||
<connections/>
|
<connections/>
|
||||||
</ui>
|
</ui>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user