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 this->setMaximumHeight(40); |
18 this->setMaximumHeight(45); |
19 QPixmap* px=new QPixmap(QPixmap(datadir->absolutePath() + "/Forts/" + m_team.Fort + "L.png").scaled(40, 40)); |
19 QPixmap* px=new QPixmap(QPixmap(datadir->absolutePath() + "/Forts/" + m_team.Fort + "L.png").scaled(40, 40)); |
20 |
20 |
21 QPushButton* butt=new QPushButton(*px, "", this); |
21 QPushButton* butt=new QPushButton(*px, "", this); |
22 butt->setFlat(true); |
22 butt->setFlat(true); |
23 butt->setGeometry(0, 0, 30, 30); |
23 butt->setGeometry(0, 0, 30, 30); |