PyQt5 Tutorial
Selected Reading
- PyQt5 - Discussion
- PyQt5 - Useful Resources
- PyQt5 - Quick Guide
- PyQt5 - QPixmap Class
- PyQt5 - QClipboard
- PyQt5 - BrushStyle Constants
- PyQt5 - Drawing API
- PyQt5 - Database Handling
- PyQt5 - Drag & Drop
- PyQt5 - Multiple Document Interface
- PyQt5 - QMessageBox
- PyQt5 - QDialog Class
- PyQt5 - Basic Widgets
- PyQt5 - Layout Management
- PyQt5 - Signals & Slots
- PyQt5 - Using Qt Designer
- PyQt5 - Major Classes
- PyQt5 - Hello World
- PyQt5 - What’s New
- PyQt5 - Introduction
- PyQt5 - Home
Selected Reading
- Who is Who
- Computer Glossary
- HR Interview Questions
- Effective Resume Writing
- Questions and Answers
- UPSC IAS Exams Notes
PyQt5 - BrushStyle Constants
PyQt5 - BrushStyle Constants
In this chapter, we shall learn Brush Style Constants.
Brush Style Constants
Given below are the Brush Style Constants −
Qt.NoBrush | No brush pattern |
Qt.SopdPattern | Uniform color |
Qt.Dense1Pattern | Extremely dense brush pattern |
Qt.HorPattern | Horizontal pnes |
Qt.VerPattern | Vertical pnes |
Qt.CrossPattern | Crossing horizontal and vertical pnes |
Qt.BDiagPattern | Backward diagonal pnes |
Qt.FDiagPattern | Forward diagonal pnes |
Qt.DiagCrossPattern | Crossing diagonal pnes |
Predefined QColor Styles
Given below are the Predefined QColor Styles −
Qt.NoBrush | No brush pattern |
Qt.SopdPattern | Uniform color |
Qt.Dense1Pattern | Extremely dense brush pattern |
Qt.HorPattern | Horizontal pnes |
Qt.VerPattern | Vertical pnes |
Qt.CrossPattern | Crossing horizontal and vertical pnes |
Qt.BDiagPattern | Backward diagonal pnes |
Qt.FDiagPattern | Forward diagonal pnes |
Qt.DiagCrossPattern | Crossing diagonal pnes |
Predefined QColor Objects
Given below are the Predefined QColor Objects −
Qt.white |
Qt.black |
Qt.red |
Qt.darkRed |
Qt.green |
Qt.darkGreen |
Qt.blue |
Qt.cyan |
Qt.magenta |
Qt.yellow |
Qt.darkYellow |
Qt.gray |
Custom color can be chosen by specifying RGB or CMYK or HSV values.
Advertisements