Changeset 340 in pacpusframework for branches/0.1.x


Ignore:
Timestamp:
Mar 2, 2015, 1:20:46 PM (10 years ago)
Author:
phudelai
Message:

Ajout de vrais boutons play/pause/stop dans le trunk
Remplacement des logos +/- dans le DBITEPlayer par des logos compréhenssibles
Ajout des toolTip sur les boutons du PacpusSensor et du DBITEPlayer

Location:
branches/0.1.x/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/0.1.x/src/DBITEPlayerLib/DbtPlyUserInterface.cpp

    r339 r340  
    181181    mainLayout->addWidget(stopBut,0,2);
    182182
    183     speedUpBut = new QPushButton ("+", this);
     183    speedUpBut = new QPushButton (style()->standardIcon(QStyle::SP_MediaSeekForward), "", this);
    184184    speedUpBut->resize(kButtonWidthInPixels, kButtonHeightInPixels);
     185        speedUpBut->setToolTip("Speed up the records");
    185186    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);
    189190    speedDownBut->resize(kButtonWidthInPixels, kButtonHeightInPixels);
     191        speedDownBut->setToolTip("Speed down the records");
    190192    butGroup->addButton(speedDownBut,5);
    191     mainLayout->addWidget(speedDownBut,1,1);
     193    mainLayout->addWidget(speedDownBut,1,0);
    192194
    193195    rev = new QCheckBox(tr("Reverse"), this);
  • branches/0.1.x/src/PacpusSensor/src/ui/pacpusmainwindow.cpp

    r339 r340  
    5959        buttonStart->setIcon(style()->standardIcon(QStyle::SP_MediaPlay));
    6060        buttonStop->setIcon(style()->standardIcon(QStyle::SP_MediaStop));
     61        buttonStart->setToolTip("Start all the components");
     62        buttonStop->setToolTip("Stop all the components");
    6163}
    6264
Note: See TracChangeset for help on using the changeset viewer.