mirror of
https://github.com/YACReader/yacreader
synced 2026-03-01 02:13:02 -05:00
Format
This commit is contained in:
@ -2,17 +2,17 @@
|
||||
|
||||
namespace {
|
||||
const char *labelColorNames[] = {
|
||||
QT_TR_NOOP("red"),
|
||||
QT_TR_NOOP("orange"),
|
||||
QT_TR_NOOP("red"),
|
||||
QT_TR_NOOP("orange"),
|
||||
QT_TR_NOOP("yellow"),
|
||||
QT_TR_NOOP("green"),
|
||||
QT_TR_NOOP("cyan"),
|
||||
QT_TR_NOOP("green"),
|
||||
QT_TR_NOOP("cyan"),
|
||||
QT_TR_NOOP("blue"),
|
||||
QT_TR_NOOP("violet"),
|
||||
QT_TR_NOOP("purple"),
|
||||
QT_TR_NOOP("violet"),
|
||||
QT_TR_NOOP("purple"),
|
||||
QT_TR_NOOP("pink"),
|
||||
QT_TR_NOOP("white"),
|
||||
QT_TR_NOOP("light"),
|
||||
QT_TR_NOOP("white"),
|
||||
QT_TR_NOOP("light"),
|
||||
QT_TR_NOOP("dark")
|
||||
};
|
||||
}
|
||||
|
||||
@ -244,4 +244,3 @@ void InfoComicsView::applyTheme(const Theme &theme)
|
||||
|
||||
ctxt->setContextProperty("showDropShadow", QVariant(qv.showDropShadow));
|
||||
}
|
||||
|
||||
|
||||
@ -29,7 +29,7 @@ private:
|
||||
QPushButton *close;
|
||||
QPushButton *accept;
|
||||
QLabel *qrCode;
|
||||
|
||||
|
||||
// Labels for themable styling
|
||||
QLabel *titleLabel;
|
||||
QLabel *qrMessageLabel;
|
||||
|
||||
@ -18,7 +18,7 @@ class EditShortcutsDialog : public QDialog, protected Themable
|
||||
public:
|
||||
explicit EditShortcutsDialog(QWidget *parent = 0);
|
||||
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:
|
||||
|
||||
public slots:
|
||||
@ -33,8 +33,8 @@ protected:
|
||||
QListView *actionsGroupsListView;
|
||||
QTableView *actionsTableView;
|
||||
ActionsGroupsModel *groupsModel;
|
||||
|
||||
QMap<QString, std::function<QIcon(const Theme&)>> groupIconMapping;
|
||||
|
||||
QMap<QString, std::function<QIcon(const Theme &)>> groupIconMapping;
|
||||
ActionsShortcutsModel *actionsModel;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user