From c9497f0e16ad13493f59b835016d46d919378f6d Mon Sep 17 00:00:00 2001 From: am Date: Sat, 24 Oct 2009 15:25:10 +0000 Subject: -implemented play selected files git-svn-id: file:///var/svn/repos2/shemov/trunk@420 f440f766-f032-0410-8965-dc7d17de2ca0 --- shemov.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'shemov.cpp') diff --git a/shemov.cpp b/shemov.cpp index 5b86fef..e45cbb7 100644 --- a/shemov.cpp +++ b/shemov.cpp @@ -251,6 +251,9 @@ void SheMov::createStatusbar(){ void SheMov::createActions(){ //File menu + mPlaySelectedA = new QAction(tr("Play selected movies..."), this); + connect(mPlaySelectedA, SIGNAL(triggered()), mFSWidget, SLOT(playSelected())); + mFSWidget->fileView()->addAction(mPlaySelectedA); mQuitA = new QAction(tr("Quit"), this); mQuitA->setShortcut(tr("CTRL+q")); @@ -370,6 +373,8 @@ void SheMov::createActions(){ void SheMov::createMenus(){ QMenu *fileMenu = new QMenu(tr("&File"), this); + fileMenu->addAction(mPlaySelectedA); + fileMenu->addSeparator(); fileMenu->addAction(mQuitA); mEditFSMenu = new QMenu(tr("&Edit"), this); mEditFSMenu->addAction(mCdupA); -- cgit v1.2.3-70-g09d2