]> SALOME platform Git repositories - modules/visu.git/commitdiff
Salome HOME
Fix of IPAL19300(bad view of play and other animation buttons).
authorakl <akl@opencascade.com>
Tue, 18 Mar 2008 14:46:50 +0000 (14:46 +0000)
committerakl <akl@opencascade.com>
Tue, 18 Mar 2008 14:46:50 +0000 (14:46 +0000)
src/VISUGUI/VisuGUI_TimeAnimation.cxx
src/VISUGUI/VisuGUI_TimeAnimation.h

index 215c6cca9bbd2863e32b944d68289664082ab05d..b00fe019f0cf3ede66693badd42cb2bba425468e 100644 (file)
@@ -1387,32 +1387,32 @@ VisuGUI_TimeAnimationDlg::VisuGUI_TimeAnimationDlg (VisuGUI* theModule,
           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() ) );
index 80aeaf53ac982b95ba77a7cf1194dcb10d02a261..d472288d0b3d97f80a078ff320e3e578fead9356 100644 (file)
@@ -228,7 +228,7 @@ class VisuGUI_TimeAnimationDlg: public QDialog
     QSlider* mySlider;
     QComboBox* myTypeCombo;
     QPushButton* myPropBtn;
-    QToolButton* myPlayBtn;
+    QPushButton* myPlayBtn;
     QLabel* myTimeLbl;
     QPushButton* mySetupBtn;
     QPushButton* myGenBtn;