Changeset View
Changeset View
Standalone View
Standalone View
src/QuickEditor/QuickEditor.h
Show First 20 Lines • Show All 81 Lines • ▼ Show 20 Line(s) | 40 | private: | |||
---|---|---|---|---|---|
82 | static const qreal midHandleRadius; | 82 | static const qreal midHandleRadius; | ||
83 | static const int selectionSizeThreshold; | 83 | static const int selectionSizeThreshold; | ||
84 | 84 | | |||
85 | static const int selectionBoxPaddingX; | 85 | static const int selectionBoxPaddingX; | ||
86 | static const int selectionBoxPaddingY; | 86 | static const int selectionBoxPaddingY; | ||
87 | static const int selectionBoxMarginY; | 87 | static const int selectionBoxMarginY; | ||
88 | 88 | | |||
89 | static const int bottomHelpLength = 5; | 89 | static const int bottomHelpLength = 5; | ||
90 | static std::pair<QStaticText, std::vector<QStaticText>> bottomHelpText[bottomHelpLength]; | | |||
91 | static bool bottomHelpTextPrepared; | 90 | static bool bottomHelpTextPrepared; | ||
92 | static const int bottomHelpBoxPaddingX; | 91 | static const int bottomHelpBoxPaddingX; | ||
93 | static const int bottomHelpBoxPaddingY; | 92 | static const int bottomHelpBoxPaddingY; | ||
94 | static const int bottomHelpBoxPairSpacing; | 93 | static const int bottomHelpBoxPairSpacing; | ||
95 | static const int bottomHelpBoxMarginBottom; | 94 | static const int bottomHelpBoxMarginBottom; | ||
96 | static const int midHelpTextFontSize; | 95 | static const int midHelpTextFontSize; | ||
97 | 96 | | |||
98 | static const int magnifierLargeStep; | 97 | static const int magnifierLargeStep; | ||
99 | 98 | | |||
100 | static const int magZoom; | 99 | static const int magZoom; | ||
101 | static const int magPixels; | 100 | static const int magPixels; | ||
102 | static const int magOffset; | 101 | static const int magOffset; | ||
103 | 102 | | |||
104 | QColor mMaskColor; | 103 | QColor mMaskColor; | ||
105 | QColor mStrokeColor; | 104 | QColor mStrokeColor; | ||
106 | QColor mCrossColor; | 105 | QColor mCrossColor; | ||
107 | QColor mLabelBackgroundColor; | 106 | QColor mLabelBackgroundColor; | ||
108 | QColor mLabelForegroundColor; | 107 | QColor mLabelForegroundColor; | ||
109 | QRectF mSelection; | 108 | QRectF mSelection; | ||
110 | QPointF mStartPos; | 109 | QPointF mStartPos; | ||
111 | QPointF mInitialTopLeft; | 110 | QPointF mInitialTopLeft; | ||
112 | QString mMidHelpText; | 111 | QString mMidHelpText; | ||
113 | QFont mMidHelpTextFont; | 112 | QFont mMidHelpTextFont; | ||
113 | std::pair<QStaticText, std::vector<QStaticText>> mBottomHelpText[bottomHelpLength]; | ||||
114 | QFont mBottomHelpTextFont; | 114 | QFont mBottomHelpTextFont; | ||
115 | QRect mBottomHelpBorderBox; | 115 | QRect mBottomHelpBorderBox; | ||
116 | QPoint mBottomHelpContentPos; | 116 | QPoint mBottomHelpContentPos; | ||
117 | int mBottomHelpGridLeftWidth; | 117 | int mBottomHelpGridLeftWidth; | ||
118 | MouseState mMouseDragState; | 118 | MouseState mMouseDragState; | ||
119 | QPixmap mPixmap; | 119 | QPixmap mPixmap; | ||
120 | qreal dprI; | 120 | qreal dprI; | ||
121 | QPointF mMousePos; | 121 | QPointF mMousePos; | ||
Show All 10 Lines |