|
2009-11-16
, 14:06
|
Posts: 3,319 |
Thanked: 5,610 times |
Joined on Aug 2008
@ Finland
|
#2
|
The Following 3 Users Say Thank You to attila77 For This Useful Post: | ||
|
2010-03-10
, 12:01
|
Posts: 270 |
Thanked: 239 times |
Joined on Dec 2009
@ Czech Republic
|
#3
|
|
2010-03-10
, 12:07
|
|
Posts: 754 |
Thanked: 630 times |
Joined on Sep 2009
@ London
|
#4
|
action1 = new QAction(tr("&ACTION1"), this); action2 = new QAction(tr("&ACTION2"), this); menu = menuBar()->addMenu(tr("MENU TITLE")); menu->addAction(action1); menu->addAction(action2); connect(action1, SIGNAL(triggered()), this , SLOT(doAction1())); connect(action2, SIGNAL(triggered()), this , SLOT(doAction2()));
The Following User Says Thank You to krk969 For This Useful Post: | ||
|
2010-03-10
, 16:40
|
Posts: 270 |
Thanked: 239 times |
Joined on Dec 2009
@ Czech Republic
|
#5
|
QWidget *master = new QWidget(); QAction *action1 = new QAction(tr("&ACTION1"), this); QAction *action2 = new QAction(tr("&ACTION2"), this); connect(action1, SIGNAL(triggered()), this , SLOT(doAction1())); connect(action2, SIGNAL(triggered()), this , SLOT(doAction2())); master->addAction(action1); master->addAction(action2);
|
2010-03-10
, 16:43
|
|
Posts: 754 |
Thanked: 630 times |
Joined on Sep 2009
@ London
|
#6
|
|
2010-03-10
, 16:56
|
Posts: 270 |
Thanked: 239 times |
Joined on Dec 2009
@ Czech Republic
|
#7
|
|
2010-03-10
, 17:00
|
|
Posts: 754 |
Thanked: 630 times |
Joined on Sep 2009
@ London
|
#8
|
|
2010-03-10
, 17:03
|
Posts: 270 |
Thanked: 239 times |
Joined on Dec 2009
@ Czech Republic
|
#9
|
|
2010-03-10
, 17:10
|
|
Posts: 754 |
Thanked: 630 times |
Joined on Sep 2009
@ London
|
#10
|
The Following 2 Users Say Thank You to krk969 For This Useful Post: | ||
can someone tell me, how to get the menu, that appears from the top (for example when pressing clock in standby mode)?
QMenuBar is creating ad different style menu.
I'm using Qt 4.5 and Maemo 5.
Hi! I'm a Maemo Greeter!
Witaj na talk.maemo.org!
Useful links for newcomers:
Użyteczne linki:
Nowi użyktownicy mówią cześć | New members say hello , Tu zaczynają nowi użytkownicy | New users start here, Podforum społeczności | Community subforum, Wiki dla początkujących | Beginners' wiki page, Maemo5 101, Często zadawane pytania | Frequently Asked Questions (FAQ), Google
Jeżeli mogę w czymś pomóc, pytaj!
If I can help with anything else, just ask!
Bored? Follow me