Difference between revisions of "Qt"
From ProgrammingExamples
Daviddoria (Talk | contribs) (→Model/View) |
Daviddoria (Talk | contribs) (→Model/View) |
||
Line 36: | Line 36: | ||
* [[Qt/ModelView/StringListModelCheckable|A StringListModel with checkboxes]] | * [[Qt/ModelView/StringListModelCheckable|A StringListModel with checkboxes]] | ||
* [[Qt/ModelView/StandardItemModel|A StandardItemModel with checkboxes]] | * [[Qt/ModelView/StandardItemModel|A StandardItemModel with checkboxes]] | ||
+ | * [[Qt/ModelView/AbstractListModelCheckable|An AbstractListModel with checkboxes]] | ||
== Utilities == | == Utilities == |
Revision as of 10:58, 18 December 2011
Simple Widgets
- 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