添加属性中‘类型’字段对于字符‘$’的支持
This commit is contained in:
parent
3d08efecc5
commit
933091566c
|
|
@ -194,7 +194,7 @@ QWidget* AttributeTableDelegate::createEditor(QWidget *parent, const QStyleOptio
|
|||
{
|
||||
TextEditWidget* textEditor = new TextEditWidget(parent);
|
||||
textEditor->setPrompt(QString::fromWCharArray(L"类型必须为英文"));
|
||||
textEditor->setRegularExpression("[A-Za-z0-9_]");
|
||||
textEditor->setRegularExpression("[A-Za-z0-9_$]");
|
||||
connect(textEditor, &TextEditWidget::confirm, this, [=]{
|
||||
/*QString strText = textEditor->editText();
|
||||
int id = SqlQueryExecutor::instance().getAttributeID(m_connection, strText);
|
||||
|
|
|
|||
Loading…
Reference in New Issue