|
|
|
@ -77,14 +77,14 @@ void FillLineCombo( KComboBox* box )
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
PropertyWidget::PropertyWidget(TQWidget* tqparent )
|
|
|
|
|
: TQWidget( tqparent, 0 )
|
|
|
|
|
PropertyWidget::PropertyWidget(TQWidget* parent )
|
|
|
|
|
: TQWidget( parent, 0 )
|
|
|
|
|
{
|
|
|
|
|
grid = new TQGridLayout( this, 2, 2 );
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
PropertyBorder::PropertyBorder( TQWidget* tqparent )
|
|
|
|
|
: PropertyWidget( tqparent )
|
|
|
|
|
PropertyBorder::PropertyBorder( TQWidget* parent )
|
|
|
|
|
: PropertyWidget( parent )
|
|
|
|
|
{
|
|
|
|
|
checkBorder = new TQCheckBox( this );
|
|
|
|
|
checkBorder->setText( i18n("&Border Visible") );
|
|
|
|
@ -134,8 +134,8 @@ void PropertyBorder::enableControls()
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
PropertyRotation::PropertyRotation( TQWidget* tqparent )
|
|
|
|
|
: PropertyWidget( tqparent )
|
|
|
|
|
PropertyRotation::PropertyRotation( TQWidget* parent )
|
|
|
|
|
: PropertyWidget( parent )
|
|
|
|
|
{
|
|
|
|
|
TQLabel* label = new TQLabel( i18n("&Rotation:"), this );
|
|
|
|
|
comboRotation = new KComboBox( FALSE, this );
|
|
|
|
@ -182,8 +182,8 @@ void PropertyRotation::initSettings( DocumentItem* item )
|
|
|
|
|
comboRotation->setCurrentItem( 3 );
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
PropertyFill::PropertyFill( TQWidget* tqparent )
|
|
|
|
|
: PropertyWidget( tqparent )
|
|
|
|
|
PropertyFill::PropertyFill( TQWidget* parent )
|
|
|
|
|
: PropertyWidget( parent )
|
|
|
|
|
{
|
|
|
|
|
buttonColor = new KColorButton( this );
|
|
|
|
|
|
|
|
|
@ -205,8 +205,8 @@ void PropertyFill::initSettings( DocumentItem* item )
|
|
|
|
|
buttonColor->setColor( rect->color() );
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
PropertyBarcode::PropertyBarcode( TokenProvider* token, TQWidget* tqparent )
|
|
|
|
|
: PropertyWidget( tqparent )
|
|
|
|
|
PropertyBarcode::PropertyBarcode( TokenProvider* token, TQWidget* parent )
|
|
|
|
|
: PropertyWidget( parent )
|
|
|
|
|
{
|
|
|
|
|
TQLabel* TextLabel1 = new TQLabel( this, "TextLabel1" );
|
|
|
|
|
TextLabel1->setText( i18n( "Barcode Settings:" ) );
|
|
|
|
@ -287,8 +287,8 @@ void PropertyBarcode::initSettings( DocumentItem* item )
|
|
|
|
|
changedCombo();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
PropertyText::PropertyText( TokenProvider* token, TQWidget* tqparent )
|
|
|
|
|
: PropertyWidget( tqparent )
|
|
|
|
|
PropertyText::PropertyText( TokenProvider* token, TQWidget* parent )
|
|
|
|
|
: PropertyWidget( parent )
|
|
|
|
|
{
|
|
|
|
|
m_editor = new MultiLineEditor( token, this, "m_editor" );
|
|
|
|
|
grid->addWidget( m_editor, 0, 0 );
|
|
|
|
@ -310,8 +310,8 @@ void PropertyText::initSettings( DocumentItem* item )
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
//NY21
|
|
|
|
|
PropertyTextLine::PropertyTextLine( TokenProvider* token, TQWidget* tqparent )
|
|
|
|
|
: PropertyWidget( tqparent )
|
|
|
|
|
PropertyTextLine::PropertyTextLine( TokenProvider* token, TQWidget* parent )
|
|
|
|
|
: PropertyWidget( parent )
|
|
|
|
|
{
|
|
|
|
|
m_editor = new TextLineEditor( token, this );
|
|
|
|
|
grid->addWidget( m_editor, 0, 0 );
|
|
|
|
@ -336,8 +336,8 @@ void PropertyTextLine::initSettings( DocumentItem* item )
|
|
|
|
|
}
|
|
|
|
|
//NY21
|
|
|
|
|
|
|
|
|
|
PropertySize::PropertySize( TQWidget* tqparent )
|
|
|
|
|
: PropertyWidget( tqparent )
|
|
|
|
|
PropertySize::PropertySize( TQWidget* parent )
|
|
|
|
|
: PropertyWidget( parent )
|
|
|
|
|
{
|
|
|
|
|
const double low = -1000.0;
|
|
|
|
|
const double max = 1000.0;
|
|
|
|
@ -460,8 +460,8 @@ void PropertySize::initSettings( DocumentItem* item )
|
|
|
|
|
enableControls();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
PropertyImage::PropertyImage( TokenProvider* token, TQWidget* tqparent )
|
|
|
|
|
: PropertyWidget( tqparent ), m_token( token )
|
|
|
|
|
PropertyImage::PropertyImage( TokenProvider* token, TQWidget* parent )
|
|
|
|
|
: PropertyWidget( parent ), m_token( token )
|
|
|
|
|
{
|
|
|
|
|
TQLabel* label = new TQLabel( i18n("&Rotation:"), this );
|
|
|
|
|
comboRotation = new KComboBox( FALSE, this );
|
|
|
|
@ -605,8 +605,8 @@ void PropertyImage::slotTokens()
|
|
|
|
|
imgExpression->insert( tokendlg.token() );
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
PropertyVisible::PropertyVisible( TQWidget* tqparent )
|
|
|
|
|
: PropertyWidget( tqparent )
|
|
|
|
|
PropertyVisible::PropertyVisible( TQWidget* parent )
|
|
|
|
|
: PropertyWidget( parent )
|
|
|
|
|
{
|
|
|
|
|
TQLabel* label = new TQLabel( i18n("Evaluate JavsScript code to define the visibility of this item:"), this );
|
|
|
|
|
m_script = new KTextEdit( this );
|
|
|
|
|