| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
|
| 13 |
#ifndef H_FREAC_DIALOG_PATTERN |
| 14 |
#define H_FREAC_DIALOG_PATTERN |
| 15 |
|
| 16 |
#include <smooth.h> |
| 17 |
|
| 18 |
using namespace smooth; |
| 19 |
using namespace smooth::GUI; |
| 20 |
|
| 21 |
namespace freac |
| 22 |
{ |
| 23 |
class AddPatternDialog : public Dialogs::Dialog |
| 24 |
{ |
| 25 |
private: |
| 26 |
Divider *divbar; |
| 27 |
|
| 28 |
Window *mainWnd; |
| 29 |
Titlebar *mainWnd_titlebar; |
| 30 |
|
| 31 |
GroupBox *group_pattern; |
| 32 |
Text *text_directory; |
| 33 |
EditBox *edit_directory; |
| 34 |
Button *btn_browse; |
| 35 |
|
| 36 |
Text *text_pattern; |
| 37 |
EditBox *edit_pattern; |
| 38 |
|
| 39 |
CheckBox *check_subfolders; |
| 40 |
|
| 41 |
Button *btn_ok; |
| 42 |
Button *btn_cancel; |
| 43 |
public: |
| 44 |
AddPatternDialog(); |
| 45 |
~AddPatternDialog(); |
| 46 |
|
| 47 |
const Error &ShowDialog(); |
| 48 |
accessors: |
| 49 |
String GetDirectory() const; |
| 50 |
String GetPattern() const; |
| 51 |
|
| 52 |
Bool GetSearchSubFolders() const; |
| 53 |
slots: |
| 54 |
Void OK(); |
| 55 |
Void Cancel(); |
| 56 |
|
| 57 |
Void OnChangeSize(const Size &); |
| 58 |
|
| 59 |
Void Browse(); |
| 60 |
}; |
| 61 |
}; |
| 62 |
|
| 63 |
#endif |