Reformatting code using Kernighan & Ritchie style, tabs, tab width=4.
Command line: astyle --style=kr --indent=force-tab=4 --lineend=linux -n -r <file names>
This commit is contained in:
@@ -1,15 +1,16 @@
|
||||
#include "mymenubar.h"
|
||||
|
||||
MyMenuBar::MyMenuBar(QMainWindow* parent)
|
||||
: QMenuBar(parent)
|
||||
: QMenuBar(parent)
|
||||
{
|
||||
#if (QT_VERSION >= 0x040501)
|
||||
this->setAttribute(Qt::WA_TranslucentBackground);
|
||||
this->setStyleSheet("QMenuBar { border-width: 0px; border-style: none;} ");
|
||||
#endif
|
||||
this->setStyleSheet("QMenuBar { border-width: 0px; border-style: none;} ");
|
||||
#endif
|
||||
}
|
||||
|
||||
void MyMenuBar::paintEvent(QPaintEvent *e) {
|
||||
void MyMenuBar::paintEvent(QPaintEvent *e)
|
||||
{
|
||||
|
||||
QMenuBar::paintEvent(e);
|
||||
QMenuBar::paintEvent(e);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user