38
38
setCaption( i18n( "Object Properties" ) );
39
39
QLabel *x_label = new QLabel( i18n( "X:" ), this, "kde toolbar widget" );
40
40
insertWidget( 0, x_label->width(), x_label );
41
m_x = new KoUnitDoubleSpinBox( this, 0.0, 1000.0, 0.5 );
41
m_x = new KoBuggyUnitDoubleSpinBox( this, 0.0, 1000.0, 0.5 );
42
42
connect( m_x, SIGNAL( valueChanged( double ) ), this, SLOT( slotXChanged( double ) ) );
43
43
insertWidget( 1, m_x->width(), m_x );
44
44
QLabel *y_label = new QLabel( i18n( "Y:" ), this, "kde toolbar widget" );
45
45
insertWidget( 2, y_label->width(), y_label );
46
m_y = new KoUnitDoubleSpinBox( this, 0.0, 1000.0, 0.5 );
46
m_y = new KoBuggyUnitDoubleSpinBox( this, 0.0, 1000.0, 0.5 );
47
47
connect( m_y, SIGNAL( valueChanged( double ) ), this, SLOT( slotYChanged( double ) ) );
48
48
insertWidget( 3, m_y->width(), m_y );
50
50
insertSeparator( 4 );
51
51
QLabel *w_label = new QLabel( i18n( "Width:" ), this, "kde toolbar widget" );
52
52
insertWidget( 5, w_label->width(), w_label );
53
m_width = new KoUnitDoubleSpinBox( this, 0.0, 1000.0, 0.5 );
53
m_width = new KoBuggyUnitDoubleSpinBox( this, 0.0, 1000.0, 0.5 );
54
54
connect( m_width, SIGNAL( valueChanged( double ) ), this, SLOT( slotWidthChanged( double ) ) );
55
55
insertWidget( 6, m_width->width(), m_width );
56
56
QLabel *h_label = new QLabel( i18n( "Height:" ), this, "kde toolbar widget" );
57
57
insertWidget( 7, h_label->width(), h_label );
58
m_height = new KoUnitDoubleSpinBox( this, 0.0, 1000.0, 0.5 );
58
m_height = new KoBuggyUnitDoubleSpinBox( this, 0.0, 1000.0, 0.5 );
59
59
connect( m_height, SIGNAL( valueChanged( double ) ), this, SLOT( slotHeightChanged( double ) ) );
60
60
insertWidget( 8, m_height->width(), m_height );