Changeset 339 in pacpusframework for branches


Ignore:
Timestamp:
Mar 2, 2015, 12:55:07 PM (10 years ago)
Author:
phudelai
Message:

Ajout de vrais boutons play/pause/stop dans PacpusSensor et DBITEPlayer

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

Legend:

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

    r152 r339  
    166166
    167167    butGroup = new QButtonGroup (this );
    168     playBut = new QPushButton ("|>", this);
     168    playBut = new QPushButton (style()->standardIcon(QStyle::SP_MediaPlay), "Play", this);
    169169    playBut->resize(kButtonWidthInPixels, kButtonHeightInPixels);
    170170    butGroup->addButton(playBut,1);
    171171    mainLayout->addWidget(playBut,0,0);
    172172
    173     pauseBut = new QPushButton ("||", this);
     173    pauseBut = new QPushButton (style()->standardIcon(QStyle::SP_MediaPause), "Pause", this);
    174174    pauseBut->resize(kButtonWidthInPixels, kButtonHeightInPixels);
    175175    butGroup->addButton(pauseBut,2);
    176176    mainLayout->addWidget(pauseBut,0,1);
    177177
    178     stopBut = new QPushButton ("O", this);
     178    stopBut = new QPushButton (style()->standardIcon(QStyle::SP_MediaStop), "Stop", this);
    179179    stopBut->resize(kButtonWidthInPixels, kButtonHeightInPixels);
    180180    butGroup->addButton(stopBut,3);
  • branches/0.1.x/src/PacpusSensor/src/ui/pacpusmainwindow.cpp

    r336 r339  
    5656
    5757    nbActiveComponent_ = 0;
     58
     59        buttonStart->setIcon(style()->standardIcon(QStyle::SP_MediaPlay));
     60        buttonStop->setIcon(style()->standardIcon(QStyle::SP_MediaStop));
    5861}
    5962
Note: See TracChangeset for help on using the changeset viewer.