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:
scorpio810
2015-12-30 20:04:17 +00:00
parent f93e2eb3e0
commit 396e2cf0f2
4 changed files with 18 additions and 9 deletions

View File

@@ -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;
}