diff options
Diffstat (limited to 'kpovmodeler/pmcameraedit.cpp')
-rw-r--r-- | kpovmodeler/pmcameraedit.cpp | 66 |
1 files changed, 33 insertions, 33 deletions
diff --git a/kpovmodeler/pmcameraedit.cpp b/kpovmodeler/pmcameraedit.cpp index 471fa19a..1376efb9 100644 --- a/kpovmodeler/pmcameraedit.cpp +++ b/kpovmodeler/pmcameraedit.cpp @@ -30,8 +30,8 @@ #include <kmessagebox.h> -PMCameraEdit::PMCameraEdit( TQWidget* parent, const char* name ) - : Base( parent, name ) +PMCameraEdit::PMCameraEdit( TQWidget* tqparent, const char* name ) + : Base( tqparent, name ) { m_pDisplayedObject = 0; } @@ -40,7 +40,7 @@ void PMCameraEdit::createTopWidgets( ) { Base::createTopWidgets( ); - TQGridLayout* layout; + TQGridLayout* tqlayout; TQLabel* label; m_pCameraType = new TQComboBox( false, this ); @@ -53,10 +53,10 @@ void PMCameraEdit::createTopWidgets( ) m_pCameraType->insertItem( i18n( "Cylinder" ) ); m_pCylinderType = new TQComboBox( false, this ); - m_pCylinderType->insertItem( i18n( "1: Vertical, Fixed Viewpoint" ) ); - m_pCylinderType->insertItem( i18n( "2: Horizontal, Fixed Viewpoint" ) ); - m_pCylinderType->insertItem( i18n( "3: Vertical, Variable Viewpoint" ) ); - m_pCylinderType->insertItem( i18n( "4: Horizontal, Variable Viewpoint" ) ); + m_pCylinderType->insertItem( i18n( "1:Qt::Vertical, Fixed Viewpoint" ) ); + m_pCylinderType->insertItem( i18n( "2:Qt::Horizontal, Fixed Viewpoint" ) ); + m_pCylinderType->insertItem( i18n( "3:Qt::Vertical, Variable Viewpoint" ) ); + m_pCylinderType->insertItem( i18n( "4:Qt::Horizontal, Variable Viewpoint" ) ); m_pLocation = new PMVectorEdit( "x", "y", "z", this ); m_pSky = new PMVectorEdit( "x", "y", "z", this ); @@ -75,28 +75,28 @@ void PMCameraEdit::createTopWidgets( ) hl->addWidget( m_pCylinderTypeLabel ); hl->addWidget( m_pCylinderType ); - layout = new TQGridLayout( topLayout( ), 7, 2 ); - layout->addWidget( new TQLabel( i18n( "Location:" ), this ), 0, 0 ); - layout->addWidget( m_pLocation, 0, 1 ); + tqlayout = new TQGridLayout( topLayout( ), 7, 2 ); + tqlayout->addWidget( new TQLabel( i18n( "Location:" ), this ), 0, 0 ); + tqlayout->addWidget( m_pLocation, 0, 1 ); - layout->addWidget( new TQLabel( i18n( "Sky:" ), this ), 1, 0 ); - layout->addWidget( m_pSky, 1, 1 ); + tqlayout->addWidget( new TQLabel( i18n( "Sky:" ), this ), 1, 0 ); + tqlayout->addWidget( m_pSky, 1, 1 ); - layout->addWidget( new TQLabel( i18n( "Direction:" ), this ), 2, 0 ); - layout->addWidget( m_pDirection, 2, 1 ); + tqlayout->addWidget( new TQLabel( i18n( "Direction:" ), this ), 2, 0 ); + tqlayout->addWidget( m_pDirection, 2, 1 ); - layout->addWidget( new TQLabel( i18n( "Right:" ), this ), 3, 0 ); - layout->addWidget( m_pRight, 3, 1 ); + tqlayout->addWidget( new TQLabel( i18n( "Right:" ), this ), 3, 0 ); + tqlayout->addWidget( m_pRight, 3, 1 ); - layout->addWidget( new TQLabel( i18n( "Up:" ), this ), 4, 0 ); - layout->addWidget( m_pUp, 4, 1 ); + tqlayout->addWidget( new TQLabel( i18n( "Up:" ), this ), 4, 0 ); + tqlayout->addWidget( m_pUp, 4, 1 ); - layout->addWidget( new TQLabel( i18n( "Look at:" ), this ), 5, 0 ); - layout->addWidget( m_pLookAt, 5, 1 ); + tqlayout->addWidget( new TQLabel( i18n( "Look at:" ), this ), 5, 0 ); + tqlayout->addWidget( m_pLookAt, 5, 1 ); m_pEnableAngle = new TQCheckBox( i18n( "Angle:" ), this ); - layout->addWidget( m_pEnableAngle, 6, 0 ); - layout->addWidget( m_pAngle, 6, 1, AlignLeft ); + tqlayout->addWidget( m_pEnableAngle, 6, 0 ); + tqlayout->addWidget( m_pAngle, 6, 1, AlignLeft ); m_pFocalBlur = new TQCheckBox( i18n( "Focal blur" ), this ); topLayout( )->addWidget( m_pFocalBlur ); @@ -116,27 +116,27 @@ void PMCameraEdit::createTopWidgets( ) m_pVariance->setValidation( true, 0, false, 0 ); m_focalWidgets.append( m_pVariance ); - layout = new TQGridLayout( topLayout( ), 5, 2 ); + tqlayout = new TQGridLayout( topLayout( ), 5, 2 ); label = new TQLabel( i18n( "Aperture:" ), this ); m_focalWidgets.append( label ); - layout->addWidget( label, 0, 0 ); - layout->addWidget( m_pAperture, 0, 1 ); + tqlayout->addWidget( label, 0, 0 ); + tqlayout->addWidget( m_pAperture, 0, 1 ); label = new TQLabel( i18n( "Blur samples:" ), this ); m_focalWidgets.append( label ); - layout->addWidget( label, 1, 0 ); - layout->addWidget( m_pBlurSamples, 1, 1 ); + tqlayout->addWidget( label, 1, 0 ); + tqlayout->addWidget( m_pBlurSamples, 1, 1 ); label = new TQLabel( i18n( "Focal point:" ), this ); m_focalWidgets.append( label ); - layout->addWidget( label, 2, 0 ); - layout->addWidget( m_pFocalPoint, 2, 1 ); + tqlayout->addWidget( label, 2, 0 ); + tqlayout->addWidget( m_pFocalPoint, 2, 1 ); label = new TQLabel( i18n( "Confidence:" ), this ); m_focalWidgets.append( label ); - layout->addWidget( label, 3, 0 ); - layout->addWidget( m_pConfidence, 3, 1 ); + tqlayout->addWidget( label, 3, 0 ); + tqlayout->addWidget( m_pConfidence, 3, 1 ); label = new TQLabel( i18n( "Variance:" ), this ); m_focalWidgets.append( label ); - layout->addWidget( label, 4, 0 ); - layout->addWidget( m_pVariance, 4, 1 ); + tqlayout->addWidget( label, 4, 0 ); + tqlayout->addWidget( m_pVariance, 4, 1 ); m_pExport = new TQCheckBox( i18n( "Export to renderer" ), this ); topLayout( )->addWidget( m_pExport ); |