mridey
14th November 2006, 13:27
Hi,
My first app is quite simple. Basically if I could reproduce Notepad as a sample app, it would resolve most of my questions.
The questions are:
- How do I handle events from menu/toolbar entries once i've added them into the menubar/toolbar in the designer?
- How do I add icons to the menu items in the designer?
- How do I add icons in the toolbar items in the designer?
- Should I be doing menus and toolbars in code rather than using the designer?
- If I drop a textbox in the middle of the form, what properties do I set so that the widget always takes the whole available area as I resize the dialog?
- For a "Open" menu item, how to I launch the FileOpen dialog?
- For a "Save" menu item, how do I launch the FileSave dialog?
And a more complex question:
- How do I insert a QAxWidget into the form at runtime, instead of using the designer?
- And then, how to I access the methods of that associated control?
Thanks
My first app is quite simple. Basically if I could reproduce Notepad as a sample app, it would resolve most of my questions.
The questions are:
- How do I handle events from menu/toolbar entries once i've added them into the menubar/toolbar in the designer?
- How do I add icons to the menu items in the designer?
- How do I add icons in the toolbar items in the designer?
- Should I be doing menus and toolbars in code rather than using the designer?
- If I drop a textbox in the middle of the form, what properties do I set so that the widget always takes the whole available area as I resize the dialog?
- For a "Open" menu item, how to I launch the FileOpen dialog?
- For a "Save" menu item, how do I launch the FileSave dialog?
And a more complex question:
- How do I insert a QAxWidget into the form at runtime, instead of using the designer?
- And then, how to I access the methods of that associated control?
Thanks