Changeset View
Changeset View
Standalone View
Standalone View
debug_console.cpp
Show All 22 Lines | |||||
23 | #include "input_event.h" | 23 | #include "input_event.h" | ||
24 | #include "internal_client.h" | 24 | #include "internal_client.h" | ||
25 | #include "main.h" | 25 | #include "main.h" | ||
26 | #include "scene.h" | 26 | #include "scene.h" | ||
27 | #include "unmanaged.h" | 27 | #include "unmanaged.h" | ||
28 | #include "wayland_server.h" | 28 | #include "wayland_server.h" | ||
29 | #include "workspace.h" | 29 | #include "workspace.h" | ||
30 | #include "keyboard_input.h" | 30 | #include "keyboard_input.h" | ||
31 | #include "input_event.h" | ||||
31 | #include "libinput/connection.h" | 32 | #include "libinput/connection.h" | ||
32 | #include "libinput/device.h" | 33 | #include "libinput/device.h" | ||
33 | #include <kwinglplatform.h> | 34 | #include <kwinglplatform.h> | ||
34 | #include <kwinglutils.h> | 35 | #include <kwinglutils.h> | ||
35 | 36 | | |||
36 | #include "ui_debug_console.h" | 37 | #include "ui_debug_console.h" | ||
37 | 38 | | |||
38 | // KWayland | 39 | // KWayland | ||
▲ Show 20 Lines • Show All 442 Lines • ▼ Show 20 Line(s) | 456 | { | |||
481 | } | 482 | } | ||
482 | text.append(tableRow(i18nc("State of a hardware switch (on/off)", "State"), switchState)); | 483 | text.append(tableRow(i18nc("State of a hardware switch (on/off)", "State"), switchState)); | ||
483 | text.append(s_tableEnd); | 484 | text.append(s_tableEnd); | ||
484 | 485 | | |||
485 | m_textEdit->insertHtml(text); | 486 | m_textEdit->insertHtml(text); | ||
486 | m_textEdit->ensureCursorVisible(); | 487 | m_textEdit->ensureCursorVisible(); | ||
487 | } | 488 | } | ||
488 | 489 | | |||
489 | void DebugConsoleFilter::tabletToolEvent(QTabletEvent *event) | 490 | void DebugConsoleFilter::tabletToolEvent(TabletEvent *event) | ||
490 | { | 491 | { | ||
491 | QString typeString; | 492 | QString typeString; | ||
492 | { | 493 | { | ||
493 | QDebug d(&typeString); | 494 | QDebug d(&typeString); | ||
494 | d << event->type(); | 495 | d << event->type(); | ||
495 | } | 496 | } | ||
496 | 497 | | |||
497 | QString text = s_hr + s_tableStart + tableHeaderRow(i18n("Tablet Tool")) | 498 | QString text = s_hr + s_tableStart + tableHeaderRow(i18n("Tablet Tool")) | ||
▲ Show 20 Lines • Show All 1098 Lines • Show Last 20 Lines |