Difference between revisions of "Qt"
From ProgrammingExamples
Daviddoria (Talk | contribs) (→Model/View) |
Daviddoria (Talk | contribs) (→Simple Widgets) |
||
Line 1: | Line 1: | ||
== Simple Widgets == | == Simple Widgets == | ||
+ | * [[Qt/AutoConnect|Auto connect slots]] | ||
* [[Qt/ToolbarIcons|Toolbar icons]] | * [[Qt/ToolbarIcons|Toolbar icons]] | ||
* [[Qt/Icons|Use icons without resources (QCommonStyle) - Old method]] | * [[Qt/Icons|Use icons without resources (QCommonStyle) - Old method]] |
Revision as of 20:45, 5 June 2012
Simple Widgets
- Auto connect slots
- Toolbar icons
- Use icons without resources (QCommonStyle) - Old method
- Display a toolbar (also an example of resources)
- Display a dialog
- Programmatically create a button
- Button widget (single inheritance)
- Button widget (multiple inheritance)
- Call a normal function from an event
- Check box widget
- Combo box widget
- Progress bar widget
- Progress bar marquee widget
- Display a progress bar while a long operation is being processed
- Slider widget
- File dialog
- File dialog - append a specified suffix if one is not provided
- Radio button widget
- Timer
- Thread
- MessageBox from a thread
- MessageBox from a class object within a thread
- QWidget subclass in a cpp file
- Operations on files (exist, etc)
- Information about a file (basename, path, extension, etc)
- File menu
- Display a widget inside a main window
- Display a templated widget inside a main window
- Change the cursor
- LineEdit widget - a text box
- Label
Model/View
- QAbstractTableModel
- ComboBox of CheckBoxes (QStandardItemModel, QStandardItem)
- A StringListModel with checkboxes
- A StandardItemModel with checkboxes
- An AbstractListModel with checkboxes
- An AbstractListModel where one of the cells can be changed using a QFileDialog
- A persistent ComboBox on a list view
- Track selected items in a model