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()), connect(rightRB, SIGNAL(clicked()),
this, SLOT(checkEnabled())); this, SLOT(checkEnabled()));
decimalPointLE->setInputMask("X; ");
decimalPointLE->setMaxLength(1);
// initialize the length validator // initialize the length validator
addCheckedWidget(widthED, fixedWidthColLA); addCheckedWidget(widthED, fixedWidthColLA);
addCheckedWidget(multirowOffsetED, multirowOffsetLA); addCheckedWidget(multirowOffsetED, multirowOffsetLA);

View File

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