Changeset View
Changeset View
Standalone View
Standalone View
kstyle/breezestyle.cpp
- This file is larger than 256 KB, so syntax highlighting is disabled by default.
Show First 20 Lines • Show All 668 Lines • ▼ Show 20 Line(s) | 639 | { | |||
---|---|---|---|---|---|
669 | return false; | 669 | return false; | ||
670 | } | 670 | } | ||
671 | 671 | | |||
672 | case SH_ComboBox_ListMouseTracking: return true; | 672 | case SH_ComboBox_ListMouseTracking: return true; | ||
673 | case SH_MenuBar_MouseTracking: return true; | 673 | case SH_MenuBar_MouseTracking: return true; | ||
674 | case SH_Menu_MouseTracking: return true; | 674 | case SH_Menu_MouseTracking: return true; | ||
675 | case SH_Menu_SubMenuPopupDelay: return 150; | 675 | case SH_Menu_SubMenuPopupDelay: return 150; | ||
676 | case SH_Menu_SloppySubMenus: return true; | 676 | case SH_Menu_SloppySubMenus: return true; | ||
677 | case SH_Menu_Scrollable: | ||||
678 | if (StyleConfigData::overflowingMenusMode() == StyleConfigData::OM_SCROLL) { | ||||
cfeck: if (cond) {
return true;
} else {
return false;
}
⇒
return… | |||||
679 | return true; | ||||
680 | } else { | ||||
681 | return false; | ||||
682 | } | ||||
677 | 683 | | |||
678 | #if QT_VERSION >= 0x050000 | 684 | #if QT_VERSION >= 0x050000 | ||
679 | // TODO Qt6: drop deprecated SH_Widget_Animate | 685 | // TODO Qt6: drop deprecated SH_Widget_Animate | ||
680 | case SH_Widget_Animate: return StyleConfigData::animationsEnabled(); | 686 | case SH_Widget_Animate: return StyleConfigData::animationsEnabled(); | ||
681 | case SH_Menu_SupportsSections: return true; | 687 | case SH_Menu_SupportsSections: return true; | ||
682 | #endif | 688 | #endif | ||
683 | #if QT_VERSION >= 0x050A00 | 689 | #if QT_VERSION >= 0x050A00 | ||
684 | case SH_Widget_Animation_Duration: return StyleConfigData::animationsEnabled() ? StyleConfigData::animationsDuration() : 0; | 690 | case SH_Widget_Animation_Duration: return StyleConfigData::animationsEnabled() ? StyleConfigData::animationsDuration() : 0; | ||
▲ Show 20 Lines • Show All 6572 Lines • Show Last 20 Lines |
⇒
⇒