svn-gvsig-desktop / tags / v1_9_Build_1246 / install / launcher / izpack-launcher-1.3_linux / src / statusdialog.h @ 32257
History | View | Annotate | Download (754 Bytes)
1 | 6834 | jmvivo | #ifndef STATUSDIALOG_H
|
---|---|---|---|
2 | #define STATUSDIALOG_H
|
||
3 | |||
4 | #include <wx/wx.h> |
||
5 | #include <wx/timer.h> |
||
6 | |||
7 | class StatusDialog : public wxFrame |
||
8 | { |
||
9 | private:
|
||
10 | |||
11 | wxBoxSizer* sizer; |
||
12 | wxBoxSizer* sizerDesc; |
||
13 | wxStaticBitmap* icon; |
||
14 | wxStaticText* explanationText; |
||
15 | wxStaticText* statusMsgText; |
||
16 | wxString statusMsg; |
||
17 | wxButton* cancelButton; |
||
18 | wxTimer* myTimer; |
||
19 | bool canceled;
|
||
20 | int count;
|
||
21 | void buildUI();
|
||
22 | |||
23 | |||
24 | public:
|
||
25 | |||
26 | StatusDialog(const wxString &wxStringHeadline );
|
||
27 | |||
28 | virtual ~StatusDialog(); |
||
29 | |||
30 | virtual void showStatus(const wxString statusString); |
||
31 | |||
32 | void OnTimer(wxTimerEvent& event);
|
||
33 | |||
34 | void OnCancel(wxEvent& event);
|
||
35 | |||
36 | void OnCancelButton(wxMouseEvent& event);
|
||
37 | |||
38 | bool IsCanceled();
|
||
39 | |||
40 | void DoNotCancel();
|
||
41 | protected:
|
||
42 | DECLARE_EVENT_TABLE() |
||
43 | |||
44 | }; |
||
45 | |||
46 | |||
47 | |||
48 | #endif |