diff options
Diffstat (limited to 'kpovmodeler/pmlistpatternedit.cpp')
-rw-r--r-- | kpovmodeler/pmlistpatternedit.cpp | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/kpovmodeler/pmlistpatternedit.cpp b/kpovmodeler/pmlistpatternedit.cpp index 1c8c6f34..dec87cb7 100644 --- a/kpovmodeler/pmlistpatternedit.cpp +++ b/kpovmodeler/pmlistpatternedit.cpp @@ -41,39 +41,39 @@ void PMListPatternEdit::createTopWidgets( ) { Base::createTopWidgets( ); - TQVBoxLayout* vtqlayout = new TQVBoxLayout( topLayout( ) ); + TQVBoxLayout* vlayout = new TQVBoxLayout( topLayout( ) ); /* Field for Pattern List type */ - TQHBoxLayout* tqlayout = new TQHBoxLayout( vtqlayout ); + TQHBoxLayout* layout = new TQHBoxLayout( vlayout ); TQLabel* label = new TQLabel( i18n( "Type:" ), this ); m_pTypeCombo = new TQComboBox( false, this ); m_pTypeCombo->insertItem( i18n( "Checkers" ) ); m_pTypeCombo->insertItem( i18n( "Brick" ) ); m_pTypeCombo->insertItem( i18n( "Hexagon" ) ); - tqlayout->addWidget( label, 0, AlignTop ); - tqlayout->addWidget( m_pTypeCombo ); - tqlayout->addStretch( 1 ); + layout->addWidget( label, 0, AlignTop ); + layout->addWidget( m_pTypeCombo ); + layout->addStretch( 1 ); /* The depth field */ - tqlayout = new TQHBoxLayout( vtqlayout ); + layout = new TQHBoxLayout( vlayout ); m_pDepthLabel = new TQLabel( i18n( "Depth:" ), this ); m_pDepth = new PMFloatEdit( this ); - tqlayout->addWidget( m_pDepthLabel ); - tqlayout->addWidget( m_pDepth ); - tqlayout->addStretch( 1 ); + layout->addWidget( m_pDepthLabel ); + layout->addWidget( m_pDepth ); + layout->addStretch( 1 ); /* The brick information */ - TQHBoxLayout* bricklayout = new TQHBoxLayout( vtqlayout ); + TQHBoxLayout* bricklayout = new TQHBoxLayout( vlayout ); m_pBrickSizeLabel = new TQLabel( i18n( "Brick size:" ), this ); m_pBrickSize = new PMVectorEdit( "x", "y", "z", this ); bricklayout->addWidget( m_pBrickSizeLabel ); bricklayout->addWidget( m_pBrickSize ); - tqlayout = new TQHBoxLayout( vtqlayout ); + layout = new TQHBoxLayout( vlayout ); m_pMortarLabel = new TQLabel( i18n( "Mortar:" ), this ); m_pMortar = new PMFloatEdit( this ); - tqlayout->addWidget( m_pMortarLabel ); - tqlayout->addWidget( m_pMortar ); - tqlayout->addStretch( 1 ); + layout->addWidget( m_pMortarLabel ); + layout->addWidget( m_pMortar ); + layout->addStretch( 1 ); /* connect all signals to slots/signals */ connect( m_pBrickSize, TQT_SIGNAL( dataChanged( ) ), TQT_SIGNAL( dataChanged( ) ) ); |