mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-18 05:00:33 +01:00
Improve Basic shapes Properties size function replace QSpinBox by QDoublespinBox, int to double
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4296 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -134,10 +134,10 @@ bool ShapeGraphicsItemPropertiesWidget::setLiveEdit(bool live_edit)
|
||||
|
||||
if (m_live_edit){
|
||||
connect (ui->m_style_cb, SIGNAL(activated(int)), this, SLOT(apply()));
|
||||
connect (ui->m_size_cb, SIGNAL(valueChanged(int)), this, SLOT(apply()));
|
||||
connect (ui->m_size_cb, SIGNAL(valueChanged(double)), this, SLOT(apply()));
|
||||
}else
|
||||
disconnect (ui->m_style_cb, SIGNAL(activated(int)), this, SLOT(apply()));
|
||||
disconnect (ui->m_size_cb, SIGNAL(valueChanged(int)), this, SLOT(apply()));
|
||||
disconnect (ui->m_size_cb, SIGNAL(valueChanged(double)), this, SLOT(apply()));
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user