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

16 lines
340 B
C++
Raw Normal View History

2009-04-19 20:23:20 +00:00
#include "mymenubar.h"
MyMenuBar::MyMenuBar(QMainWindow* parent)
: QMenuBar(parent)
{
#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
}
2009-04-24 22:53:52 +00:00
void MyMenuBar::paintEvent(QPaintEvent *e) {
2009-04-19 20:23:20 +00:00
2009-04-24 22:53:52 +00:00
QMenuBar::paintEvent(e);
2009-04-19 20:23:20 +00:00
}