Changeset 340 in pacpusframework for trunk/src/DBITEPlayerLib/DbtPlyUserInterface.cpp
- Timestamp:
- Mar 2, 2015, 1:20:46 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/DBITEPlayerLib/DbtPlyUserInterface.cpp
r294 r340 167 167 168 168 butGroup = new QButtonGroup(this); 169 playBut = new QPushButton ( "|>", this);169 playBut = new QPushButton (style()->standardIcon(QStyle::SP_MediaPlay), "Play", this); 170 170 playBut->resize(kButtonWidthInPixels, kButtonHeightInPixels); 171 171 butGroup->addButton(playBut,1); 172 172 mainLayout->addWidget(playBut,0,0); 173 173 174 pauseBut = new QPushButton ( "||", this);174 pauseBut = new QPushButton (style()->standardIcon(QStyle::SP_MediaPause), "Pause", this); 175 175 pauseBut->resize(kButtonWidthInPixels, kButtonHeightInPixels); 176 176 butGroup->addButton(pauseBut,2); 177 177 mainLayout->addWidget(pauseBut,0,1); 178 178 179 stopBut = new QPushButton ( "O", this);179 stopBut = new QPushButton (style()->standardIcon(QStyle::SP_MediaStop), "Stop", this); 180 180 stopBut->resize(kButtonWidthInPixels, kButtonHeightInPixels); 181 181 butGroup->addButton(stopBut,3); 182 182 mainLayout->addWidget(stopBut,0,2); 183 183 184 speedUpBut = new QPushButton ( "+", this);184 speedUpBut = new QPushButton (style()->standardIcon(QStyle::SP_MediaSeekForward), "", this); 185 185 speedUpBut->resize(kButtonWidthInPixels, kButtonHeightInPixels); 186 speedUpBut->setToolTip("Speed up the records"); 186 187 butGroup->addButton(speedUpBut,4); 187 mainLayout->addWidget(speedUpBut,1, 0);188 189 speedDownBut = new QPushButton ( "-", this);188 mainLayout->addWidget(speedUpBut,1,1); 189 190 speedDownBut = new QPushButton (style()->standardIcon(QStyle::SP_MediaSeekBackward), "", this); 190 191 speedDownBut->resize(kButtonWidthInPixels, kButtonHeightInPixels); 192 speedDownBut->setToolTip("Speed down the records"); 191 193 butGroup->addButton(speedDownBut,5); 192 mainLayout->addWidget(speedDownBut,1, 1);194 mainLayout->addWidget(speedDownBut,1,0); 193 195 194 196 rev = new QCheckBox(tr("Reverse"), this);
Note:
See TracChangeset
for help on using the changeset viewer.