

Public Member Functions | |
| PWindow (BRect rect, PDocument *doc) | |
| PWindow (BMessage *archive) | |
| ~PWindow (void) | |
| virtual void | MessageReceived (BMessage *message) |
| virtual void | SetShortCutList (BMessage *shortcutList) |
| Set a new Shortcutlist. | |
| virtual void | AddShortCutList (BMessage *shortcutList) |
| Add a new Shortcutlist. | |
| virtual void | RemoveShortCutList (BMessage *shortcutList) |
| Remove all Shortcuts in the Shortcutlist. | |
| virtual void | AddEditor (const char *name, PEditor *newEditor) |
| Calle To add a Editor to the MainView (with a new Tab). | |
| virtual void | RemoveEditor (void) |
| Removes the current selected Edtior. | |
| virtual BMenu * | GetMenu (const char *signatur) |
| virtual BMenuItem * | GetMenuItem (const char *signatur) |
| virtual ToolBar * | GetToolBar (const char *signatur) |
| virtual ToolMenu * | GetToolMenu (const char *toolbarSignature, const char *signature) |
| virtual ToolItem * | GetToolItem (const char *toolbarSignature, const char *signature) |
| virtual status_t | AddMenu (BMenu *menu, int32 index=-1) |
| Adds a BMenu to the ToolBar of the PWindow, if inxed<0 its insert "at the end"! It shoud always be an untranslated BMenu so please dont use the LocaleKit to create the BMenu This Method also register your BMEnu to the localisation System of ProjectConceptor, so that you dont need to Take care of the localisation of the BMenus. | |
| virtual status_t | AddMenuItem (const char *menuSignatur, BMenuItem *menuItem, int32 index=-1) |
| virtual status_t | AddToolBar (ToolBar *toolbar) |
| virtual status_t | AddToolMenu (const char *toolbarSignatur, ToolMenu *toolMenu) |
| virtual status_t | AddToolItem (const char *toolbarSignatur, const char *toolmenuSignatur, ToolItem *toolItem, int32 index=-1) |
| virtual status_t | RemoveMenu (const char *menuSignature) |
| virtual status_t | RemoveMenuItem (const char *signature) |
| virtual status_t | RemoveToolBar (const char *signature) |
| virtual status_t | RemoveToolMenu (const char *toolbarSignature, const char *toolmenuSignature) |
| virtual status_t | RemoveToolItem (const char *toolbarSignature, const char *toolitemSignature) |
| virtual bool | QuitRequested () |
| virtual void | FrameResized (float width, float height) |
| virtual void | Show (void) |
| void | Init (void) |
Public Attributes | |
| float | P_M_MAIN_VIEW_LEFT |
| float | P_M_MAIN_VIEW_TOP |
| float | P_M_MAIN_VIEW_BOTTOM |
| float | P_M_MAIN_VIEW_RIGHT |
Protected Member Functions | |
| void | CreatEditorList (void) |
| BMenuBar * | MakeMenu (void) |
| BMenuBar * | MakeStatusBar (void) |
| void | ChangeLanguage (void) |
| void | MakeToolbars (void) |
| void | ReCalcToolBars (menu_layout layout) |
Protected Attributes | |
| ShortCutFilter * | shortcutFilter |
| BMessage * | savemessage |
| int32 | window_id |
| BMenuBar * | menuBar |
| BMenu * | windows |
| BMessage * | localizeMenuItems |
| BMessage * | localizeToolTips |
| BMessage * | oldShortcutMessage |
| BMenuBar * | statusBar |
| BList * | verticalToolbars |
| BList * | horizontalToolbars |
| MainView * | mainView |
| PDocument * | doc |
| PWindow::PWindow | ( | BRect | rect, | |
| PDocument * | doc | |||
| ) |
| PWindow::PWindow | ( | BMessage * | archive | ) |
| PWindow::~PWindow | ( | void | ) |
| void PWindow::AddEditor | ( | const char * | name, | |
| PEditor * | newEditor | |||
| ) | [virtual] |
Calle To add a Editor to the MainView (with a new Tab).
| status_t PWindow::AddMenu | ( | BMenu * | menu, | |
| int32 | index = -1 | |||
| ) | [virtual] |
Adds a BMenu to the ToolBar of the PWindow, if inxed<0 its insert "at the end"! It shoud always be an untranslated BMenu so please dont use the LocaleKit to create the BMenu This Method also register your BMEnu to the localisation System of ProjectConceptor, so that you dont need to Take care of the localisation of the BMenus.
Implements PMenuAccess.
| status_t PWindow::AddMenuItem | ( | const char * | menuSignatur, | |
| BMenuItem * | menuItem, | |||
| int32 | index = -1 | |||
| ) | [virtual] |
Implements PMenuAccess.
| virtual void PWindow::AddShortCutList | ( | BMessage * | shortcutList | ) | [inline, virtual] |
Add a new Shortcutlist.
This means the old Shortcuts are retained. if you set an shortcut wich is already in use it´s been replaced
| status_t PWindow::AddToolBar | ( | ToolBar * | toolbar | ) | [virtual] |
Implements PMenuAccess.
| status_t PWindow::AddToolItem | ( | const char * | toolbarSignatur, | |
| const char * | toolmenuSignatur, | |||
| ToolItem * | toolItem, | |||
| int32 | index = -1 | |||
| ) | [virtual] |
Implements PMenuAccess.
| status_t PWindow::AddToolMenu | ( | const char * | toolbarSignatur, | |
| ToolMenu * | toolMenu | |||
| ) | [virtual] |
Implements PMenuAccess.
| void PWindow::ChangeLanguage | ( | void | ) | [protected] |
| void PWindow::CreatEditorList | ( | void | ) | [protected] |
| void PWindow::FrameResized | ( | float | width, | |
| float | height | |||
| ) | [virtual] |
width = width;
| BMenu * PWindow::GetMenu | ( | const char * | signatur | ) | [virtual] |
Implements PMenuAccess.
| BMenuItem * PWindow::GetMenuItem | ( | const char * | signatur | ) | [virtual] |
Implements PMenuAccess.
| ToolBar * PWindow::GetToolBar | ( | const char * | signatur | ) | [virtual] |
Implements PMenuAccess.
| ToolItem * PWindow::GetToolItem | ( | const char * | toolbarSignature, | |
| const char * | signature | |||
| ) | [virtual] |
Implements PMenuAccess.
| ToolMenu * PWindow::GetToolMenu | ( | const char * | toolbarSignature, | |
| const char * | signature | |||
| ) | [virtual] |
Implements PMenuAccess.
| void PWindow::Init | ( | void | ) |
| BMenuBar * PWindow::MakeMenu | ( | void | ) | [protected] |
| BMenuBar * PWindow::MakeStatusBar | ( | void | ) | [protected] |
| void PWindow::MakeToolbars | ( | void | ) | [protected] |
| void PWindow::MessageReceived | ( | BMessage * | message | ) | [virtual] |
| bool PWindow::QuitRequested | ( | ) | [virtual] |
| void PWindow::ReCalcToolBars | ( | menu_layout | layout | ) | [protected] |
| void PWindow::RemoveEditor | ( | void | ) | [virtual] |
Removes the current selected Edtior.
| status_t PWindow::RemoveMenu | ( | const char * | menuSignature | ) | [virtual] |
Implements PMenuAccess.
| status_t PWindow::RemoveMenuItem | ( | const char * | signature | ) | [virtual] |
Implements PMenuAccess.
| virtual void PWindow::RemoveShortCutList | ( | BMessage * | shortcutList | ) | [inline, virtual] |
Remove all Shortcuts in the Shortcutlist.
| status_t PWindow::RemoveToolBar | ( | const char * | signature | ) | [virtual] |
Implements PMenuAccess.
| status_t PWindow::RemoveToolItem | ( | const char * | toolbarSignature, | |
| const char * | toolitemSignature | |||
| ) | [virtual] |
Implements PMenuAccess.
| status_t PWindow::RemoveToolMenu | ( | const char * | toolbarSignature, | |
| const char * | toolmenuSignature | |||
| ) | [virtual] |
Implements PMenuAccess.
| virtual void PWindow::SetShortCutList | ( | BMessage * | shortcutList | ) | [inline, virtual] |
Set a new Shortcutlist.
But Remember if you set a new shortcutlist you also "remove" all default shortcuts from the document. please use instead AddShortCutList and Removeshortcutlist
| void PWindow::Show | ( | void | ) | [virtual] |
PDocument* PWindow::doc [protected] |
BList* PWindow::horizontalToolbars [protected] |
BMessage* PWindow::localizeMenuItems [protected] |
BMessage* PWindow::localizeToolTips [protected] |
MainView* PWindow::mainView [protected] |
BMenuBar* PWindow::menuBar [protected] |
BMessage* PWindow::oldShortcutMessage [protected] |
BMessage* PWindow::savemessage [protected] |
ShortCutFilter* PWindow::shortcutFilter [protected] |
BMenuBar* PWindow::statusBar [protected] |
BList* PWindow::verticalToolbars [protected] |
int32 PWindow::window_id [protected] |
BMenu* PWindow::windows [protected] |
1.5.9