|
|
@ -36,24 +36,24 @@
|
|
|
|
VSelectToolBar::VSelectToolBar( KarbonView *view, const char* name ) : TDEToolBar( view, name ), m_view( view )
|
|
|
|
VSelectToolBar::VSelectToolBar( KarbonView *view, const char* name ) : TDEToolBar( view, name ), m_view( view )
|
|
|
|
{
|
|
|
|
{
|
|
|
|
setCaption( i18n( "Object Properties" ) );
|
|
|
|
setCaption( i18n( "Object Properties" ) );
|
|
|
|
TQLabel *x_label = new TQLabel( i18n( "X:" ), this, "kde toolbar widget" );
|
|
|
|
TQLabel *x_label = new TQLabel( i18n( "X:" ), this, "tde toolbar widget" );
|
|
|
|
insertWidget( 0, x_label->width(), x_label );
|
|
|
|
insertWidget( 0, x_label->width(), x_label );
|
|
|
|
m_x = new KoUnitDoubleSpinBox( this, 0.0, 1000.0, 0.5 );
|
|
|
|
m_x = new KoUnitDoubleSpinBox( this, 0.0, 1000.0, 0.5 );
|
|
|
|
connect( m_x, TQT_SIGNAL( valueChanged( double ) ), this, TQT_SLOT( slotXChanged( double ) ) );
|
|
|
|
connect( m_x, TQT_SIGNAL( valueChanged( double ) ), this, TQT_SLOT( slotXChanged( double ) ) );
|
|
|
|
insertWidget( 1, m_x->width(), m_x );
|
|
|
|
insertWidget( 1, m_x->width(), m_x );
|
|
|
|
TQLabel *y_label = new TQLabel( i18n( "Y:" ), this, "kde toolbar widget" );
|
|
|
|
TQLabel *y_label = new TQLabel( i18n( "Y:" ), this, "tde toolbar widget" );
|
|
|
|
insertWidget( 2, y_label->width(), y_label );
|
|
|
|
insertWidget( 2, y_label->width(), y_label );
|
|
|
|
m_y = new KoUnitDoubleSpinBox( this, 0.0, 1000.0, 0.5 );
|
|
|
|
m_y = new KoUnitDoubleSpinBox( this, 0.0, 1000.0, 0.5 );
|
|
|
|
connect( m_y, TQT_SIGNAL( valueChanged( double ) ), this, TQT_SLOT( slotYChanged( double ) ) );
|
|
|
|
connect( m_y, TQT_SIGNAL( valueChanged( double ) ), this, TQT_SLOT( slotYChanged( double ) ) );
|
|
|
|
insertWidget( 3, m_y->width(), m_y );
|
|
|
|
insertWidget( 3, m_y->width(), m_y );
|
|
|
|
|
|
|
|
|
|
|
|
insertSeparator( 4 );
|
|
|
|
insertSeparator( 4 );
|
|
|
|
TQLabel *w_label = new TQLabel( i18n( "selection width", "Width:" ), this, "kde toolbar widget" );
|
|
|
|
TQLabel *w_label = new TQLabel( i18n( "selection width", "Width:" ), this, "tde toolbar widget" );
|
|
|
|
insertWidget( 5, w_label->width(), w_label );
|
|
|
|
insertWidget( 5, w_label->width(), w_label );
|
|
|
|
m_width = new KoUnitDoubleSpinBox( this, 0.0, 1000.0, 0.5 );
|
|
|
|
m_width = new KoUnitDoubleSpinBox( this, 0.0, 1000.0, 0.5 );
|
|
|
|
connect( m_width, TQT_SIGNAL( valueChanged( double ) ), this, TQT_SLOT( slotWidthChanged( double ) ) );
|
|
|
|
connect( m_width, TQT_SIGNAL( valueChanged( double ) ), this, TQT_SLOT( slotWidthChanged( double ) ) );
|
|
|
|
insertWidget( 6, m_width->width(), m_width );
|
|
|
|
insertWidget( 6, m_width->width(), m_width );
|
|
|
|
TQLabel *h_label = new TQLabel( i18n( "Height:" ), this, "kde toolbar widget" );
|
|
|
|
TQLabel *h_label = new TQLabel( i18n( "Height:" ), this, "tde toolbar widget" );
|
|
|
|
insertWidget( 7, h_label->width(), h_label );
|
|
|
|
insertWidget( 7, h_label->width(), h_label );
|
|
|
|
m_height = new KoUnitDoubleSpinBox( this, 0.0, 1000.0, 0.5 );
|
|
|
|
m_height = new KoUnitDoubleSpinBox( this, 0.0, 1000.0, 0.5 );
|
|
|
|
connect( m_height, TQT_SIGNAL( valueChanged( double ) ), this, TQT_SLOT( slotHeightChanged( double ) ) );
|
|
|
|
connect( m_height, TQT_SIGNAL( valueChanged( double ) ), this, TQT_SLOT( slotHeightChanged( double ) ) );
|
|
|
|