mirror of
https://github.com/YACReader/yacreader
synced 2025-07-23 15:35:03 -04:00
replaced shortcutsDialog by editShortcutsDialog in YACReader, the user is going to lose some information about how to use the magnifying glass but it results less confusing this way
This commit is contained in:
@ -165,7 +165,7 @@ void MainWindowViewer::setupUI()
|
|||||||
connect(optionsDialog,SIGNAL(changedFilters(int,int,int)),viewer,SLOT(updateFilters(int,int,int)));
|
connect(optionsDialog,SIGNAL(changedFilters(int,int,int)),viewer,SLOT(updateFilters(int,int,int)));
|
||||||
|
|
||||||
optionsDialog->restoreOptions(settings);
|
optionsDialog->restoreOptions(settings);
|
||||||
shortcutsDialog = new ShortcutsDialog(this);
|
//shortcutsDialog = new ShortcutsDialog(this);
|
||||||
editShortcutsDialog = new EditShortcutsDialog(this);
|
editShortcutsDialog = new EditShortcutsDialog(this);
|
||||||
connect(optionsDialog,SIGNAL(editShortcuts()),editShortcutsDialog,SLOT(show()));
|
connect(optionsDialog,SIGNAL(editShortcuts()),editShortcutsDialog,SLOT(show()));
|
||||||
|
|
||||||
@ -369,7 +369,8 @@ void MainWindowViewer::createActions()
|
|||||||
showShorcutsAction->setIcon(QIcon(":/images/viewer_toolbar/shortcuts.png"));
|
showShorcutsAction->setIcon(QIcon(":/images/viewer_toolbar/shortcuts.png"));
|
||||||
showShorcutsAction->setData(SHOW_SHORCUTS_ACTION_Y);
|
showShorcutsAction->setData(SHOW_SHORCUTS_ACTION_Y);
|
||||||
showShorcutsAction->setShortcut(ShortcutsManager::getShortcutsManager().getShortcut(SHOW_SHORCUTS_ACTION_Y));
|
showShorcutsAction->setShortcut(ShortcutsManager::getShortcutsManager().getShortcut(SHOW_SHORCUTS_ACTION_Y));
|
||||||
connect(showShorcutsAction, SIGNAL(triggered()),shortcutsDialog,SLOT(show()));
|
//connect(showShorcutsAction, SIGNAL(triggered()),shortcutsDialog,SLOT(show()));
|
||||||
|
connect(showShorcutsAction, SIGNAL(triggered()), editShortcutsDialog, SLOT(show()));
|
||||||
|
|
||||||
showInfoAction = new QAction(tr("Show Info"),this);
|
showInfoAction = new QAction(tr("Show Info"),this);
|
||||||
showInfoAction->setIcon(QIcon(":/images/viewer_toolbar/info.png"));
|
showInfoAction->setIcon(QIcon(":/images/viewer_toolbar/info.png"));
|
||||||
|
@ -82,7 +82,7 @@ class EditShortcutsDialog;
|
|||||||
//GoToDialog * goToDialog;
|
//GoToDialog * goToDialog;
|
||||||
OptionsDialog * optionsDialog;
|
OptionsDialog * optionsDialog;
|
||||||
HelpAboutDialog * had;
|
HelpAboutDialog * had;
|
||||||
ShortcutsDialog * shortcutsDialog;
|
//ShortcutsDialog * shortcutsDialog;
|
||||||
EditShortcutsDialog * editShortcutsDialog;
|
EditShortcutsDialog * editShortcutsDialog;
|
||||||
|
|
||||||
//! ToolBars
|
//! ToolBars
|
||||||
@ -130,7 +130,7 @@ class EditShortcutsDialog;
|
|||||||
HttpVersionChecker * versionChecker;
|
HttpVersionChecker * versionChecker;
|
||||||
QString previousComicPath;
|
QString previousComicPath;
|
||||||
QString nextComicPath;
|
QString nextComicPath;
|
||||||
//! M<EFBFBD>todo que inicializa el interfaz.
|
//! Método que inicializa el interfaz.
|
||||||
void setupUI();
|
void setupUI();
|
||||||
void createActions();
|
void createActions();
|
||||||
void createToolBars();
|
void createToolBars();
|
||||||
|
Reference in New Issue
Block a user