• R/O
  • HTTP
  • SSH
  • HTTPS

Tags
Aucun tag

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

温度+USBカメラ画像 ロガー


File Info

Révision 7552607fc8c340fdbea904251c98120b675fe012
Taille 1,256 octets
l'heure 2013-03-16 13:03:43
Auteur alucky4416
Message de Log

CHG: overlay text Timestamp and Tempr, Humid to SaveImage

Content

#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <QMainWindow>
#include <QLabel>
#include <QDateTime>

#include "daqthread.h"

#include "ImageView.h"
#include "ImageCapture.h"

namespace Ui {
class MainWindow;
}

class MainWindow : public QMainWindow
{
    Q_OBJECT
    
public:
    explicit MainWindow(QWidget *parent = 0);
    ~MainWindow();

signals:
    void LogStart(QString logfolderpath);
    void LogStop();

private slots:
    void slotGetData(QDateTime, double, double);
    void slotChangeLogFilename(QString);
    void slotSaveCurrentImage(QString imgfilepath, QString overlay_text);
    void slotLogStarted();
    void slotLogEnded(int status);

    void on_actionExit_triggered();

    void on_pushButton_LogStart_clicked();

    void on_actionAbout_triggered();

    void on_actionAboutQt_triggered();

private:
    Ui::MainWindow *ui;

    QLabel *label_statusbar;
    QString IniFilepath;
    void LoadSaveSetting(QString inifilepath, bool store);

    bool logging; // Log Status, true is logging
    DAQThread *daqTh;

    QString logpath; // Log Save Folder Path

    QDateTime logstart_time; // for lapsed time

    ImageCapture*	imageCapture;
};

#endif // MAINWINDOW_H