Develop and Download Open Source Software

Browse CVS Repository

Annotation of /malonnote/mnNotePanel.h

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


Revision 1.1 - (hide annotations) (download) (as text)
Tue Oct 4 12:45:02 2005 UTC (18 years, 5 months ago) by maloninc
Branch: MAIN
CVS Tags: dev_1_6-0001, dev_1_5-0002, dev_1_5-0001, dev_1_5-0004
File MIME type: text/x-chdr
implement TAB function. But not complete.

1 maloninc 1.1 // -*- C++ -*- generated by wxGlade 0.3.5.1 on Wed Jun 29 12:57:38 2005
2     #ifndef MNNOTEPANEL_H
3     #define MNNOTEPANEL_H
4    
5     #include <wx/wx.h>
6     #include <wx/image.h>
7     #include <wx/treectrl.h>
8    
9     #include "mnModel.h"
10     #include "mnHtmlWindow.h"
11     #include "mnDialog.h"
12    
13     class mnNotePanelController;
14    
15     #define LABEL_ITEM_TREE "Search Item"
16    
17     class mnNotePanel: public wxPanel{
18     public:
19    
20     mnNotePanel(wxWindow* parent, wxString* dirName);
21    
22     void addSearchResult(mnModel* wiki, wxString* searchStr, bool isExpand=true);
23     void updateSearchResult(mnModel* wiki, wxString* searchStr, bool isExpand=true);
24     void makeHtml(WikiData* wikiData, bool highlight);
25     void highlightSelectedItem();
26     void showSelectedItemText(wxTreeEvent& event);
27     wxTreeItemData* getSelectedItem();
28     wxString getSelectedLabel();
29     wxTreeItemId getSelection();
30     void removeSelectedItem();
31     bool isEditableTreeLabel(wxTreeItemId id);
32     void expandAllTree();
33     void collapseAllTree();
34     void clearAllTree();
35     mnNotePanelController* getController();
36    
37     private:
38     bool highlight;
39     wxTreeItemId searchItemRoot;
40     wxTreeCtrl* searchTree;
41     mnHtmlWindow* wikiHtmlTextCtrl;
42     mnNotePanelController* panelController;
43     };
44    
45    
46     #endif // MNNOTEPANEL

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