mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-07 02:28:35 +00:00
use validator rather than inputMask for line edit validation (part 2)
This commit is contained in:
parent
13df8f9a21
commit
24d72468c0
@ -178,7 +178,7 @@ GuiTabular::GuiTabular(QWidget * parent)
|
||||
connect(tabularWidthED, SIGNAL(textEdited(const QString &)),
|
||||
this, SLOT(checkEnabled()));
|
||||
|
||||
decimalPointED->setInputMask("X; ");
|
||||
decimalPointED->setValidator(new QRegExpValidator(QRegExp("\\S"), this));
|
||||
decimalPointED->setMaxLength(1);
|
||||
|
||||
// initialize the length validator
|
||||
|
@ -474,7 +474,7 @@
|
||||
</property>
|
||||
<property name="maximumSize">
|
||||
<size>
|
||||
<width>20</width>
|
||||
<width>40</width>
|
||||
<height>16777215</height>
|
||||
</size>
|
||||
</property>
|
||||
|
Loading…
Reference in New Issue
Block a user