Default decimal point mask is not translatable string

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36795 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Pavel Sanda 2010-12-09 20:31:56 +00:00
parent 34c26f89bb
commit a03d15bbdd
2 changed files with 5 additions and 2 deletions

View File

@ -153,6 +153,9 @@ GuiTabular::GuiTabular(QWidget * parent)
connect(rightRB, SIGNAL(clicked()),
this, SLOT(checkEnabled()));
decimalPointLE->setInputMask("X; ");
decimalPointLE->setMaxLength(1);
// initialize the length validator
addCheckedWidget(widthED, fixedWidthColLA);
addCheckedWidget(multirowOffsetED, multirowOffsetLA);

View File

@ -129,13 +129,13 @@
</size>
</property>
<property name="inputMask" >
<string>X; </string>
<string/>
</property>
<property name="text" >
<string/>
</property>
<property name="maxLength" >
<number>1</number>
<number>32767</number>
</property>
<property name="alignment" >
<set>Qt::AlignCenter</set>