Loading...

Qt DevDays 2005 - Writing Custom Styles with QStyle: Trenton Schulz

1,714 views

Loading...

Loading...

Transcript

The interactive transcript could not be loaded.

Loading...

Loading...

Rating is available when the video has been rented.
This feature is not available right now. Please try again later.
Published on Apr 22, 2013

Writing Custom Styles with QStyle
Presented by: Trenton Schulz

A tour through the QStyle API

Qt's style engine (QStyle) handles widget painting and many look and feel elements. This session provides a tour through the QStyle API, and examines when and where to use it. We will also look at some tips, tricks, and guidelines for writing your own custom styles.

Agenda:

The How, What and Why of QStyle
QStyle Concepts
Typical QStyle method
QStyleOption
QStyleOption Subclass
Updated Implementation
A Tour of the QStyle API
Drawing helper functions
Rectangle functions
Hit testing
Metrics and Sizes
Style hints
Icon/Pixmap functions
Polishing functions
Logical vs. Visual in Left-to-Right
Static functions
Right-to-Left languages
Brief Styling Example
Examples
Tips and Tricks
Conclusion

  • Category

  • License

    • Standard YouTube License

Loading...

When autoplay is enabled, a suggested video will automatically play next.

Up next


to add this to Watch Later

Add to

Loading playlists...