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
|
namespace Oxygen
|
||||||
{
|
{
|
||||||
|
|
||||||
//_________________________________________________________
|
//_________________________________________________________
|
||||||
ShadowConfigurationUi::ShadowConfigurationUi( QWidget* parent ):
|
ShadowConfigurationUi::ShadowConfigurationUi( QWidget* parent ):
|
||||||
QGroupBox( parent )
|
QGroupBox( parent )
|
||||||
{
|
{
|
||||||
ui.setupUi( this );
|
ui.setupUi( this );
|
||||||
|
|
||||||
// connections
|
// connections
|
||||||
ui.outerColor->setEnabled( false );
|
ui.outerColor->setEnabled( false );
|
||||||
connect( ui.useOuterColor, SIGNAL( toggled( bool ) ), SLOT( enableOuterColor() ) );
|
connect( ui.useOuterColor, SIGNAL( toggled( bool ) ), SLOT( enableOuterColor() ) );
|
||||||
connect( this, SIGNAL( toggled( bool ) ), SLOT( enableOuterColor() ) );
|
connect( this, SIGNAL( toggled( bool ) ), SLOT( enableOuterColor() ) );
|
||||||
|
|
||||||
connect( ui.shadowSize, SIGNAL( valueChanged( int ) ), SIGNAL( changed() ) );
|
connect( ui.shadowSize, SIGNAL( valueChanged( int ) ), SIGNAL( changed() ) );
|
||||||
connect( ui.verticalOffset, SIGNAL( valueChanged( int ) ), SIGNAL( changed() ) );
|
connect( ui.verticalOffset, SIGNAL( valueChanged( int ) ), SIGNAL( changed() ) );
|
||||||
connect( ui.innerColor, SIGNAL( changed( const QColor& ) ), SIGNAL( changed() ) );
|
connect( ui.innerColor, SIGNAL( changed( const QColor& ) ), SIGNAL( changed() ) );
|
||||||
connect( ui.outerColor, 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.useOuterColor, SIGNAL( toggled( bool ) ), SIGNAL( changed() ) );
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -31,30 +31,30 @@
|
||||||
namespace Oxygen
|
namespace Oxygen
|
||||||
{
|
{
|
||||||
|
|
||||||
//_____________________________________________
|
//_____________________________________________
|
||||||
class ShadowConfigurationUi: public QGroupBox
|
class ShadowConfigurationUi: public QGroupBox
|
||||||
{
|
{
|
||||||
|
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
|
||||||
//! constructor
|
//! constructor
|
||||||
ShadowConfigurationUi( QWidget* );
|
ShadowConfigurationUi( QWidget* );
|
||||||
Ui_ShadowConfiguraionUI ui;
|
Ui_ShadowConfiguraionUI ui;
|
||||||
|
|
||||||
signals:
|
signals:
|
||||||
|
|
||||||
//! emmitted when configuration is changed
|
//! emmitted when configuration is changed
|
||||||
void changed( void );
|
void changed( void );
|
||||||
|
|
||||||
protected slots:
|
protected slots:
|
||||||
|
|
||||||
//! update enable state of outer color chooser
|
//! update enable state of outer color chooser
|
||||||
void enableOuterColor( void )
|
void enableOuterColor( void )
|
||||||
{ ui.outerColor->setEnabled( isChecked() && ui.useOuterColor->isChecked() ); }
|
{ ui.outerColor->setEnabled( isChecked() && ui.useOuterColor->isChecked() ); }
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue