mirror of
https://github.com/YACReader/yacreader
synced 2026-03-01 10:22:58 -05:00
Format
This commit is contained in:
@ -244,4 +244,3 @@ void InfoComicsView::applyTheme(const Theme &theme)
|
|||||||
|
|
||||||
ctxt->setContextProperty("showDropShadow", QVariant(qv.showDropShadow));
|
ctxt->setContextProperty("showDropShadow", QVariant(qv.showDropShadow));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -18,7 +18,7 @@ class EditShortcutsDialog : public QDialog, protected Themable
|
|||||||
public:
|
public:
|
||||||
explicit EditShortcutsDialog(QWidget *parent = 0);
|
explicit EditShortcutsDialog(QWidget *parent = 0);
|
||||||
void addActionsGroup(const QString &name, const QIcon &ico, QList<QAction *> &group);
|
void addActionsGroup(const QString &name, const QIcon &ico, QList<QAction *> &group);
|
||||||
void setGroupIconMapping(const QMap<QString, std::function<QIcon(const Theme&)>> &mapping);
|
void setGroupIconMapping(const QMap<QString, std::function<QIcon(const Theme &)>> &mapping);
|
||||||
signals:
|
signals:
|
||||||
|
|
||||||
public slots:
|
public slots:
|
||||||
@ -34,7 +34,7 @@ protected:
|
|||||||
QTableView *actionsTableView;
|
QTableView *actionsTableView;
|
||||||
ActionsGroupsModel *groupsModel;
|
ActionsGroupsModel *groupsModel;
|
||||||
|
|
||||||
QMap<QString, std::function<QIcon(const Theme&)>> groupIconMapping;
|
QMap<QString, std::function<QIcon(const Theme &)>> groupIconMapping;
|
||||||
ActionsShortcutsModel *actionsModel;
|
ActionsShortcutsModel *actionsModel;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user