-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPianobar-QT.h
56 lines (41 loc) · 838 Bytes
/
Pianobar-QT.h
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
#ifndef Pianobar_QT_H
#define Pianobar_QT_H
//System Headers
#include <iostream>
//Project Headers
#include "pianosteps.h"
#include "pandorastation.h"
#include "pianohelper.h"
//Libpiano
extern "C" {
#include "piano.h"
#include "waitress.h"
}
//QT
#include <QtGui/QApplication>
#include <QLabel>
#include <QGridLayout>
#include <QDesktopWidget>
#include <QtCore/QObject>
#include <QLineEdit>
#include <QFont>
#include <QPushButton>
#include <QHBoxLayout>
class Pianobar_QT : public QWidget
{
Q_OBJECT
public:
Pianobar_QT(QWidget* parent = 0);
private:
PianoHandle_t ph;
WaitressHandle_t wh;
PianoSteps piano;
PianoHelper helper;
QLineEdit* userName;
QLineEdit* passwordField;
QPushButton* ok;
private slots:
void logIn();
void cancelPressed();
};
#endif // Pianobar_QT_H