summaryrefslogtreecommitdiff
path: root/inputmethods/handwriting
authorhash <hash>2002-11-25 10:07:40 (UTC)
committer hash <hash>2002-11-25 10:07:40 (UTC)
commit6525f85bff4ef02e6636e1b9cfdb3440cdeed78c (patch) (unidiff)
tree7f56d4a76fa0a54be9233f15749351dee2f9d753 /inputmethods/handwriting
parente73898d0cda891308115871bfbfa4a2739275c6a (diff)
downloadopie-6525f85bff4ef02e6636e1b9cfdb3440cdeed78c.zip
opie-6525f85bff4ef02e6636e1b9cfdb3440cdeed78c.tar.gz
opie-6525f85bff4ef02e6636e1b9cfdb3440cdeed78c.tar.bz2
for now, lets just disable the charset selection... there is something very
wrong with it.
Diffstat (limited to 'inputmethods/handwriting') (more/less context) (ignore whitespace changes)
-rw-r--r--inputmethods/handwriting/qimpenprefbase.ui8
-rw-r--r--inputmethods/handwriting/qimpensetup.cpp2
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
@@ -40,56 +40,56 @@
40 </property> 40 </property>
41 </widget> 41 </widget>
42 <widget> 42 <widget>
43 <class>QLayoutWidget</class> 43 <class>QLayoutWidget</class>
44 <property stdset="1"> 44 <property stdset="1">
45 <name>name</name> 45 <name>name</name>
46 <cstring>Layout2</cstring> 46 <cstring>Layout2</cstring>
47 </property> 47 </property>
48 <hbox> 48 <hbox>
49 <property stdset="1"> 49 <property stdset="1">
50 <name>margin</name> 50 <name>margin</name>
51 <number>0</number> 51 <number>0</number>
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">
84 <name>orientation</name> 84 <name>orientation</name>
85 <enum>Horizontal</enum> 85 <enum>Horizontal</enum>
86 </property> 86 </property>
87 <property stdset="1"> 87 <property stdset="1">
88 <name>tickmarks</name> 88 <name>tickmarks</name>
89 <enum>Right</enum> 89 <enum>Right</enum>
90 </property> 90 </property>
91 </widget> 91 </widget>
92 <widget> 92 <widget>
93 <class>QLabel</class> 93 <class>QLabel</class>
94 <property stdset="1"> 94 <property stdset="1">
95 <name>name</name> 95 <name>name</name>
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
@@ -72,49 +72,49 @@ static const char * const right_xpm[] = {
72" . ", 72" . ",
73" .. ", 73" .. ",
74" ... ", 74" ... ",
75" .... ", 75" .... ",
76" ..... ", 76" ..... ",
77" ...... ", 77" ...... ",
78" ..... ", 78" ..... ",
79" .... ", 79" .... ",
80" ... ", 80" ... ",
81" .. ", 81" .. ",
82" . ", 82" . ",
83" ", 83" ",
84" "}; 84" "};
85 85
86 86
87 87
88QIMPenSetup::QIMPenSetup( QIMPenProfile *p, QWidget *parent, 88QIMPenSetup::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 );
109#endif 109#endif
110 110
111 QTabWidget *tw = new QTabWidget( this ); 111 QTabWidget *tw = new QTabWidget( this );
112 vb->addWidget( tw ); 112 vb->addWidget( tw );
113 113
114 pref = new QIMPenPrefBase( this ); 114 pref = new QIMPenPrefBase( this );
115 tw->addTab( pref, tr("Preferences") ); 115 tw->addTab( pref, tr("Preferences") );
116 116
117 pref->inputStyle->setExclusive( TRUE ); 117 pref->inputStyle->setExclusive( TRUE );
118 118
119 style = profile->style() == QIMPenProfile::ToggleCases ? 1 : 0; 119 style = profile->style() == QIMPenProfile::ToggleCases ? 1 : 0;
120 pref->inputStyle->setButton( style ); 120 pref->inputStyle->setButton( style );