Files
pokerth/src/gui/qt/gametable/mymenubar.cpp
T

17 lines
329 B
C++
Raw Normal View History

2009-04-19 20:23:20 +00:00
#include "mymenubar.h"
MyMenuBar::MyMenuBar(QMainWindow* parent)
: QMenuBar(parent)
2009-04-19 20:23:20 +00:00
{
#if (QT_VERSION >= 0x040501)
this->setAttribute(Qt::WA_TranslucentBackground);
this->setStyleSheet("QMenuBar { border-width: 0px; border-style: none;} ");
#endif
2009-04-19 20:23:20 +00:00
}
void MyMenuBar::paintEvent(QPaintEvent *e)
{
2009-04-19 20:23:20 +00:00
QMenuBar::paintEvent(e);
2009-04-19 20:23:20 +00:00
}