Changeset - 3ecec26a5e32
[Not reviewed]
snapshots
0 1 0
Hasan Yavuz Ă–ZDERYA - 10 years ago 2015-09-20 09:00:00
hy@ozderya.net
name snapshots with current time
1 file changed with 3 insertions and 1 deletions:
0 comments (0 inline, 0 general)
mainwindow.cpp
Show inline comments
 
@@ -26,6 +26,7 @@
 
#include <QTextStream>
 
#include <QtDebug>
 
#include <QtEndian>
 
#include <QTime>
 
#include <qwt_plot.h>
 
#include <limits.h>
 
#include <cmath>
 
@@ -733,7 +734,8 @@ void MainWindow::messageHandler(QtMsgTyp
 
void MainWindow::takeSnapShot()
 
{
 
    qDebug() << "taking a snopshot yay!";
 
    auto snapShot = new SnapShot(this, "New Snapshot");
 
    QString name = QTime::currentTime().toString("'Snapshot ['HH:mm:ss']'");
 
    auto snapShot = new SnapShot(this, name);
 

	
 
    for (unsigned ci = 0; ci < numOfChannels; ci++)
 
    {
0 comments (0 inline, 0 general)