PyQt5 Tutorials
PyQt5 is a comprehensive set of Python bindings for Qt v5. It allows developers to create native, cross-platform graphical user interface (GUI) applications on Windows, macOS, and Linux.
PyQt5 Core Window & Widgets
- PyQt5 Window Creation: Setting up the basic main window, title, and dimensions
- PyQt5 Buttons (QPushButton): Adding buttons and handling clicks
- Signals & Slots: The event communication mechanism in Qt
- Textboxes (QLineEdit): Receiving and validating user text input
- Message Boxes (QMessageBox): Dialogs for warnings, alerts, and confirmations
- Table Widget (QTableWidget): Displaying tabular data in rows and columns
- Tabbed Interfaces (QTabWidget): Organizing complex forms into separate tabs
- Tree Views (QTreeView): Hierarchical tree representation
- Status Bars: Showing contextual status messages at window bottom
- Menus & Menu Bars: Top-level application menus and shortcuts
PyQt5 Layout Management
- Horizontal Layout (QHBoxLayout): Laying out widgets in horizontal rows
- Grid Layout (QGridLayout): Aligning controls in flexible grid coordinates
- Form Layout (QFormLayout): Two-column label-field alignment for clean input forms
- Box Layout (QBoxLayout): Dynamic responsive arrangement
- Absolute Positioning: Coordinate-based fixed positioning
Dialogs & Advanced Features
- File Open & Save Dialogs
- Color Picker Dialog
- Font Selection Dialog
- Single Value Input Dialog
- Multi-Step Wizard Dialogs
- Drag and Drop Interactions
- WebKit Web Browser Embedding
- Embedding Matplotlib Charts in PyQt5