-rw-r--r-- | inputmethods/handwriting/qimpenprefbase.ui | 8 | ||||
-rw-r--r-- | inputmethods/handwriting/qimpensetup.cpp | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/inputmethods/handwriting/qimpenprefbase.ui b/inputmethods/handwriting/qimpenprefbase.ui index 1639d1a..4189206 100644 --- a/inputmethods/handwriting/qimpenprefbase.ui +++ b/inputmethods/handwriting/qimpenprefbase.ui | |||
@@ -52,32 +52,32 @@ | |||
52 | </property> | 52 | </property> |
53 | <property stdset="1"> | 53 | <property stdset="1"> |
54 | <name>spacing</name> | 54 | <name>spacing</name> |
55 | <number>6</number> | 55 | <number>6</number> |
56 | </property> | 56 | </property> |
57 | <widget> | 57 | <widget> |
58 | <class>QSlider</class> | 58 | <class>QSlider</class> |
59 | <property stdset="1"> | 59 | <property stdset="1"> |
60 | <name>name</name> | 60 | <name>name</name> |
61 | <cstring>multiStrokeSlider</cstring> | 61 | <cstring>multiStrokeSlider</cstring> |
62 | </property> | 62 | </property> |
63 | <property stdset="1"> | 63 | <property stdset="1"> |
64 | <name>minValue</name> | ||
65 | <number>250</number> | ||
66 | </property> | ||
67 | <property stdset="1"> | ||
68 | <name>maxValue</name> | 64 | <name>maxValue</name> |
69 | <number>1000</number> | 65 | <number>1000</number> |
70 | </property> | 66 | </property> |
71 | <property stdset="1"> | 67 | <property stdset="1"> |
68 | <name>minValue</name> | ||
69 | <number>250</number> | ||
70 | </property> | ||
71 | <property stdset="1"> | ||
72 | <name>lineStep</name> | 72 | <name>lineStep</name> |
73 | <number>10</number> | 73 | <number>10</number> |
74 | </property> | 74 | </property> |
75 | <property stdset="1"> | 75 | <property stdset="1"> |
76 | <name>pageStep</name> | 76 | <name>pageStep</name> |
77 | <number>50</number> | 77 | <number>50</number> |
78 | </property> | 78 | </property> |
79 | <property stdset="1"> | 79 | <property stdset="1"> |
80 | <name>value</name> | 80 | <name>value</name> |
81 | <number>500</number> | 81 | <number>500</number> |
82 | </property> | 82 | </property> |
83 | <property stdset="1"> | 83 | <property stdset="1"> |
diff --git a/inputmethods/handwriting/qimpensetup.cpp b/inputmethods/handwriting/qimpensetup.cpp index 5d49e03..10c136d 100644 --- a/inputmethods/handwriting/qimpensetup.cpp +++ b/inputmethods/handwriting/qimpensetup.cpp | |||
@@ -84,25 +84,25 @@ static const char * const right_xpm[] = { | |||
84 | " "}; | 84 | " "}; |
85 | 85 | ||
86 | 86 | ||
87 | 87 | ||
88 | QIMPenSetup::QIMPenSetup( QIMPenProfile *p, QWidget *parent, | 88 | QIMPenSetup::QIMPenSetup( QIMPenProfile *p, QWidget *parent, |
89 | const char *name, bool modal, int WFlags ) | 89 | const char *name, bool modal, int WFlags ) |
90 | : QDialog( parent, name, modal, WFlags ), profileCombo(0), profile(p) | 90 | : QDialog( parent, name, modal, WFlags ), profileCombo(0), profile(p) |
91 | { | 91 | { |
92 | setCaption( tr("Setup Handwriting Input") ); | 92 | setCaption( tr("Setup Handwriting Input") ); |
93 | 93 | ||
94 | QVBoxLayout *vb = new QVBoxLayout( this ); | 94 | QVBoxLayout *vb = new QVBoxLayout( this ); |
95 | 95 | ||
96 | #if 1 | 96 | #if 0 |
97 | profileList.setAutoDelete( true ); | 97 | profileList.setAutoDelete( true ); |
98 | QHBoxLayout *hb = new QHBoxLayout( vb ); | 98 | QHBoxLayout *hb = new QHBoxLayout( vb ); |
99 | hb->setMargin( 6 ); | 99 | hb->setMargin( 6 ); |
100 | QLabel *l = new QLabel( tr("Character Profile:"), this ); | 100 | QLabel *l = new QLabel( tr("Character Profile:"), this ); |
101 | hb->addWidget( l ); | 101 | hb->addWidget( l ); |
102 | profileCombo = new QComboBox( this ); | 102 | profileCombo = new QComboBox( this ); |
103 | connect( profileCombo, SIGNAL(activated(const QString &)), | 103 | connect( profileCombo, SIGNAL(activated(const QString &)), |
104 | this, SLOT(selectProfile(const QString &)) ); | 104 | this, SLOT(selectProfile(const QString &)) ); |
105 | hb->addWidget( profileCombo ); | 105 | hb->addWidget( profileCombo ); |
106 | loadProfiles(); | 106 | loadProfiles(); |
107 | #else | 107 | #else |
108 | profileList.append( profile ); | 108 | profileList.append( profile ); |