Difference between revisions of "Qt"

From ProgrammingExamples
Jump to: navigation, search
(Building)
 
(35 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
== Building ==
 +
See this guide to get started: http://www.itk.org/Wiki/CMake/Tutorials/Qt
 +
 +
== Simple Widgets ==
 +
* [[Qt/AutoConnect|Auto connect slots]]
 +
* [[Qt/ToolbarIcons|Toolbar icons]]
 +
* [[Qt/Icons|Use icons without resources (QCommonStyle) - Old method]]
 +
* [[Qt/Toolbar|Display a toolbar (also an example of resources)]]
 +
* [[Qt/Dialog|Display a dialog]]
 
* [[Qt/ProgrammaticButton|Programmatically create a button]]
 
* [[Qt/ProgrammaticButton|Programmatically create a button]]
 
* [[Qt/ButtonWidget|Button widget (single inheritance)]]
 
* [[Qt/ButtonWidget|Button widget (single inheritance)]]
Line 7: Line 16:
 
* [[Qt/Widgets/ProgressBar|Progress bar widget]]
 
* [[Qt/Widgets/ProgressBar|Progress bar widget]]
 
* [[Qt/Widgets/ProgressBarMarquee|Progress bar marquee widget]]
 
* [[Qt/Widgets/ProgressBarMarquee|Progress bar marquee widget]]
 +
* [[Qt/Widgets/ProgressThreaded|Display a progress bar while a long operation is being processed]]
 
* [[Qt/Widgets/Slider|Slider widget]]
 
* [[Qt/Widgets/Slider|Slider widget]]
 
* [[Qt/Widgets/FileDialog|File dialog]]
 
* [[Qt/Widgets/FileDialog|File dialog]]
 +
* [[Qt/Widgets/FileDialogDefaultSuffix|File dialog - append a specified suffix if one is not provided]]
 
* [[Qt/Widgets/RadioButton|Radio button widget]]
 
* [[Qt/Widgets/RadioButton|Radio button widget]]
 
* [[Qt/Widgets/Timer|Timer]]
 
* [[Qt/Widgets/Timer|Timer]]
Line 16: Line 27:
 
* [[Qt/Widgets/QWidgetSubclass|QWidget subclass in a cpp file]]
 
* [[Qt/Widgets/QWidgetSubclass|QWidget subclass in a cpp file]]
 
* [[Qt/File|Operations on files (exist, etc)]]
 
* [[Qt/File|Operations on files (exist, etc)]]
* [[Qt/FileInfo|Information about a file (basename, path, etc)]]
+
* [[Qt/FileInfo|Information about a file (basename, path, extension, etc)]]
 
* [[Qt/Widgets/FileMenu|File menu]]
 
* [[Qt/Widgets/FileMenu|File menu]]
 
* [[Qt/Widgets/WidgetInsideMainWindow|Display a widget inside a main window]]
 
* [[Qt/Widgets/WidgetInsideMainWindow|Display a widget inside a main window]]
Line 23: Line 34:
 
* [[Qt/Widgets/LineEdit|LineEdit widget - a text box]]
 
* [[Qt/Widgets/LineEdit|LineEdit widget - a text box]]
 
* [[Qt/Widgets/Label|Label]]
 
* [[Qt/Widgets/Label|Label]]
 +
 +
== Model/View ==
 +
* [[Qt/ModelView/QAbstractTableModel|QAbstractTableModel]]
 +
* [[Qt/ModelView/ComboBoxOfCheckBoxes|ComboBox of CheckBoxes (QStandardItemModel, QStandardItem)]]
 +
* [[Qt/ModelView/StringListModelCheckable|A StringListModel with checkboxes]]
 +
* [[Qt/ModelView/StandardItemModel|A StandardItemModel with checkboxes]]
 +
* [[Qt/ModelView/AbstractListModelCheckable|An AbstractListModel with checkboxes]]
 +
* [[Qt/ModelView/AbstractListModelFileDialog|An AbstractListModel where one of the cells can be changed using a QFileDialog]]
 +
* [[Qt/ModelView/ListViewComboBox|A persistent ComboBox on a list view]]
 +
* [[Qt/ModelView/ItemSelectionModel|Track selected items in a model]]
 +
 +
* [[Qt/ModelView/AbstractTableModelCheckable|A table with checkboxes]]
 +
 +
== Utilities ==
 
* [[Qt/Widgets/Time|Get the system time]]
 
* [[Qt/Widgets/Time|Get the system time]]
 +
* [[Qt/Utilities/StatusBar|Status bar]]
 +
* [[Qt/Utilities/DragAndDropFiles|Drag and drop files onto a widget]]
 +
* [[Qt/Utilities/HandleItem|Add resize handles to a rectangle]]
 +
* [[Qt/Utilities/EventFilter|Handle another widgets event]]
 +
* [[Qt/Utilities/Settings|Save application settings]]
 +
 +
== Other ==
 
* [[Qt/Boost|Using Qt with Boost]]
 
* [[Qt/Boost|Using Qt with Boost]]
 +
 +
== Images ==
 +
* [[Qt/Images/Pixmap|QPixmap]]
 +
 +
* [[Qt/Images/MovingAPixmap|Move a pixmap in a QGraphicsView]]
 +
 +
* [[Qt/Images/SemiTransparentPixels|Make pixels semi-transparent]]
 +
 +
* [[Qt/Images/RubberBand|Use a QRubberBand to indicate a selected region in an image]]
 +
 +
* [[Qt/Images/RubberBandSignal|Customize QGraphicsView to monitor the RubberBand behavior]]
 +
 +
== Delegates ==
 +
* [[Qt/Delegates/ComboBoxDelegate|A combobox in a TableView]]
 +
 +
== Databases ==
 +
* [[Qt/Databases/ListView|A ListView of a table column]]
 +
 +
== QWT ==
 +
* [[Qt/QWT/Plot|Simple plot]]
 +
 +
== Events ==
 +
* [[Qt/Events/Resize|Resize a graphics item when the form is resized]]

Latest revision as of 11:30, 21 September 2012

Building

See this guide to get started: http://www.itk.org/Wiki/CMake/Tutorials/Qt

Simple Widgets

Model/View

Utilities

Other

Images

Delegates

Databases

QWT

Events