equal
deleted
inserted
replaced
190 : QStyleOption(Version, Type) { *this = other; } |
190 : QStyleOption(Version, Type) { *this = other; } |
191 |
191 |
192 protected: |
192 protected: |
193 QStyleOptionTabWidgetFrame(int version); |
193 QStyleOptionTabWidgetFrame(int version); |
194 }; |
194 }; |
|
195 |
|
196 class Q_GUI_EXPORT QStyleOptionTabWidgetFrameV2 : public QStyleOptionTabWidgetFrame |
|
197 { |
|
198 public: |
|
199 enum StyleOptionVersion { Version = 2 }; |
|
200 |
|
201 QRect tabBarRect; |
|
202 QRect selectedTabRect; |
|
203 |
|
204 QStyleOptionTabWidgetFrameV2(); |
|
205 QStyleOptionTabWidgetFrameV2(const QStyleOptionTabWidgetFrameV2 &other) : |
|
206 QStyleOptionTabWidgetFrame(Version) { *this = other; } |
|
207 QStyleOptionTabWidgetFrameV2(const QStyleOptionTabWidgetFrame &other); |
|
208 QStyleOptionTabWidgetFrameV2 &operator=(const QStyleOptionTabWidgetFrame &other); |
|
209 |
|
210 protected: |
|
211 QStyleOptionTabWidgetFrameV2(int version); |
|
212 }; |
|
213 |
195 #endif |
214 #endif |
|
215 |
196 |
216 |
197 #ifndef QT_NO_TABBAR |
217 #ifndef QT_NO_TABBAR |
198 class Q_GUI_EXPORT QStyleOptionTabBarBase : public QStyleOption |
218 class Q_GUI_EXPORT QStyleOptionTabBarBase : public QStyleOption |
199 { |
219 { |
200 public: |
220 public: |
936 (hint->type == static_cast<T>(0)->Type || int(static_cast<T>(0)->Type) == QStyleHintReturn::SH_Default)) |
956 (hint->type == static_cast<T>(0)->Type || int(static_cast<T>(0)->Type) == QStyleHintReturn::SH_Default)) |
937 return static_cast<T>(hint); |
957 return static_cast<T>(hint); |
938 return 0; |
958 return 0; |
939 } |
959 } |
940 |
960 |
941 #if !defined(QT_NO_DEBUG_STREAM) && !defined(QT_NO_DEBUG) |
|
942 Q_GUI_EXPORT QDebug operator<<(QDebug debug, const QStyleOption::OptionType &optionType); |
961 Q_GUI_EXPORT QDebug operator<<(QDebug debug, const QStyleOption::OptionType &optionType); |
943 Q_GUI_EXPORT QDebug operator<<(QDebug debug, const QStyleOption &option); |
962 Q_GUI_EXPORT QDebug operator<<(QDebug debug, const QStyleOption &option); |
944 #endif |
|
945 |
963 |
946 QT_END_NAMESPACE |
964 QT_END_NAMESPACE |
947 |
965 |
948 QT_END_HEADER |
966 QT_END_HEADER |
949 |
967 |