Fixed indentation.
svn path=/trunk/KDE/kdebase/workspace/; revision=1174511
This commit is contained in:
parent
256a1a79c3
commit
d4d985b30d
2 changed files with 31 additions and 31 deletions
|
@ -32,22 +32,22 @@
|
|||
namespace Oxygen
|
||||
{
|
||||
|
||||
//_________________________________________________________
|
||||
ShadowConfigurationUi::ShadowConfigurationUi( QWidget* parent ):
|
||||
QGroupBox( parent )
|
||||
{
|
||||
ui.setupUi( this );
|
||||
//_________________________________________________________
|
||||
ShadowConfigurationUi::ShadowConfigurationUi( QWidget* parent ):
|
||||
QGroupBox( parent )
|
||||
{
|
||||
ui.setupUi( this );
|
||||
|
||||
// connections
|
||||
ui.outerColor->setEnabled( false );
|
||||
connect( ui.useOuterColor, SIGNAL( toggled( bool ) ), SLOT( enableOuterColor() ) );
|
||||
connect( this, SIGNAL( toggled( bool ) ), SLOT( enableOuterColor() ) );
|
||||
// connections
|
||||
ui.outerColor->setEnabled( false );
|
||||
connect( ui.useOuterColor, SIGNAL( toggled( bool ) ), SLOT( enableOuterColor() ) );
|
||||
connect( this, SIGNAL( toggled( bool ) ), SLOT( enableOuterColor() ) );
|
||||
|
||||
connect( ui.shadowSize, SIGNAL( valueChanged( int ) ), SIGNAL( changed() ) );
|
||||
connect( ui.verticalOffset, SIGNAL( valueChanged( int ) ), SIGNAL( changed() ) );
|
||||
connect( ui.innerColor, SIGNAL( changed( const QColor& ) ), SIGNAL( changed() ) );
|
||||
connect( ui.outerColor, SIGNAL( changed( const QColor& ) ), SIGNAL( changed() ) );
|
||||
connect( ui.useOuterColor, SIGNAL( toggled( bool ) ), SIGNAL( changed() ) );
|
||||
}
|
||||
connect( ui.shadowSize, SIGNAL( valueChanged( int ) ), SIGNAL( changed() ) );
|
||||
connect( ui.verticalOffset, SIGNAL( valueChanged( int ) ), SIGNAL( changed() ) );
|
||||
connect( ui.innerColor, SIGNAL( changed( const QColor& ) ), SIGNAL( changed() ) );
|
||||
connect( ui.outerColor, SIGNAL( changed( const QColor& ) ), SIGNAL( changed() ) );
|
||||
connect( ui.useOuterColor, SIGNAL( toggled( bool ) ), SIGNAL( changed() ) );
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -31,30 +31,30 @@
|
|||
namespace Oxygen
|
||||
{
|
||||
|
||||
//_____________________________________________
|
||||
class ShadowConfigurationUi: public QGroupBox
|
||||
{
|
||||
//_____________________________________________
|
||||
class ShadowConfigurationUi: public QGroupBox
|
||||
{
|
||||
|
||||
Q_OBJECT
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
public:
|
||||
|
||||
//! constructor
|
||||
ShadowConfigurationUi( QWidget* );
|
||||
Ui_ShadowConfiguraionUI ui;
|
||||
//! constructor
|
||||
ShadowConfigurationUi( QWidget* );
|
||||
Ui_ShadowConfiguraionUI ui;
|
||||
|
||||
signals:
|
||||
signals:
|
||||
|
||||
//! emmitted when configuration is changed
|
||||
void changed( void );
|
||||
//! emmitted when configuration is changed
|
||||
void changed( void );
|
||||
|
||||
protected slots:
|
||||
protected slots:
|
||||
|
||||
//! update enable state of outer color chooser
|
||||
void enableOuterColor( void )
|
||||
{ ui.outerColor->setEnabled( isChecked() && ui.useOuterColor->isChecked() ); }
|
||||
//! update enable state of outer color chooser
|
||||
void enableOuterColor( void )
|
||||
{ ui.outerColor->setEnabled( isChecked() && ui.useOuterColor->isChecked() ); }
|
||||
|
||||
};
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue