Debian Codegraph @

qwt/playground/timescale/Panel.h

raw
1 /*****************************************************************************
2 * Qwt Examples - Copyright (C) 2002 Uwe Rathmann
3 * This file may be used under the terms of the 3-clause BSD License
4 *****************************************************************************/
5
6 #pragma once
7
8 #include "Settings.h"
9 #include <QWidget>
10
11 class QDateTimeEdit;
12 class QSpinBox;
13
14 class Panel : public QWidget
15 {
16 Q_OBJECT
17
18 public:
19 Panel( QWidget* parent = NULL );
20
21 void setSettings( const Settings&);
22 Settings settings() const;
23
24 Q_SIGNALS:
25 void edited();
26
27 private:
28 QDateTimeEdit* m_startDateTime;
29 QDateTimeEdit* m_endDateTime;
30
31 QSpinBox* m_maxMajorSteps;
32 QSpinBox* m_maxMinorSteps;
33 QSpinBox* m_maxWeeks;
34 };