QTfrontend/ui/page/pagenetgame.cpp
changeset 13703 9b73f079e811
parent 13694 27e5e311c7a3
equal deleted inserted replaced
13702:7f174e7285e5 13703:9b73f079e811
   141 
   141 
   142     const QIcon& lp = QIcon(":/res/Start.png");
   142     const QIcon& lp = QIcon(":/res/Start.png");
   143     QSize sz = lp.actualSize(QSize(65535, 65535));
   143     QSize sz = lp.actualSize(QSize(65535, 65535));
   144     BtnStart = new QPushButton();
   144     BtnStart = new QPushButton();
   145     BtnStart->setText(tr("Start"));
   145     BtnStart->setText(tr("Start"));
       
   146     BtnStart->setStyleSheet("padding: 5px 10px");
   146     BtnStart->setWhatsThis(tr("Start fighting (requires at least 2 teams)"));
   147     BtnStart->setWhatsThis(tr("Start fighting (requires at least 2 teams)"));
   147     BtnStart->setMinimumWidth(sz.width() + 60);
       
   148     BtnStart->setIcon(lp);
   148     BtnStart->setIcon(lp);
   149     BtnStart->setFixedHeight(50);
   149     BtnStart->setFixedHeight(50);
   150     BtnStart->setIconSize(sz);
   150     BtnStart->setIconSize(sz);
   151     BtnStart->setFlat(true);
   151     BtnStart->setFlat(true);
   152     BtnStart->setSizePolicy(QSizePolicy::Fixed, QSizePolicy::Fixed);
   152     BtnStart->setSizePolicy(QSizePolicy::Preferred, QSizePolicy::Fixed);
   153     bottomLayout->addWidget(BtnStart, 0, Qt::AlignBottom);
   153     bottomLayout->addWidget(BtnStart, 0, Qt::AlignBottom);
   154 
   154 
   155     return bottomLayout;
   155     return bottomLayout;
   156 }
   156 }
   157 
   157