-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmainwindow.h
46 lines (38 loc) · 970 Bytes
/
mainwindow.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
#ifndef MAINWINDOW_H
#define MAINWINDOW_H
#include <QMainWindow>
#include "mediaplayertabwidget.h"
#include "controlpanel.h"
#include "lyricbox.h"
#include "progressbar.h"
#include <QIcon>
#include "videowidget.h"
#include <QMenuBar>
#include "user.h"
namespace Ui {
class MainWindow;
}
class MainWindow : public QMainWindow
{
Q_OBJECT
public:
explicit MainWindow(QWidget *parent = 0);
~MainWindow();
private:
Ui::MainWindow *ui;
mediaPlayerTabWidget * _player;
videoWidget * _videoWidget;
controlPanel * _controlPanel;
lyricBox * _lyricsBox;
progressBar * _progressBar;
QMenuBar * _menu;
User * _user;
//Icons
QIcon _mainWindowIcon, _previousButtonIcon, _nextButtonIcon, _playButtonIcon,
_pauseButtonIcon;
void setupPlayer();
void setupLyricsAndControlPanel();
void setWidgetPositions();
void setupMenuBar();
};
#endif // MAINWINDOW_H