summaryrefslogtreecommitdiff
path: root/doc/pluginhowto/examples/loggermode/loggermodewidget.h
blob: f05263f32fd1c04e1da394a9690f7ff20d9c5d23 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#ifndef LOGGERMODEWIDGET_H
#define LOGGERMODEWIDGET_H

#include <QWidget>

struct LoggerModeWidgetData;
class LoggerModeWidget : public QWidget
{
    Q_OBJECT

public:
    LoggerModeWidget(const QString projectName, QWidget* parent = 0);
    ~LoggerModeWidget();

public slots:
    //void setProjectName(QString name);

protected slots:
    bool saveToFile();
    void startTimeLog();   
    void endTimeLog();
    void updateTime();

private:
    LoggerModeWidgetData* d;
};

#endif // NEWMODEWIDGET_H