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