Changeset 340 in pacpusframework
- Timestamp:
- Mar 2, 2015, 1:20:46 PM (10 years ago)
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/0.1.x/src/DBITEPlayerLib/DbtPlyUserInterface.cpp
r339 r340 181 181 mainLayout->addWidget(stopBut,0,2); 182 182 183 speedUpBut = new QPushButton ( "+", this);183 speedUpBut = new QPushButton (style()->standardIcon(QStyle::SP_MediaSeekForward), "", this); 184 184 speedUpBut->resize(kButtonWidthInPixels, kButtonHeightInPixels); 185 speedUpBut->setToolTip("Speed up the records"); 185 186 butGroup->addButton(speedUpBut,4); 186 mainLayout->addWidget(speedUpBut,1, 0);187 188 speedDownBut = new QPushButton ( "-", this);187 mainLayout->addWidget(speedUpBut,1,1); 188 189 speedDownBut = new QPushButton (style()->standardIcon(QStyle::SP_MediaSeekBackward), "", this); 189 190 speedDownBut->resize(kButtonWidthInPixels, kButtonHeightInPixels); 191 speedDownBut->setToolTip("Speed down the records"); 190 192 butGroup->addButton(speedDownBut,5); 191 mainLayout->addWidget(speedDownBut,1, 1);193 mainLayout->addWidget(speedDownBut,1,0); 192 194 193 195 rev = new QCheckBox(tr("Reverse"), this); -
branches/0.1.x/src/PacpusSensor/src/ui/pacpusmainwindow.cpp
r339 r340 59 59 buttonStart->setIcon(style()->standardIcon(QStyle::SP_MediaPlay)); 60 60 buttonStop->setIcon(style()->standardIcon(QStyle::SP_MediaStop)); 61 buttonStart->setToolTip("Start all the components"); 62 buttonStop->setToolTip("Stop all the components"); 61 63 } 62 64 -
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); -
trunk/src/PacpusSensor/src/ui/pacpusmainwindow.cpp
r162 r340 56 56 57 57 nbActiveComponent_ = 0; 58 59 buttonStart->setIcon(style()->standardIcon(QStyle::SP_MediaPlay)); 60 buttonStop->setIcon(style()->standardIcon(QStyle::SP_MediaStop)); 58 61 } 59 62
Note:
See TracChangeset
for help on using the changeset viewer.