00001
00020 #ifndef INC_GRE_DLGMARKBYQUERY_H
00021 #define INC_GRE_DLGMARKBYQUERY_H
00022
00023 #ifndef INC_MGUI_DLGSHELL_H
00024 #include <mgui/dlgshell.h>
00025 #endif
00026
00027 #ifndef INC_MGUI_LAYOUT_H
00028 #include <mgui/layout.h>
00029 #endif
00030
00031 #ifndef INC_MGUI_FORMTABBED_H
00032 #include <mgui/formtabbed.h>
00033 #endif
00034
00035 #ifndef INC_MGUI_STATUSBAR_H
00036 #include <mgui/statusbar.h>
00037 #endif
00038
00039 #ifndef INC_GRE_LAYER_H
00040 #include <gre/layer.h>
00041 #endif
00042
00043 namespace GRE {
00044
00045
00046 class DLG_MARKBYQUERY : public MGUI::DLGSHELL {
00047 public:
00048
00049
00050 explicit DLG_MARKBYQUERY (
00051 GRE::LAYER::COMPINFO *pCompInfo
00052 );
00053
00054
00055 virtual ~DLG_MARKBYQUERY (
00056 );
00057
00058 private:
00059 #ifndef GENERATING_DOXYGEN_OUTPUT
00060 typedef DLG_MARKBYQUERY THISCLASS;
00061
00062 class PAGE_BUILDER;
00063 class PAGE_SCRIPT;
00064
00065 GRE::LAYER::COMPINFO *m_pCompInfo;
00066
00067 MGUI::FORM_TABBED m_Book;
00068 PAGE_BUILDER *m_pPageBuilder;
00069 PAGE_SCRIPT *m_pPageScript;
00070 MGUI::CTRL_STATUSBAR m_StatusBar;
00071
00072 SMLCONTEXT *m_ScriptContext;
00073 int m_ScriptSegment;
00074
00075 void ClearMessage ()
00076 { m_StatusBar.ClearText(); }
00077
00078 void SetMessage (const MISTRING& msg)
00079 { m_StatusBar.SetText(msg); }
00080
00081 void v_OnApply ();
00082 ERRVALUE v_CreateContent ();
00083
00084 #endif // GENERATING_DOXYGEN_OUTPUT
00085 };
00086
00087
00088 }
00089
00090 #endif // INC_GRE_DLGMARKBYQUERY_H
00091