Commit f1d36941 authored by Dirk Wilden's avatar Dirk Wilden

finished snapshots

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@5351 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 334321cf
......@@ -614,7 +614,7 @@ public:
public slots:
/// Create a snapshot of the whole app with fileDialog
// void viewerSnapshotDialog();
void viewerSnapshotDialog();
/// Create a snapshot of the whole app
void viewerSnapshot();
......
......@@ -318,14 +318,14 @@ void CoreWidget::setupMenuBar()
viewMenu_->addAction( viewAllAction);
// QAction* snapShotAction = new QAction( "Viewer Snapshot", viewMenu_ );
// snapShotAction->setIcon( QIcon(OpenFlipper::Options::iconDirStr()+OpenFlipper::Options::dirSeparator()+"snapshot.png") );
// snapShotAction->setCheckable( false );
// snapShotAction->setToolTip("Take a snapshot from all viewers.");
// snapShotAction->setWhatsThis( "Viewer Snapshot<br><br>"
// "Take a snapshot of all viewers at once.");
// connect( snapShotAction,SIGNAL( triggered() ), this, SLOT( slotSnapshot() ) );
// viewMenu_->addAction( snapShotAction);
QAction* snapShotAction = new QAction( "Viewer Snapshot", viewMenu_ );
snapShotAction->setIcon( QIcon(OpenFlipper::Options::iconDirStr()+OpenFlipper::Options::dirSeparator()+"viewerSnapshot.png") );
snapShotAction->setCheckable( false );
snapShotAction->setToolTip("Take a snapshot from all viewers.");
snapShotAction->setWhatsThis( "Viewer Snapshot<br><br>"
"Take a snapshot of all viewers at once.");
connect( snapShotAction,SIGNAL( triggered() ), this, SLOT( viewerSnapshotDialog() ) );
viewMenu_->addAction( snapShotAction);
QAction* appSnapShotAction = new QAction( "Snapshot", viewMenu_ );
appSnapShotAction->setIcon( QIcon(OpenFlipper::Options::iconDirStr()+OpenFlipper::Options::dirSeparator()+"snapshot.png") );
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment