Commit 16d5fb23 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Qt4 - Use same type of button in order to not kill the eyes, if you run...

Qt4 - Use same type of button in order to not kill the eyes, if you run Plastique or Oxygen. KDE inside :D

parent a2731364
...@@ -93,7 +93,7 @@ OpenDialog::OpenDialog( QWidget *parent, ...@@ -93,7 +93,7 @@ OpenDialog::OpenDialog( QWidget *parent,
buttonSizePolicy.setVerticalStretch( 0 ); buttonSizePolicy.setVerticalStretch( 0 );
/* Play Button */ /* Play Button */
playButton = new QToolButton( this ); playButton = new QToolButton;
playButton->setText( qtr( "&Play" ) ); playButton->setText( qtr( "&Play" ) );
playButton->setSizePolicy( buttonSizePolicy ); playButton->setSizePolicy( buttonSizePolicy );
playButton->setMinimumSize( QSize( 90, 0 ) ); playButton->setMinimumSize( QSize( 90, 0 ) );
...@@ -101,12 +101,12 @@ OpenDialog::OpenDialog( QWidget *parent, ...@@ -101,12 +101,12 @@ OpenDialog::OpenDialog( QWidget *parent,
playButton->setToolButtonStyle( Qt::ToolButtonTextOnly ); playButton->setToolButtonStyle( Qt::ToolButtonTextOnly );
/* Cancel Button */ /* Cancel Button */
cancelButton = new QPushButton(); cancelButton = new QToolButton;
cancelButton->setText( qtr( "&Cancel" ) ); cancelButton->setText( qtr( "&Cancel" ) );
cancelButton->setSizePolicy( buttonSizePolicy ); cancelButton->setSizePolicy( buttonSizePolicy );
/* Select Button */ /* Select Button */
selectButton = new QPushButton; selectButton = new QToolButton;
selectButton->setText( qtr( "Select" ) ); selectButton->setText( qtr( "Select" ) );
selectButton->setSizePolicy( buttonSizePolicy ); selectButton->setSizePolicy( buttonSizePolicy );
......
...@@ -79,7 +79,7 @@ private: ...@@ -79,7 +79,7 @@ private:
int i_action_flag; int i_action_flag;
QStringList SeparateEntries( QString ); QStringList SeparateEntries( QString );
QPushButton *cancelButton, *selectButton; QToolButton *cancelButton, *selectButton;
QToolButton *playButton; QToolButton *playButton;
void finish( bool ); void finish( bool );
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment