-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathPageEdit.hpp
58 lines (49 loc) · 1.16 KB
/
PageEdit.hpp
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
/*
* =====================================================================================
*
* Filename: PageEdit.hpp
*
* Description: Window for editing pages
*
* Version: 1.0
* Created: 06/03/2011 09:40:45 AM
* Revision: none
* Compiler: gcc
*
* Author: Matthew Sherborne (), [email protected]
* Company:
*
* =====================================================================================
*/
#ifndef PAGE_EDIT_HPP
#define PAGE_EDIT_HPP
#include "MoreAwesomeTemplate.hpp"
namespace Wt {
class WLineEdit;
class WLabel;
class WTextEdit;
class WDialog;
}
using Wt::WLineEdit;
using Wt::WLabel;
using Wt::WTextEdit;
using Wt::WDialog;
namespace vidanueva {
class EditButtonBar;
class PageEdit : public MoreAwesomeTemplate {
private:
WLabel* _titleLabel;
WLineEdit* _titleEdit;
WLabel* _nameLabel;
WLineEdit* _nameEdit;
WLabel* _bodyLabel;
WTextEdit* _bodyEdit;
EditButtonBar* _buttons;
void setUpWidgets();
public:
PageEdit(WContainerWidget* parent=0);
PageEdit(WDialog& dialog);
void saveChanges();
};
}
#endif // PAGE_EDIT_HPP