config_dlg_.hpp
上传用户:yhdzpy8989
上传日期:2007-06-13
资源大小:13604k
文件大小:3k
- /*
- * ===========================================================================
- * PRODUCTION $Log: config_dlg_.hpp,v $
- * PRODUCTION Revision 1000.1 2004/06/01 19:47:19 gouriano
- * PRODUCTION PRODUCTION: UPGRADED [GCC34_MSVC7] Dev-tree R1.2
- * PRODUCTION
- * ===========================================================================
- */
- // generated by Fast Light User Interface Designer (fluid) version 1.0105
- #ifndef config_dlg__hpp
- #define config_dlg__hpp
- #include <FL/Fl.H>
- /* $Id: config_dlg_.hpp,v 1000.1 2004/06/01 19:47:19 gouriano Exp $ */
- #include <FL/Fl_Window.H>
- #include <FL/Fl_Tile.H>
- #include <FL/Fl_Group.H>
- #include <FL/Fl_Box.H>
- #include <FL/Fl_Browser.H>
- #include <FL/Fl_Button.H>
- #include <FL/Fl_Output.H>
- #include <FL/Fl_Return_Button.H>
- class NCBI_GUIDIALOGS_EXPORT CConfigDlg : public CDialog {
- public:
- CConfigDlg(IConfigMediator&);
- private:
- string m_Title;
- CRef<IConfigMediator> m_ConfigMediator;
- auto_ptr<IConfigPanel> m_ConfigPanel;
- Fl_Window* x_CreateWindow();
- Fl_Tile *m_Tile;
- Fl_Group *m_SetsGroup;
- Fl_Browser *m_StyleBrowser;
- inline void cb_m_StyleBrowser_i(Fl_Browser*, void*);
- static void cb_m_StyleBrowser(Fl_Browser*, void*);
- Fl_Group *m_SetBtnGroup;
- inline void cb_Use_i(Fl_Button*, void*);
- static void cb_Use(Fl_Button*, void*);
- inline void cb_Add_i(Fl_Button*, void*);
- static void cb_Add(Fl_Button*, void*);
- inline void cb_Copy_i(Fl_Button*, void*);
- static void cb_Copy(Fl_Button*, void*);
- Fl_Button *m_RenameBtn;
- inline void cb_m_RenameBtn_i(Fl_Button*, void*);
- static void cb_m_RenameBtn(Fl_Button*, void*);
- Fl_Button *m_DeleteBtn;
- inline void cb_m_DeleteBtn_i(Fl_Button*, void*);
- static void cb_m_DeleteBtn(Fl_Button*, void*);
- Fl_Group *m_RightGroup;
- Fl_Output *m_CurrentStyleText;
- Fl_Group *m_ValueBtnGroup;
- inline void cb_Default_i(Fl_Button*, void*);
- static void cb_Default(Fl_Button*, void*);
- inline void cb_OK_i(Fl_Return_Button*, void*);
- static void cb_OK(Fl_Return_Button*, void*);
- inline void cb_Cancel_i(Fl_Button*, void*);
- static void cb_Cancel(Fl_Button*, void*);
- Fl_Group *m_ConfigPanelHolder;
- void x_SetConfigPanel(Fl_Group& config_panel);
- void x_SetStates(list<string> const& states);
- bool x_GetSelectedState(string& state);
- void x_SetSelectedState(const string& state);
- void x_SelectFirstState();
- string x_GetLoadedState();
- void x_SetLoadedState(const string& state);
- virtual void x_UpdateSetBtns();
- virtual void x_OnUse();
- virtual void x_OnAdd();
- virtual void x_OnCopy();
- virtual void x_OnRename();
- virtual void x_OnDelete();
- virtual void x_OnOK();
- virtual void x_OnDefVals();
- void x_OnClicks();
- };
- #endif