Changeset - 1ab619914658
[Not reviewed]
snapshots
0 3 0
Hasan Yavuz Ă–ZDERYA - 10 years ago 2015-09-20 18:09:27
hy@ozderya.net
removed snapshot view toolbar
3 files changed with 3 insertions and 13 deletions:
0 comments (0 inline, 0 general)
snapshotmanager.cpp
Show inline comments
 
@@ -86,7 +86,8 @@ void SnapshotManager::clearSnapshots()
 

	
 
void SnapshotManager::deleteSnapshot(SnapShot* snapshot)
 
{
 
    delete snapshots.takeAt(snapshots.indexOf(snapshot));
 
    snapshots.removeOne(snapshot);
 
    snapshot->deleteLater(); // regular delete causes a crash when triggered from menu
 
    updateMenu();
 
}
 

	
snapshotview.cpp
Show inline comments
 
@@ -9,7 +9,7 @@ SnapShotView::SnapShotView(QWidget *pare
 
    _snapShot = snapShot;
 

	
 
    ui->setupUi(this);
 
    ui->toolBar->addAction(snapShot->deleteAction());
 
    ui->menuSnapshot->addAction(snapShot->deleteAction());
 
    this->setWindowTitle(snapShot->name());
 

	
 
    unsigned numOfChannels = snapShot->data.size();
snapshotview.ui
Show inline comments
 
@@ -44,17 +44,6 @@
 
   <addaction name="menuSnapshot"/>
 
   <addaction name="menuView"/>
 
  </widget>
 
  <widget class="QToolBar" name="toolBar">
 
   <property name="windowTitle">
 
    <string>toolBar</string>
 
   </property>
 
   <attribute name="toolBarArea">
 
    <enum>TopToolBarArea</enum>
 
   </attribute>
 
   <attribute name="toolBarBreak">
 
    <bool>false</bool>
 
   </attribute>
 
  </widget>
 
  <action name="actionExportCSV">
 
   <property name="text">
 
    <string>Export CSV</string>
0 comments (0 inline, 0 general)