//create Menu Bar
QMenuBar*mb;
hl->setMenuBar(mb=new QMenuBar);
+ mb->setNativeMenuBar(false);
QMenu*m=mb->addMenu(tr("&Profile"));
m->addAction(tr("&New Profile..."),this,SLOT(newProfile()));
m->addAction(tr("&Delete Profile"),this,SLOT(deleteProfile()));
//create Menu Bar
QMenuBar*mb;
vl->setMenuBar(mb=new QMenuBar);
+ mb->setNativeMenuBar(false);
QMenu*m=mb->addMenu(tr("&File"));
m->addAction(tr("&Exit"),this,SLOT(close()));
m=mb->addMenu(tr("&Configure"));
m_changed=false;
QMenuBar*mb=menuBar();
+ mb->setNativeMenuBar(false);
QMenu *m=mb->addMenu(tr("&Order"));
m_res2order=m->addAction(tr("&Order..."),this,SLOT(createOrder()));
m_cancel=m->addAction(tr("C&ancel Order..."),this,SLOT(cancelOrder()));
//menu
QMenuBar*mb=menuBar();
+ mb->setNativeMenuBar(false);
QMenu*m=mb->addMenu(tr("&Window"));
m->addAction(tr("&Close"),this,SLOT(close()));
QMenuBar*MCartTab::menu()
{
QMenuBar*mb=new QMenuBar;
+ mb->setNativeMenuBar(false);
QMenu*m=mb->addMenu(tr("Ca&rt"));
m->addAction(tr("Add &Ticket"),this,SLOT(cartAddTicket()));
m->addAction(tr("Add &Voucher"),this,SLOT(cartAddVoucher()));
QMenuBar* MEntranceTab::menu() const
{
QMenuBar *mb=new QMenuBar;
+ mb->setNativeMenuBar(false);
QMenu*m=mb->addMenu("&Entrance");
m->addAction("&Configure...",this,SLOT(configure()));
m->addAction("&Recheck events",this,SLOT(initialize()));
{
//menu
QMenuBar*mb=new QMenuBar;
+ mb->setNativeMenuBar(false);
QMenu*m=mb->addMenu(tr("&Event"));
m->addAction(tr("&Update Event List"),this,SLOT(updateEvents()))
->setEnabled(req->hasRight(req->RGetAllEvents));
//menu
QMenuBar*mb=menuBar();
+ mb->setNativeMenuBar(false);
QMenu*m=mb->addMenu(tr("&Session"));
m->addAction(tr("&Re-Login"),this,SLOT(relogin()));
m->addAction(tr("Change my &Password"),this,SLOT(setMyPassword()))
hl->setMargin(0);
hl->setContentsMargins(0,0,0,0);
hl->addWidget(leftmenu=new QMenuBar,0);
+ leftmenu->setNativeMenuBar(false);
QFrame*frm;
hl->addWidget(frm=new QFrame,0);
frm->setFrameStyle(QFrame::VLine|QFrame::Sunken);
hl->addWidget(frm=new QFrame,0);
frm->setFrameStyle(QFrame::VLine|QFrame::Sunken);
hl->addWidget(rightmenu=new QMenuBar,0);
+ rightmenu->setNativeMenuBar(false);
rightmenu->addMenu(helpmenu=MApplication::helpMenu());
{
//menu
QMenuBar*mb=menuBar();
+ mb->setNativeMenuBar(false);
QMenu*m=mb->addMenu(tr("&File"));
m->addAction(tr("&Open File..."),this,SLOT(openFile()))
->setShortcut(QKeySequence(Qt::Key_Control|Qt::Key_O));