summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--inputmethods/pickboard/pickboardpicks.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/inputmethods/pickboard/pickboardpicks.cpp b/inputmethods/pickboard/pickboardpicks.cpp
index b9d9928..bad1d24 100644
--- a/inputmethods/pickboard/pickboardpicks.cpp
+++ b/inputmethods/pickboard/pickboardpicks.cpp
@@ -216,97 +216,97 @@ static const char *BackTab_xpm[] = {
216"a..a....", 216"a..a....",
217"a.aa....", 217"a.aa....",
218"aaaaaaaa", 218"aaaaaaaa",
219"a.aa....", 219"a.aa....",
220"a..a....", 220"a..a....",
221"a......." 221"a......."
222}; 222};
223static const char *Tab_xpm[] = { 223static const char *Tab_xpm[] = {
224"8 7 2 1", 224"8 7 2 1",
225"a c #000000", 225"a c #000000",
226". c None", 226". c None",
227".......a", 227".......a",
228"....a..a", 228"....a..a",
229"....aa.a", 229"....aa.a",
230"aaaaaaaa", 230"aaaaaaaa",
231"....aa.a", 231"....aa.a",
232"....a..a", 232"....a..a",
233".......a" 233".......a"
234}; 234};
235static const char *Space_xpm[] = { 235static const char *Space_xpm[] = {
236"9 9 2 1", 236"9 9 2 1",
237"a c #000000", 237"a c #000000",
238". c None", 238". c None",
239"aaaaaaaaa", 239"aaaaaaaaa",
240"a.......a", 240"a.......a",
241"a.......a", 241"a.......a",
242"a.......a", 242"a.......a",
243"a.......a", 243"a.......a",
244"a.......a", 244"a.......a",
245"a.......a", 245"a.......a",
246"a.......a", 246"a.......a",
247"aaaaaaaaa" 247"aaaaaaaaa"
248}; 248};
249 249
250PickboardPicks::PickboardPicks(QWidget* parent, const char* name, WFlags f ) : 250PickboardPicks::PickboardPicks(QWidget* parent, const char* name, WFlags f ) :
251 QFrame(parent,name,f) 251 QFrame(parent,name,f)
252{ 252{
253 configs.setAutoDelete( TRUE ); 253 configs.setAutoDelete( TRUE );
254} 254}
255 255
256void PickboardPicks::initialise(void) 256void PickboardPicks::initialise(void)
257{ 257{
258 setSizePolicy(QSizePolicy(QSizePolicy::Expanding,QSizePolicy::Fixed)); 258 setSizePolicy(QSizePolicy(QSizePolicy::Expanding,QSizePolicy::Fixed));
259 mode = 0; 259 mode = 0;
260 260
261 DictFilterConfig* dc = new DictFilterConfig(this); 261 DictFilterConfig* dc = new DictFilterConfig(this);
262 QStringList sets_a = QStringList::split(' ',tr("ABC DEF GHI JKL MNO PQR STU VWX YZ-'")); 262 QStringList sets_a = QStringList::split(' ',tr("ABC DEF GHI JKL MNO PQR STU VWX YZ-'"));
263 QStringList sets = QStringList::split(' ', 263 QStringList sets = QStringList::split(' ',
264 tr("ABC%/1iso8859-15 DEF%/1iso8859-15 GHI%/1iso8859-15 JKL MNO%/1iso8859-15 PQR%/1iso8859-15 STU%/1iso8859-15 VWX YZ-'%/1iso8859-15")); 264 tr("ABC DEF GHI JKL MNO PQR STU VWX YZ-'"));
265 for (QStringList::ConstIterator it = sets.begin(), it_a = sets_a.begin(); it!=sets.end(); ++it,++it_a) 265 for (QStringList::ConstIterator it = sets.begin(), it_a = sets_a.begin(); it!=sets.end(); ++it,++it_a)
266 dc->addSet(*it_a,*it); 266 dc->addSet(*it_a,*it);
267 dc->addMode("123"); 267 dc->addMode("123");
268 dc->addMode("@*!?"); 268 dc->addMode("@*!?");
269 dc->addMode(tr("KEY")); 269 dc->addMode(tr("KEY"));
270 dc->addMode(tr("Space")); 270 dc->addMode(tr("Space"));
271 dc->addMode(tr("Back")); 271 dc->addMode(tr("Back"));
272 dc->addMode(tr("Enter")); 272 dc->addMode(tr("Enter"));
273 dc->addMode(tr("Shift")); 273 dc->addMode(tr("Shift"));
274 configs.append(dc); 274 configs.append(dc);
275 275
276 CharStringConfig* number = new CharStringConfig(this); 276 CharStringConfig* number = new CharStringConfig(this);
277 number->addChar("0"); 277 number->addChar("0");
278 number->addChar("1"); 278 number->addChar("1");
279 number->addChar("2"); 279 number->addChar("2");
280 number->addChar("3"); 280 number->addChar("3");
281 number->addChar("4"); 281 number->addChar("4");
282 number->addChar("5"); 282 number->addChar("5");
283 number->addChar("6"); 283 number->addChar("6");
284 number->addChar("7"); 284 number->addChar("7");
285 number->addChar("8"); 285 number->addChar("8");
286 number->addChar("9"); 286 number->addChar("9");
287 number->addChar("."); // #### or "," in some locales 287 number->addChar("."); // #### or "," in some locales
288 configs.append(number); 288 configs.append(number);
289 289
290 CharConfig* punc = new CharConfig(this); 290 CharConfig* punc = new CharConfig(this);
291 291
292 punc->addChar(0,"\""); 292 punc->addChar(0,"\"");
293 punc->addChar(0,"`"); 293 punc->addChar(0,"`");
294 punc->addChar(0,"'"); 294 punc->addChar(0,"'");
295 punc->addChar(0,"\253"); 295 punc->addChar(0,"\253");
296 punc->addChar(0,"\273"); 296 punc->addChar(0,"\273");
297 punc->addChar(0,"\277"); 297 punc->addChar(0,"\277");
298 punc->addChar(1,"("); 298 punc->addChar(1,"(");
299 punc->addChar(1,")"); 299 punc->addChar(1,")");
300 punc->addChar(1,"["); 300 punc->addChar(1,"[");
301 punc->addChar(1,"]"); 301 punc->addChar(1,"]");
302 punc->addChar(1,"{"); 302 punc->addChar(1,"{");
303 punc->addChar(1,"}"); 303 punc->addChar(1,"}");
304 304
305 punc->addChar(0,"+"); 305 punc->addChar(0,"+");
306 punc->addChar(0,"-"); 306 punc->addChar(0,"-");
307 punc->addChar(0,"*"); 307 punc->addChar(0,"*");
308 punc->addChar(0,"/"); 308 punc->addChar(0,"/");
309 punc->addChar(0,"="); 309 punc->addChar(0,"=");
310 punc->addChar(0,"_"); 310 punc->addChar(0,"_");
311 punc->addChar(0,"$"); 311 punc->addChar(0,"$");
312 punc->addChar(0,"&"); 312 punc->addChar(0,"&");