forked from qt-creator/qt-creator
Utils: emit validChanged for the delayed valid check
of FancyLineEdit and PathChooser Change-Id: I9719d32928d8166dfae7844af4eefc94ca143eb1 Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -1122,6 +1122,7 @@ void StringAspect::addToLayout(LayoutItem &parent)
|
||||
});
|
||||
}
|
||||
}
|
||||
connect(d->m_pathChooserDisplay, &PathChooser::validChanged, this, &StringAspect::validChanged);
|
||||
break;
|
||||
case LineEditDisplay:
|
||||
d->m_lineEditDisplay = createSubWidget<FancyLineEdit>();
|
||||
@@ -1167,6 +1168,7 @@ void StringAspect::addToLayout(LayoutItem &parent)
|
||||
});
|
||||
parent.addItem(resetButton);
|
||||
}
|
||||
connect(d->m_lineEditDisplay, &FancyLineEdit::validChanged, this, &StringAspect::validChanged);
|
||||
break;
|
||||
case TextEditDisplay:
|
||||
d->m_textEditDisplay = createSubWidget<QTextEdit>();
|
||||
|
||||
@@ -507,6 +507,7 @@ public:
|
||||
|
||||
signals:
|
||||
void checkedChanged();
|
||||
void validChanged(bool validState);
|
||||
|
||||
protected:
|
||||
void internalToGui() override;
|
||||
|
||||
Reference in New Issue
Block a user