Updated build for renamed files
[tagua/yd.git] / src / pref_clock.h
blobad3bc8ff87a6f2df410c7278e4e78a5142d99733
1 /*
2 Copyright (c) 2006 Paolo Capriotti <p.capriotti@sns.it>
3 (c) 2006 Maurizio Monge <maurizio.monge@kdemail.net>
5 This program is free software; you can redistribute it and/or modify
6 it under the terms of the GNU General Public License as published by
7 the Free Software Foundation; either version 2 of the License, or
8 (at your option) any later version.
9 */
11 #ifndef PREF_CLOCK_H
12 #define PREF_CLOCK_H
14 #include <QDialog>
16 class QSpinBox;
17 class QPushButton;
18 class Clock;
19 class QBoxLayout;
21 class PrefClock : public QDialog {
22 Q_OBJECT
23 QSpinBox* m_timeSpin;
24 QSpinBox* m_captionSpin;
25 QSpinBox* m_decsSpin;
26 QSpinBox* m_playerSpin;
27 QPushButton* m_background_button;
29 QPushButton* m_ok;
30 QPushButton* m_cancel;
32 Clock* m_preview;
34 void createSpin(QBoxLayout* parent, const QString& labelText, QSpinBox*& spin);
35 void load();
36 private slots:
37 void setBackgroundColor();
38 public:
39 PrefClock();
41 void apply();
44 #endif // PREF_CLOCK_H