27 #include "Application.h"
32 #include <QtGui/QMenu>
33 #include <QtGui/QMouseEvent>
52 if(evt->button() == Qt::RightButton)
56 if(m_parent->isFullScreen())
58 QAction* viewNormal =
new QAction(tr(
"&View Normal"),
this);
60 m.addAction(viewNormal);
62 connect(viewNormal, SIGNAL(triggered()), m_parent, SLOT(viewNormal()));
66 m.exec(evt->globalPos());
69 QTabWidget::mousePressEvent(evt);
A widget that can be used to show and control he execution of a script.
ScriptTabWidget(Application *parent)
The main tab widget may be used to display several scripts.
Application * getApplication() const
void mousePressEvent(QMouseEvent *evt)