+ qDebug() << "MainWindow::initActions()";\r
+\r
+ QList<QKeySequence> shortcuts;\r
+\r
+ //>>>>> 追加のショートカットキーを設定する\r
+ appendActionShortcut(ui->action_Open, "M");\r
+ appendActionShortcut(ui->action_OpenWith, "Shift+M");\r
+ appendActionShortcut(ui->view_Back, "Backspace");\r
+ // MacだとShift+の形で認識されてしまうもの\r
+ appendActionShortcut(ui->action_ScaleUp, "Shift++");\r
+ appendActionShortcut(ui->action_Filter, "Shift+*");\r
+ appendActionShortcut(ui->action_OpenTerminal, "Shift+>");\r
+ appendActionShortcut(ui->action_About, "Shift+?");\r
+ appendActionShortcut(ui->image_ScaleNormal, "Shift+=");\r
+\r
+ // SIGNAL -> SLOT\r
+ connect(ui->action_About, SIGNAL(triggered()), this, SLOT(onAbout()));\r
+ connect(ui->action_AddBookmark, SIGNAL(triggered()), this, SLOT(onAddBookmark()));\r
+ connect(ui->action_Cd, SIGNAL(triggered()), this, SLOT(onChooseFolder()));\r
+ connect(ui->action_CheckUpdate, SIGNAL(triggered()), this, SLOT(onCheckUpdate()));\r
+ connect(ui->action_Copy, SIGNAL(triggered()), this, SLOT(onCopy()));\r
+ connect(ui->action_CopyFileName, SIGNAL(triggered()), this, SLOT(onCopyFileName()));\r
+ connect(ui->action_CopyFilePath, SIGNAL(triggered()), this, SLOT(onCopyFilePath()));\r
+ connect(ui->action_CreateFile, SIGNAL(triggered()), this, SLOT(onCreateFile()));\r
+ connect(ui->action_CreateFolder, SIGNAL(triggered()), this, SLOT(onCreateFolder()));\r
+ connect(ui->action_Delete, SIGNAL(triggered()), this, SLOT(onDelete()));\r
+ connect(ui->action_EditBookmark, SIGNAL(triggered()), this, SLOT(onEditBookmark()));\r
+ connect(ui->action_ExpandLeft, SIGNAL(triggered()), this, SLOT(onExpandLeft()));\r
+ connect(ui->action_ExpandRight, SIGNAL(triggered()), this, SLOT(onExpandRight()));\r
+ connect(ui->action_Filter, SIGNAL(triggered()), this, SLOT(showFilterDialog()));\r
+ connect(ui->action_History, SIGNAL(triggered()), this, SLOT(showHistoryDialog()));\r
+ connect(ui->action_KeyDown, SIGNAL(triggered()), this, SLOT(onKeyDown()));\r
+ connect(ui->action_KeyDownOther, SIGNAL(triggered()), this, SLOT(onKeyDownOther()));\r
+ connect(ui->action_KeyEnd, SIGNAL(triggered()), this, SLOT(onKeyEnd()));\r
+ connect(ui->action_KeyEndOther, SIGNAL(triggered()), this, SLOT(onKeyEndOther()));\r
+ connect(ui->action_KeyHome, SIGNAL(triggered()), this, SLOT(onKeyHome()));\r
+ connect(ui->action_KeyHomeOther, SIGNAL(triggered()), this, SLOT(onKeyHomeOther()));\r
+ connect(ui->action_KeyLeft, SIGNAL(triggered()), this, SLOT(onKeyLeft()));\r
+ connect(ui->action_KeyUp, SIGNAL(triggered()), this, SLOT(onKeyUp()));\r
+ connect(ui->action_KeyUpOther, SIGNAL(triggered()), this, SLOT(onKeyUpOther()));\r
+ connect(ui->action_Move, SIGNAL(triggered()), this, SLOT(onMove()));\r
+ connect(ui->action_Open, SIGNAL(triggered()), this, SLOT(onOpen()));\r
+ connect(ui->action_OpenArchiver, SIGNAL(triggered()), this, SLOT(onOpenArchiver()));\r
+ connect(ui->action_OpenEditor, SIGNAL(triggered()), this, SLOT(onOpenEditor()));\r
+ connect(ui->action_OpenTerminal, SIGNAL(triggered()), this, SLOT(onOpenTerminal()));\r
+ connect(ui->action_OpenWith, SIGNAL(triggered()), this, SLOT(onOpenWith()));\r
+ connect(ui->action_Quit, SIGNAL(triggered()), this, SLOT(close()));\r
+ connect(ui->action_Rename, SIGNAL(triggered()), this, SLOT(onRename()));\r
+ connect(ui->action_KeyRight, SIGNAL(triggered()), this, SLOT(onKeyRight()));\r
+ connect(ui->action_RunCommand, SIGNAL(triggered()), this, SLOT(onRunCommand()));\r
+ connect(ui->action_ScaleDown, SIGNAL(triggered()), this, SLOT(onScaleDown()));\r
+ connect(ui->action_ScaleUp, SIGNAL(triggered()), this, SLOT(onScaleUp()));\r
+ connect(ui->action_SearchNext, SIGNAL(triggered()), this, SLOT(onSearchNext()));\r
+ connect(ui->action_SearchPrev, SIGNAL(triggered()), this, SLOT(onSearchPrev()));\r
+ connect(ui->action_Setting, SIGNAL(triggered()), this, SLOT(showPreferenceDialog()));\r
+ connect(ui->action_ShowBookmark, SIGNAL(triggered()), this, SLOT(showBookmarkDialog()));\r
+ connect(ui->action_Sort, SIGNAL(triggered()), this, SLOT(showSortDialog()));\r
+ connect(ui->action_SplitCenter, SIGNAL(triggered()), this, SLOT(onSplitCenter()));\r
+ connect(ui->action_Swap, SIGNAL(triggered()), this, SLOT(onSwap()));\r
+ connect(ui->action_SyncPanel, SIGNAL(triggered()), this, SLOT(onSyncPanel()));\r
+ connect(ui->action_SyncPanelTo, SIGNAL(triggered()), this, SLOT(onSyncPanelTo()));\r
+\r
+ connect(ui->toggle_FullMode, SIGNAL(toggled(bool)), this, SLOT(onToggleFullMode(bool)));\r
+ connect(ui->toggle_Hidden, SIGNAL(toggled(bool)), this, SLOT(onToggleHidden(bool)));\r
+ connect(ui->toggle_Mark, SIGNAL(triggered()), this, SLOT(onToggleMark()));\r
+ connect(ui->toggle_PreviewMode, SIGNAL(toggled(bool)), this, SLOT(onTogglePreviewMode(bool)));\r
+ connect(ui->toggle_Search, SIGNAL(toggled(bool)), this, SLOT(onToggleSearch(bool)));\r
+ connect(ui->toggle_System, SIGNAL(toggled(bool)), this, SLOT(onToggleSystem(bool)));\r
+ connect(ui->toggle_ThumbnailMode, SIGNAL(toggled(bool)), this, SLOT(onToggleThumbnailMode(bool)));\r
+\r
+ connect(ui->view_Back, SIGNAL(triggered()), this, SLOT(view_finished()));\r