forked from qt-creator/qt-creator
Utils: Rework aspect implementation
This avoids some repetition and could be a step towards having type storage in (or rather accessible from) the base, so we can have aspects for more complex data (treemodels...) that are not easily converted to QVariant. Change-Id: I9797b3d5646195705212db1830d2b415291ac651 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -109,8 +109,8 @@ PythonWizardPage::PythonWizardPage(const QList<QPair<QString, QVariant>> &pySide
|
||||
m_stateLabel->setWordWrap(true);
|
||||
m_stateLabel->setFilled(true);
|
||||
m_stateLabel->setType(InfoLabel::Error);
|
||||
connect(&m_venvPath, &StringAspect::valueChanged, this, &PythonWizardPage::updateStateLabel);
|
||||
connect(&m_createVenv, &BoolAspect::valueChanged, this, &PythonWizardPage::updateStateLabel);
|
||||
connect(&m_venvPath, &BaseAspect::changed, this, &PythonWizardPage::updateStateLabel);
|
||||
connect(&m_createVenv, &BaseAspect::changed, this, &PythonWizardPage::updateStateLabel);
|
||||
|
||||
Grid {
|
||||
m_pySideVersion, br,
|
||||
|
||||
Reference in New Issue
Block a user