QTfrontend/ui/widget/teamselect.cpp
changeset 13230 d5a029299407
parent 12688 e095ed002652
child 13689 27e5e311c7a3
equal deleted inserted replaced
13228:d23742ccf92b 13230:d5a029299407
   248     if (minHeight > 0)
   248     if (minHeight > 0)
   249         area->setMinimumHeight(minHeight);
   249         area->setMinimumHeight(minHeight);
   250     if (maxHeight > 0)
   250     if (maxHeight > 0)
   251         area->setMaximumHeight(maxHeight);
   251         area->setMaximumHeight(maxHeight);
   252     if (setFrame)
   252     if (setFrame)
   253     {
   253         pfteams->setDecoFrameEnabled(true);
   254         area->setStyleSheet(
       
   255             "FrameTeams{"
       
   256             "border: solid;"
       
   257             "border-width: 1px;"
       
   258             "border-radius: 16px;"
       
   259             "border-color: #ffcc00;"
       
   260             "}"
       
   261         );
       
   262     }
       
   263 }
   254 }
   264 
   255 
   265 TeamSelWidget::TeamSelWidget(QWidget* parent) :
   256 TeamSelWidget::TeamSelWidget(QWidget* parent) :
   266     QGroupBox(parent), mainLayout(this), m_acceptOuter(false)
   257     QGroupBox(parent), mainLayout(this), m_acceptOuter(false)
   267 {
   258 {