Changeset 78884 in vbox for trunk/src/VBox/Frontends/VirtualBox
- Timestamp:
- May 30, 2019 7:40:39 PM (6 years ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/softkeyboard/UISoftKeyboard.cpp
r78854 r78884 690 690 QPainter painter(this); 691 691 QFont painterFont(font()); 692 painterFont.setPixelSize(1 6);692 painterFont.setPixelSize(15); 693 693 painter.setFont(painterFont); 694 694 painter.setRenderHint(QPainter::Antialiasing); … … 704 704 painter.translate(key.keyGeometry().x(), key.keyGeometry().y()); 705 705 painter.drawPolygon(key.polygon()); 706 QRect textRect(0, 0, key.keyGeometry().width(), key.keyGeometry().height()); 707 //painter.drawText(textRect, Qt::TextWordWrap, key.keyCap()); 708 painter.drawText(textRect, Qt::TextWordWrap, QString::number(key.position())); 706 QRect textRect(5, 5, key.keyGeometry().width(), key.keyGeometry().height()); 707 painter.drawText(textRect, Qt::TextWordWrap, key.keyCap()); 709 708 painter.translate(-key.keyGeometry().x(), -key.keyGeometry().y()); 710 709 } … … 724 723 if (key.polygonInGlobal().containsPoint(eventPosition, Qt::OddEvenFill)) 725 724 { 726 //printf ("%s\n", qPrintable(key.keyCap()));727 725 break; 728 726 } -
trunk/src/VBox/Frontends/VirtualBox/xml/102_iso.xml
r78854 r78884 87 87 </key> 88 88 <key> 89 <keycap>ScrollLock</keycap> 89 <keycap>Scroll</keycap> 90 <keycap>Lock</keycap> 90 91 <position>125</position> 91 92 <scancode>0x46</scancode> … … 202 203 </key> 203 204 <key> 204 <keycap>P ageUp</keycap>205 <keycap>PgUp</keycap> 205 206 <position>85</position> 206 207 <scancodeprefix>0xe0</scancodeprefix> … … 208 209 </key> 209 210 </row> 210 <!-- ======================================= -->211 211 <row> 212 212 <key> … … 283 283 <keycap>Enter</keycap> 284 284 <position>43</position> 285 <scancode>0x 2b</scancode>285 <scancode>0x1c</scancode> 286 286 <cutout> 287 287 <width>25</width> … … 294 294 </space> 295 295 <key> 296 <keycap> PrtScn</keycap>296 <keycap>Delete</keycap> 297 297 <position>76</position> 298 <scancode></scancode> 299 </key> 300 <key> 301 <keycap>ScrollLock</keycap> 298 <scancode>0x53</scancode> 299 <scancodeprefix>0xe0</scancodeprefix> 300 </key> 301 <key> 302 <keycap>End</keycap> 302 303 <position>81</position> 303 <scancode>0x46</scancode> 304 </key> 305 <key> 306 <keycap>ScrollLock</keycap> 304 <scancodeprefix>0xe0</scancodeprefix> 305 <scancode>0x4f</scancode> 306 </key> 307 <key> 308 <keycap>PgDn</keycap> 307 309 <position>86</position> 308 <scancode>0x46</scancode> 310 <scancode>0x51</scancode> 311 <scancodeprefix>0xe0</scancodeprefix> 309 312 </key> 310 313 </row> … … 378 381 <keycap>'</keycap> 379 382 <position>42</position> 380 <scancode>0x 28</scancode>383 <scancode>0xff</scancode> 381 384 </key> 382 385 </row> … … 460 463 <key> 461 464 <keycap>Up</keycap> 465 <scancodeprefix>0xe0</scancodeprefix> 462 466 <position>83</position> 463 <scancode>0x 35</scancode>467 <scancode>0x48</scancode> 464 468 </key> 465 469 </row> … … 521 525 <keycap>Left</keycap> 522 526 <position>79</position> 523 <scancode>0x35</scancode> 527 <scancodeprefix>0xe0</scancodeprefix> 528 <scancode>0x4b</scancode> 524 529 </key> 525 530 <key> 526 531 <keycap>Down</keycap> 527 532 <position>84</position> 528 <scancode>0x35</scancode> 533 <scancodeprefix>0xe0</scancodeprefix> 534 <scancode>0x50</scancode> 529 535 </key> 530 536 <key> 531 537 <keycap>Right</keycap> 532 538 <position>89</position> 533 <scancode>0x35</scancode> 539 <scancodeprefix>0xe0</scancodeprefix> 540 <scancode>0x4d</scancode> 534 541 </key> 535 542
Note:
See TracChangeset
for help on using the changeset viewer.