|
2009-03-31
, 23:11
|
Posts: 37 |
Thanked: 19 times |
Joined on Mar 2009
@ Scotland
|
#2
|
try: Q_WS_HILDON menuBar.AddAction(updateAction) menuBar.addAction(optionsAction) menuBar.addAction(aboutAction) menuBar.addSeparator() menuBar.addAction(quitAction) except: fileMenu = menuBar.addMenu('&File') fileMenu.addAction(updateAction) fileMenu.addAction(optionsAction) fileMenu.addSeparator() fileMenu.addAction(quitAction) helpItem = menuBar.addMenu('&Help') helpItem.addAction(aboutAction)
|
2009-04-06
, 21:26
|
Posts: 37 |
Thanked: 19 times |
Joined on Mar 2009
@ Scotland
|
#3
|
|
2009-04-07
, 20:26
|
Posts: 37 |
Thanked: 19 times |
Joined on Mar 2009
@ Scotland
|
#5
|
|
2009-04-07
, 20:43
|
|
Posts: 4,274 |
Thanked: 5,358 times |
Joined on Sep 2007
@ Looking at y'all and sighing
|
#6
|
The Following 2 Users Say Thank You to qwerty12 For This Useful Post: | ||
|
2009-04-08
, 13:50
|
Posts: 432 |
Thanked: 645 times |
Joined on Mar 2009
|
#7
|
|
2009-04-08
, 14:59
|
Posts: 37 |
Thanked: 19 times |
Joined on Mar 2009
@ Scotland
|
#8
|
Essentially the 'Quit' item is not added to the File menu, but instead is added as last top level item on the menu bar. The code which shows the problem is;
Last edited by fifth; 2009-04-01 at 17:34.