Skip to content

Commit

Permalink
Add some buttons alongside combo box in funhouse for checking heights
Browse files Browse the repository at this point in the history
  • Loading branch information
cancel committed Jul 7, 2020
1 parent 4b24a21 commit 6e9580b
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions funhouse/FunHouse.cpp
Expand Up @@ -217,6 +217,13 @@ QWidget* coolButtons() {
auto cb3 = new QComboBox;
cb3->addItem("Here's quite a bit of text");
hbox1->addWidget(cb3);
auto pb4 = new QPushButton;
pb4->setText("Just Text");
hbox1->addWidget(pb4);
auto pb5 = new QPushButton;
pb5->setText("And Icon");
pb5->setIcon(w->style()->standardIcon(QStyle::SP_ComputerIcon));
hbox1->addWidget(pb5);

auto hbox2 = new QHBoxLayout;
auto tb0 = new QToolButton;
Expand Down

0 comments on commit 6e9580b

Please sign in to comment.