| 238 | } |
| 239 | |
| 240 | void DebugConsoleFilter::pointerAxis(PointerAxisEvent *event) |
| 241 | { |
| 242 | QString text = s_hr; |
| 243 | text.append(s_tableStart); |
| 244 | text.append(tableHeaderRow(i18nc("A mouse pointer axis (wheel) event", "Pointer Axis"))); |
| 245 | text.append(deviceRow(event->device)); |
| 246 | text.append(timestampRow(event->timestamp)); |
| 247 | text.append(tableRow(i18nc("The orientation of a pointer axis event", "Orientation"), |
| 248 | event->orientation == Qt::Horizontal ? i18nc("An orientation of a pointer axis event", "Horizontal") |
| 249 | : i18nc("An orientation of a pointer axis event", "Vertical"))); |
| 250 | text.append(tableRow(i18nc("The angle delta of a pointer axis event", "Delta"), event->delta)); |
| 251 | text.append(tableRow(i18nc("The normalized V120 angle delta of a pointer axis event. V120 is a technical term and shouldn't be changed.", "Delta (V120)"), event->deltaV120)); |
| 252 | text.append(s_tableEnd); |
| 253 | |
| 254 | m_textEdit->insertHtml(text); |
| 255 | m_textEdit->ensureCursorVisible(); |
| 256 | } |
| 257 | |
| 258 | void DebugConsoleFilter::keyboardKey(KeyboardKeyEvent *event) |
| 259 | { |
nothing calls this directly
no test coverage detected