Changeset View
Changeset View
Standalone View
Standalone View
src/tests/kitemlistcontrollertest.cpp
Show First 20 Lines • Show All 320 Lines • ▼ Show 20 Line(s) | 302 | testList | |||
---|---|---|---|---|---|
321 | << qMakePair(KeyPress(Qt::Key_Space, Qt::ControlModifier), ViewState(0, KItemSet())) | 321 | << qMakePair(KeyPress(Qt::Key_Space, Qt::ControlModifier), ViewState(0, KItemSet())) | ||
322 | << qMakePair(KeyPress(Qt::Key_Enter), ViewState(0, KItemSet(), true)) | 322 | << qMakePair(KeyPress(Qt::Key_Enter), ViewState(0, KItemSet(), true)) | ||
323 | << qMakePair(KeyPress(Qt::Key_Space, Qt::ControlModifier), ViewState(0, KItemSet() << 0)) | 323 | << qMakePair(KeyPress(Qt::Key_Space, Qt::ControlModifier), ViewState(0, KItemSet() << 0)) | ||
324 | << qMakePair(KeyPress(Qt::Key_Space, Qt::ControlModifier), ViewState(0, KItemSet())) | 324 | << qMakePair(KeyPress(Qt::Key_Space, Qt::ControlModifier), ViewState(0, KItemSet())) | ||
325 | << qMakePair(KeyPress(Qt::Key_Space), ViewState(0, KItemSet() << 0)) | 325 | << qMakePair(KeyPress(Qt::Key_Space), ViewState(0, KItemSet() << 0)) | ||
326 | << qMakePair(KeyPress(Qt::Key_E), ViewState(13, KItemSet() << 13)) | 326 | << qMakePair(KeyPress(Qt::Key_E), ViewState(13, KItemSet() << 13)) | ||
327 | << qMakePair(KeyPress(Qt::Key_Space), ViewState(14, KItemSet() << 14)) | 327 | << qMakePair(KeyPress(Qt::Key_Space), ViewState(14, KItemSet() << 14)) | ||
328 | << qMakePair(KeyPress(Qt::Key_3), ViewState(15, KItemSet() << 15)) | 328 | << qMakePair(KeyPress(Qt::Key_3), ViewState(15, KItemSet() << 15)) | ||
329 | << qMakePair(KeyPress(Qt::Key_Escape), ViewState(15, KItemSet())) | ||||
330 | << qMakePair(KeyPress(Qt::Key_E), ViewState(13, KItemSet() << 13)) | ||||
331 | << qMakePair(KeyPress(Qt::Key_E), ViewState(14, KItemSet() << 14)) | ||||
332 | << qMakePair(KeyPress(Qt::Key_E), ViewState(15, KItemSet() << 15)) | ||||
333 | << qMakePair(KeyPress(Qt::Key_Escape), ViewState(15, KItemSet())) | ||||
334 | << qMakePair(KeyPress(Qt::Key_E), ViewState(13, KItemSet() << 13)) | ||||
329 | << qMakePair(KeyPress(Qt::Key_Home), ViewState(0, KItemSet() << 0)) | 335 | << qMakePair(KeyPress(Qt::Key_Home), ViewState(0, KItemSet() << 0)) | ||
330 | << qMakePair(KeyPress(Qt::Key_Escape), ViewState(0, KItemSet())); | 336 | << qMakePair(KeyPress(Qt::Key_Escape), ViewState(0, KItemSet())); | ||
331 | 337 | | |||
332 | // Next, we test combinations of key presses which only work for a | 338 | // Next, we test combinations of key presses which only work for a | ||
333 | // particular number of columns and either enabled or disabled grouping. | 339 | // particular number of columns and either enabled or disabled grouping. | ||
334 | 340 | | |||
335 | // One column. | 341 | // One column. | ||
336 | if (columnCount == 1) { | 342 | if (columnCount == 1) { | ||
▲ Show 20 Lines • Show All 319 Lines • Show Last 20 Lines |