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

File:
1 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);
Note: See TracChangeset for help on using the changeset viewer.