Develop and Download Open Source Software

Browse CVS Repository

Annotation of /malonnote/mnFrame.h

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.4 - (hide annotations) (download) (as text)
Sun Jul 31 06:54:12 2005 UTC (18 years, 7 months ago) by maloninc
Branch: MAIN
CVS Tags: dev-1_0-0007
Changes since 1.3: +3 -2 lines
File MIME type: text/x-chdr
implement data edit dialog, but not data entry dialog.

1 maloninc 1.1 // -*- C++ -*- generated by wxGlade 0.3.5.1 on Wed Jun 29 12:57:38 2005
2     #ifndef MNFRAME_H
3     #define MNFRAME_H
4    
5     // begin wxGlade: dependencies
6     #include <wx/splitter.h>
7     #include <wx/treectrl.h>
8     // end wxGlade
9    
10     #include <wx/wx.h>
11     #include <wx/image.h>
12 maloninc 1.2 #include <wx/html/htmlwin.h>
13 maloninc 1.1
14     #include "mnModel.h"
15 maloninc 1.4 #include "mnDialog.h"
16 maloninc 1.1
17     #define LABEL_ITEM_TREE "Item Tree"
18     #define LABEL_NEW_ITEM "[Editing...]"
19     #define APP_ICON_NAME "mnICON_APP_SMALL"
20    
21     class mnFrame: public wxFrame {
22     public:
23     // begin wxGlade: mnFrame::ids
24     // end wxGlade
25    
26     mnFrame(wxWindow* parent, int id, const wxString& title, const wxPoint& pos=wxDefaultPosition, const wxSize& size=wxDefaultSize, long style=wxDEFAULT_FRAME_STYLE);
27     void addSearchResult(wxString* searchStr, WikiList* wikiList);
28     void showSearchResult(mnModel* wiki);
29     void showSelectedItemText(wxTreeEvent& event);
30     wxTreeItemData* getSelectedItem();
31     wxString getSelectedLabel();
32     void removeSelectedItem();
33     void showNewItem(WikiData* data);
34     bool isEditableTreeLabel(wxTreeItemId id);
35     bool isNewItem(wxTreeItemId id);
36 maloninc 1.4 int showDataEntryDialog(mnWikiDataEntryDialog* dlg);
37     int showDataEditDialog(mnWikiDataEntryDialog* dlg);
38 maloninc 1.1
39     private:
40     // begin wxGlade: mnFrame::methods
41     void set_properties();
42     void do_layout();
43     // end wxGlade
44     wxTreeItemId searchItemRoot;
45     wxTreeItemId newItemRoot;
46     wxEvtHandler* controller;
47 maloninc 1.3 wxGridSizer* rightPanelSizer;
48 maloninc 1.1
49     protected:
50     // begin wxGlade: mnFrame::attributes
51     wxStaticText* searchLaebl;
52     wxPanel* panel;
53     wxTextCtrl* searchTextCtrl;
54     wxTreeCtrl* searchTree;
55     wxPanel* leftPanel;
56 maloninc 1.3 wxTextCtrl* wikiPlainTextCtrl;
57 maloninc 1.2 wxHtmlWindow* wikiHtmlTextCtrl;
58 maloninc 1.1 wxPanel* rightPanel;
59     wxSplitterWindow* splitWindow;
60    
61     // begin add by hand
62     wxMenuBar* menuBar;
63     // end add by hand
64    
65     // end wxGlade
66     };
67    
68    
69     #endif // MNFRAME_H

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26