Hi,
Hope someone can help me here, menu options are not visible within an
application, this is what we are doing:
QMenu* menu = new QMenu(this);
m_clearAllAction = new QAction(tr("Clear all history"), this);
connect(m_clearAllAction,SIGNAL(triggered()), this,
SLOT(clearSearchHistory()) );
menu->addAction(m_clearAllAction);
menu->addAction(tr("About"), this, SLOT(about()));
m_clearAllAction->setEnabled(false);
QAction* myMenuKey = new QAction(tr("Options"), this);
myMenuKey->setSoftKeyRole(QAction::PositiveSoftKey);
myMenuKey->setMenu(menu);
addAction(myMenuKey );
QAction* exitAction = new QAction(tr("Exit"), this);
exitAction->setSoftKeyRole(QAction::NegativeSoftKey);
addAction(exitAction );
connect(exitAction, SIGNAL(triggered()), qApp, SLOT(quit()));
Also, we are not able to launch the default browser from application using
QDesktopServices::openUrl() (using MeeGo SDK), any ideas?
Thanks
Costas
---------------------------------------------------------------------
Intel Corporation (UK) Limited
Registered No. 1134945 (England)
Registered Office: Pipers Way, Swindon SN3 1RJ
VAT No: 860 2173 47
This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.
_______________________________________________
MeeGo-dev mailing list
[email protected]
http://lists.meego.com/listinfo/meego-dev