equal
deleted
inserted
replaced
13 } |
13 } |
14 |
14 |
15 TeamShowWidget::TeamShowWidget(HWTeam team, bool isPlaying, QWidget * parent) : |
15 TeamShowWidget::TeamShowWidget(HWTeam team, bool isPlaying, QWidget * parent) : |
16 QWidget(parent), mainLayout(this), m_team(team), m_isPlaying(isPlaying) |
16 QWidget(parent), mainLayout(this), m_team(team), m_isPlaying(isPlaying) |
17 { |
17 { |
|
18 mainLayout.setSpacing(1); |
18 this->setMaximumHeight(45); |
19 this->setMaximumHeight(45); |
19 QPixmap* px=new QPixmap(QPixmap(datadir->absolutePath() + "/Forts/" + m_team.Fort + "L.png").scaled(40, 40)); |
20 QPixmap* px=new QPixmap(QPixmap(datadir->absolutePath() + "/Forts/" + m_team.Fort + "L.png").scaled(40, 40)); |
20 |
21 |
21 QPushButton* butt=new QPushButton(*px, "", this); |
22 QPushButton* butt=new QPushButton(*px, "", this); |
22 butt->setFlat(true); |
23 butt->setFlat(true); |