-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdisplaywindow.h
More file actions
61 lines (48 loc) · 1.09 KB
/
displaywindow.h
File metadata and controls
61 lines (48 loc) · 1.09 KB
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
57
58
59
60
61
#ifndef _DISPLAYWINDOW_
#define _DISPLAYWINDOW_
#include "MANAGER\ModelVideo.h"
#include "MANAGER\UserManager.h"
#include "posturewindow.h"
#include "globalDefs.h"
#include "displaywidget.h"
#include <QtWidgets\qscrollarea.h>
#include <QtWidgets\qtextedit.h>
#include <QtWidgets\qtextbrowser.h>
#include <QtWidgets\qmessagebox.h>
#include <QtCore\qtimer.h>
#include <ctime>
class DisplayWindow : public PostureWindow
{
Q_OBJECT
public:
DisplayWindow(QWidget*, ModelVideo);
~DisplayWindow();
protected:
void BuildBottomRight();
private:
QWidget *m_qwMessage;
DisplayWidget *m_dwDisplay;
QLabel *m_qlOutline;
QLabel *m_qlMsg;
QLabel *m_qlUser;
QTextBrowser *m_qtbDesc;
QPushButton *m_qpbUser;
QPushButton *m_qpbTag;
QPushButton *m_qpbSubmit;
QPushButton *m_qpbLike;
QPushButton *m_qpbForward;
QPushButton *m_qpbComment;
ModelVideo m_mvModel;
QMessageBox *m_qmbMsg;
void BuildConnections();
void BuildMessage();
signals:
void comment( const ModelVideo&);
void updateModel(const ModelVideo&);
private slots:
void likeIt();
void toComment();
void forwardIt();
void toProfile();
};
#endif