Changeset View
Changeset View
Standalone View
Standalone View
options.h
Show First 20 Lines • Show All 356 Lines • ▼ Show 20 Line(s) | 341 | enum WindowOperation { | |||
---|---|---|---|---|---|
357 | HMaximizeOp, | 357 | HMaximizeOp, | ||
358 | VMaximizeOp, | 358 | VMaximizeOp, | ||
359 | LowerOp, | 359 | LowerOp, | ||
360 | FullScreenOp, | 360 | FullScreenOp, | ||
361 | NoBorderOp, | 361 | NoBorderOp, | ||
362 | NoOp, | 362 | NoOp, | ||
363 | SetupWindowShortcutOp, | 363 | SetupWindowShortcutOp, | ||
364 | ApplicationRulesOp, | 364 | ApplicationRulesOp, | ||
365 | RemoveTabFromGroupOp, // Remove from group | | |||
366 | CloseTabGroupOp, // Close the group | | |||
367 | ActivateNextTabOp, // Move left in the group | | |||
368 | ActivatePreviousTabOp, // Move right in the group | | |||
369 | TabDragOp, | | |||
370 | }; | 365 | }; | ||
371 | 366 | | |||
372 | WindowOperation operationTitlebarDblClick() const { | 367 | WindowOperation operationTitlebarDblClick() const { | ||
373 | return OpTitlebarDblClick; | 368 | return OpTitlebarDblClick; | ||
374 | } | 369 | } | ||
375 | WindowOperation operationMaxButtonLeftClick() const { | 370 | WindowOperation operationMaxButtonLeftClick() const { | ||
376 | return opMaxButtonLeftClick; | 371 | return opMaxButtonLeftClick; | ||
377 | } | 372 | } | ||
Show All 13 Lines | 382 | enum MouseCommand { | |||
391 | MouseMove, MouseUnrestrictedMove, | 386 | MouseMove, MouseUnrestrictedMove, | ||
392 | MouseActivateRaiseAndMove, MouseActivateRaiseAndUnrestrictedMove, | 387 | MouseActivateRaiseAndMove, MouseActivateRaiseAndUnrestrictedMove, | ||
393 | MouseResize, MouseUnrestrictedResize, | 388 | MouseResize, MouseUnrestrictedResize, | ||
394 | MouseShade, MouseSetShade, MouseUnsetShade, | 389 | MouseShade, MouseSetShade, MouseUnsetShade, | ||
395 | MouseMaximize, MouseRestore, MouseMinimize, | 390 | MouseMaximize, MouseRestore, MouseMinimize, | ||
396 | MouseNextDesktop, MousePreviousDesktop, | 391 | MouseNextDesktop, MousePreviousDesktop, | ||
397 | MouseAbove, MouseBelow, | 392 | MouseAbove, MouseBelow, | ||
398 | MouseOpacityMore, MouseOpacityLess, | 393 | MouseOpacityMore, MouseOpacityLess, | ||
399 | MouseClose, MousePreviousTab, MouseNextTab, MouseDragTab, | 394 | MouseClose, | ||
400 | MouseNothing | 395 | MouseNothing | ||
401 | }; | 396 | }; | ||
402 | 397 | | |||
403 | enum MouseWheelCommand { | 398 | enum MouseWheelCommand { | ||
404 | MouseWheelRaiseLower, MouseWheelShadeUnshade, MouseWheelMaximizeRestore, | 399 | MouseWheelRaiseLower, MouseWheelShadeUnshade, MouseWheelMaximizeRestore, | ||
405 | MouseWheelAboveBelow, MouseWheelPreviousNextDesktop, | 400 | MouseWheelAboveBelow, MouseWheelPreviousNextDesktop, | ||
406 | MouseWheelChangeOpacity, MouseWheelChangeCurrentTab, | 401 | MouseWheelChangeOpacity, | ||
407 | MouseWheelNothing | 402 | MouseWheelNothing | ||
408 | }; | 403 | }; | ||
409 | 404 | | |||
410 | MouseCommand operationTitlebarMouseWheel(int delta) const { | 405 | MouseCommand operationTitlebarMouseWheel(int delta) const { | ||
411 | return wheelToMouseCommand(CmdTitlebarWheel, delta); | 406 | return wheelToMouseCommand(CmdTitlebarWheel, delta); | ||
412 | } | 407 | } | ||
413 | MouseCommand operationWindowMouseWheel(int delta) const { | 408 | MouseCommand operationWindowMouseWheel(int delta) const { | ||
414 | return wheelToMouseCommand(CmdAllWheel, delta); | 409 | return wheelToMouseCommand(CmdAllWheel, delta); | ||
▲ Show 20 Lines • Show All 256 Lines • ▼ Show 20 Line(s) | |||||
671 | } | 666 | } | ||
672 | static WindowOperation defaultOperationMaxButtonMiddleClick() { | 667 | static WindowOperation defaultOperationMaxButtonMiddleClick() { | ||
673 | return VMaximizeOp; | 668 | return VMaximizeOp; | ||
674 | } | 669 | } | ||
675 | static MouseCommand defaultCommandActiveTitlebar1() { | 670 | static MouseCommand defaultCommandActiveTitlebar1() { | ||
676 | return MouseRaise; | 671 | return MouseRaise; | ||
677 | } | 672 | } | ||
678 | static MouseCommand defaultCommandActiveTitlebar2() { | 673 | static MouseCommand defaultCommandActiveTitlebar2() { | ||
679 | return MouseDragTab; | 674 | return MouseNothing; | ||
680 | } | 675 | } | ||
681 | static MouseCommand defaultCommandActiveTitlebar3() { | 676 | static MouseCommand defaultCommandActiveTitlebar3() { | ||
682 | return MouseOperationsMenu; | 677 | return MouseOperationsMenu; | ||
683 | } | 678 | } | ||
684 | static MouseCommand defaultCommandInactiveTitlebar1() { | 679 | static MouseCommand defaultCommandInactiveTitlebar1() { | ||
685 | return MouseActivateAndRaise; | 680 | return MouseActivateAndRaise; | ||
686 | } | 681 | } | ||
687 | static MouseCommand defaultCommandInactiveTitlebar2() { | 682 | static MouseCommand defaultCommandInactiveTitlebar2() { | ||
688 | return MouseDragTab; | 683 | return MouseNothing; | ||
689 | } | 684 | } | ||
690 | static MouseCommand defaultCommandInactiveTitlebar3() { | 685 | static MouseCommand defaultCommandInactiveTitlebar3() { | ||
691 | return MouseOperationsMenu; | 686 | return MouseOperationsMenu; | ||
692 | } | 687 | } | ||
693 | static MouseCommand defaultCommandWindow1() { | 688 | static MouseCommand defaultCommandWindow1() { | ||
694 | return MouseActivateRaiseAndPassClick; | 689 | return MouseActivateRaiseAndPassClick; | ||
695 | } | 690 | } | ||
696 | static MouseCommand defaultCommandWindow2() { | 691 | static MouseCommand defaultCommandWindow2() { | ||
Show All 10 Lines | |||||
707 | } | 702 | } | ||
708 | static MouseCommand defaultCommandAll2() { | 703 | static MouseCommand defaultCommandAll2() { | ||
709 | return MouseToggleRaiseAndLower; | 704 | return MouseToggleRaiseAndLower; | ||
710 | } | 705 | } | ||
711 | static MouseCommand defaultCommandAll3() { | 706 | static MouseCommand defaultCommandAll3() { | ||
712 | return MouseUnrestrictedResize; | 707 | return MouseUnrestrictedResize; | ||
713 | } | 708 | } | ||
714 | static MouseWheelCommand defaultCommandTitlebarWheel() { | 709 | static MouseWheelCommand defaultCommandTitlebarWheel() { | ||
715 | return MouseWheelChangeCurrentTab; | 710 | return MouseWheelNothing; | ||
716 | } | 711 | } | ||
717 | static MouseWheelCommand defaultCommandAllWheel() { | 712 | static MouseWheelCommand defaultCommandAllWheel() { | ||
718 | return MouseWheelNothing; | 713 | return MouseWheelNothing; | ||
719 | } | 714 | } | ||
720 | static uint defaultKeyCmdAllModKey() { | 715 | static uint defaultKeyCmdAllModKey() { | ||
721 | return Qt::Key_Alt; | 716 | return Qt::Key_Alt; | ||
722 | } | 717 | } | ||
723 | static bool defaultAutogroupInForeground() { | 718 | static bool defaultAutogroupInForeground() { | ||
▲ Show 20 Lines • Show All 212 Lines • Show Last 20 Lines |