1// qstylehints.sip generated by MetaSIP
2//
3// This file is part of the QtGui Python extension module.
4//
5// Copyright (c) 2021 Riverbank Computing Limited <info@riverbankcomputing.com>
6//
7// This file is part of PyQt5.
8//
9// This file may be used under the terms of the GNU General Public License
10// version 3.0 as published by the Free Software Foundation and appearing in
11// the file LICENSE included in the packaging of this file.  Please review the
12// following information to ensure the GNU General Public License version 3.0
13// requirements will be met: http://www.gnu.org/copyleft/gpl.html.
14//
15// If you do not wish to use this file under the terms of the GPL version 3.0
16// then you may purchase a commercial license.  For more information contact
17// info@riverbankcomputing.com.
18//
19// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
20// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
21
22
23class QStyleHints : QObject
24{
25%TypeHeaderCode
26#include <qstylehints.h>
27%End
28
29public:
30    int mouseDoubleClickInterval() const;
31    int startDragDistance() const;
32    int startDragTime() const;
33    int startDragVelocity() const;
34    int keyboardInputInterval() const;
35    int keyboardAutoRepeatRate() const;
36    int cursorFlashTime() const;
37    bool showIsFullScreen() const;
38    int passwordMaskDelay() const;
39    qreal fontSmoothingGamma() const;
40    bool useRtlExtensions() const;
41%If (Qt_5_1_0 -)
42    QChar passwordMaskCharacter() const;
43%End
44%If (Qt_5_2_0 -)
45    bool setFocusOnTouchRelease() const;
46%End
47%If (Qt_5_3_0 -)
48    int mousePressAndHoldInterval() const;
49%End
50%If (Qt_5_5_0 -)
51    Qt::TabFocusBehavior tabFocusBehavior() const;
52%End
53%If (Qt_5_5_0 -)
54    bool singleClickActivation() const;
55%End
56
57signals:
58%If (Qt_5_5_0 -)
59    void cursorFlashTimeChanged(int cursorFlashTime);
60%End
61%If (Qt_5_5_0 -)
62    void keyboardInputIntervalChanged(int keyboardInputInterval);
63%End
64%If (Qt_5_5_0 -)
65    void mouseDoubleClickIntervalChanged(int mouseDoubleClickInterval);
66%End
67%If (Qt_5_5_0 -)
68    void startDragDistanceChanged(int startDragDistance);
69%End
70%If (Qt_5_5_0 -)
71    void startDragTimeChanged(int startDragTime);
72%End
73%If (Qt_5_7_0 -)
74    void mousePressAndHoldIntervalChanged(int mousePressAndHoldInterval);
75%End
76%If (Qt_5_7_0 -)
77    void tabFocusBehaviorChanged(Qt::TabFocusBehavior tabFocusBehavior);
78%End
79
80public:
81%If (Qt_5_6_0 -)
82    bool showIsMaximized() const;
83%End
84%If (Qt_5_8_0 -)
85    bool useHoverEffects() const;
86%End
87%If (Qt_5_8_0 -)
88    void setUseHoverEffects(bool useHoverEffects);
89%End
90
91signals:
92%If (Qt_5_8_0 -)
93    void useHoverEffectsChanged(bool useHoverEffects);
94%End
95
96public:
97%If (Qt_5_9_0 -)
98    int wheelScrollLines() const;
99%End
100
101signals:
102%If (Qt_5_9_0 -)
103    void wheelScrollLinesChanged(int scrollLines);
104%End
105
106public:
107%If (Qt_5_10_0 -)
108    bool showShortcutsInContextMenus() const;
109%End
110%If (Qt_5_11_0 -)
111    int mouseQuickSelectionThreshold() const;
112%End
113
114signals:
115%If (Qt_5_11_0 -)
116    void mouseQuickSelectionThresholdChanged(int threshold);
117%End
118
119public:
120%If (Qt_5_13_0 -)
121    void setShowShortcutsInContextMenus(bool showShortcutsInContextMenus);
122%End
123
124signals:
125%If (Qt_5_13_0 -)
126    void showShortcutsInContextMenusChanged(bool);
127%End
128
129public:
130%If (Qt_5_14_0 -)
131    int mouseDoubleClickDistance() const;
132%End
133%If (Qt_5_14_0 -)
134    int touchDoubleTapDistance() const;
135%End
136
137private:
138    QStyleHints();
139};
140