this, SLOT( onWindowChanged(int) ) );
TopLayout->addWidget(mySlider, 1, 0, 1, 3);
- myPlayBtn = new QToolButton(myPlayFrame);
+ myPlayBtn = new QPushButton(myPlayFrame);
myPlayBtn->setIcon(MYplayPixmap);
myPlayBtn->setCheckable(true);
connect( myPlayBtn, SIGNAL( clicked() ),
this, SLOT( onPlayPressed() ) );
TopLayout->addWidget(myPlayBtn, 2, 0, 1, 2);
- QToolButton* aBackBtn = new QToolButton(myPlayFrame);
+ QPushButton* aBackBtn = new QPushButton(myPlayFrame);
aBackBtn->setIcon(QPixmap(leftIco));
connect( aBackBtn, SIGNAL( clicked() ),
this, SLOT( onBackPressed() ) );
TopLayout->addWidget(aBackBtn, 3, 0);
- QToolButton* aForvardBtn = new QToolButton(myPlayFrame);
+ QPushButton* aForvardBtn = new QPushButton(myPlayFrame);
aForvardBtn->setIcon(QPixmap(rightIco));
connect( aForvardBtn, SIGNAL( clicked() ),
this, SLOT( onForvardPressed() ) );
TopLayout->addWidget(aForvardBtn, 3, 1);
- QToolButton* aFirstBtn = new QToolButton(myPlayFrame);
+ QPushButton* aFirstBtn = new QPushButton(myPlayFrame);
aFirstBtn->setIcon(QPixmap(firstIco));
connect( aFirstBtn, SIGNAL( clicked() ),
this, SLOT( onFirstPressed() ) );
TopLayout->addWidget(aFirstBtn, 4, 0);
- QToolButton* aLastBtn = new QToolButton(myPlayFrame);
+ QPushButton* aLastBtn = new QPushButton(myPlayFrame);
aLastBtn->setIcon(QPixmap(lastIco));
connect( aLastBtn, SIGNAL( clicked() ),
this, SLOT( onLastPressed() ) );