Coverage for src / ezqt_widgets / widgets / shared / __init__.py: 100.00%

3 statements  

« prev     ^ index     » next       coverage.py v7.13.5, created at 2026-03-31 10:03 +0000

1# /////////////////////////////////////////////////////////////// 

2# SHARED - Shared Constants Package 

3# Project: ezqt_widgets 

4# /////////////////////////////////////////////////////////////// 

5 

6""" 

7Shared constants package. 

8 

9Exports all shared widget constants (animation durations, icon sizes, 

10and SVG icon bytes) for use across all widget modules. 

11""" 

12 

13from __future__ import annotations 

14 

15# /////////////////////////////////////////////////////////////// 

16# IMPORTS 

17# /////////////////////////////////////////////////////////////// 

18# Local imports 

19from ._defaults import ( 

20 ANIMATION_DURATION_FAST, 

21 ANIMATION_DURATION_NORMAL, 

22 ANIMATION_DURATION_SLOW, 

23 ICON_SIZE_LARGE, 

24 ICON_SIZE_NORMAL, 

25 ICON_SIZE_SMALL, 

26 ICON_SIZE_XLARGE, 

27 SVG_CALENDAR, 

28 SVG_CHECK, 

29 SVG_CHEVRON_DOWN, 

30 SVG_CHEVRON_RIGHT, 

31 SVG_CLOSE, 

32 SVG_CROSS, 

33 SVG_ERROR, 

34 SVG_EYE_CLOSED, 

35 SVG_EYE_OPEN, 

36 SVG_FOLDER, 

37 SVG_INFO, 

38 SVG_SEARCH, 

39 SVG_SPINNER, 

40 SVG_SUCCESS, 

41 SVG_WARNING, 

42) 

43 

44# /////////////////////////////////////////////////////////////// 

45# PUBLIC API 

46# /////////////////////////////////////////////////////////////// 

47 

48__all__ = [ 

49 "ANIMATION_DURATION_FAST", 

50 "ANIMATION_DURATION_NORMAL", 

51 "ANIMATION_DURATION_SLOW", 

52 "ICON_SIZE_LARGE", 

53 "ICON_SIZE_NORMAL", 

54 "ICON_SIZE_SMALL", 

55 "ICON_SIZE_XLARGE", 

56 "SVG_CALENDAR", 

57 "SVG_CHECK", 

58 "SVG_CHEVRON_DOWN", 

59 "SVG_CHEVRON_RIGHT", 

60 "SVG_CLOSE", 

61 "SVG_CROSS", 

62 "SVG_ERROR", 

63 "SVG_EYE_CLOSED", 

64 "SVG_EYE_OPEN", 

65 "SVG_FOLDER", 

66 "SVG_INFO", 

67 "SVG_SEARCH", 

68 "SVG_SPINNER", 

69 "SVG_SUCCESS", 

70 "SVG_WARNING", 

71]