Documentation/ImageGallery: Difference between revisions
From Commontk
Jump to navigationJump to search
No edit summary |
|||
Line 1: | Line 1: | ||
==Widgets== | ==Widgets== | ||
{| | {| | ||
|ctkCheckableHeaderView | |[http://www.commontk.org/docs/html/classctkCheckableHeaderView.html ctkCheckableHeaderView] | ||
|[[Image:CtkCheckableHeaderView.png|300px]] | |[[Image:CtkCheckableHeaderView.png|300px]] | ||
|A QHeaderView that support checkable sections. The checkState can be propagated to the model items. | |A QHeaderView that support checkable sections. The checkState can be propagated to the model items. | ||
|- | |- | ||
|[http://www. | |[http://www.commontk.org/docs/html/classctkCollapsibleButton.html ctkCollapsibleButton] | ||
|[[Image:CtkCollapsibleWidget.png|300px|]] | |[[Image:CtkCollapsibleWidget.png|300px|]] | ||
|A container with a QPushButton on top that controls the visible state of the contents | |A container with a QPushButton on top that controls the visible state of the contents | ||
|- | |- | ||
|[http://www. | |[http://www.commontk.org/docs/html/classctkCollapsibleGroupBox.html ctkCollapsibleGroupBox] | ||
|[[Image:CtkCollapsibleGroupBox.png|300px]] | |[[Image:CtkCollapsibleGroupBox.png|300px]] | ||
|A QGroupBox that collapses/expands when checked/unchecked | |A QGroupBox that collapses/expands when checked/unchecked | ||
|- | |- | ||
|[http://www. | |[http://www.commontk.org/docs/html/classctkColorPickerButton.html ctkColorPickerButton] | ||
|[[Image:CtkColorPickerButton.png|300px]] | |[[Image:CtkColorPickerButton.png|300px]] | ||
|A QPushButton with a colorful icon, opening a color chooser dialog on click | |A QPushButton with a colorful icon, opening a color chooser dialog on click | ||
|- | |- | ||
|[http://www. | |[http://www.commontk.org/docs/html/classctkCoordinatesWidget.html ctkCoordinatesWidget] | ||
|[[Image:CtkCoordinatesWidget.png|300px]] | |[[Image:CtkCoordinatesWidget.png|300px]] | ||
|A QDoubleSpinBox container that groups signals/slots of 3D vectors(i.e. X,Y,Z) | |A QDoubleSpinBox container that groups signals/slots of 3D vectors(i.e. X,Y,Z) | ||
|- | |- | ||
|[http://www. | |[http://www.commontk.org/docs/html/classctkDoubleRangeSlider.html ctkDoubleRangeSlider] | ||
|[[Image:CtkRangeSlider.png|300px]] | |[[Image:CtkRangeSlider.png|300px]] | ||
|A ctkRangeSlider handling double values. | |A ctkRangeSlider handling double values. | ||
|- | |- | ||
|[http://www. | |[http://www.commontk.org/docs/html/classctkDoubleSlider.html ctkDoubleSlider] | ||
|[[Image:CtkDoubleSlider.png|300px]] | |[[Image:CtkDoubleSlider.png|300px]] | ||
|A slider handling doubles | |A slider handling doubles | ||
|- | |- | ||
|[http://www. | |[http://www.commontk.org/docs/html/classctkFittedTextBrowser.html ctkFittedTextBrowser] | ||
| | | | ||
{| | {| | ||
Line 37: | Line 37: | ||
|A QTextBrowser that returns a dynamic vertical size hint depending of it's width. | |A QTextBrowser that returns a dynamic vertical size hint depending of it's width. | ||
|- | |- | ||
|ctkDirectoryButton | |[http://www.commontk.org/docs/html/classctkDirectoryButton.html ctkDirectoryButton] | ||
|[[Image:CtkDirectoryButton.png|300px]] | |[[Image:CtkDirectoryButton.png|300px]] | ||
|A QPushButton that display a directory path and popups a QFileDialog on click. The selected directory is then displayed on the button and a signal emitted. | |A QPushButton that display a directory path and popups a QFileDialog on click. The selected directory is then displayed on the button and a signal emitted. | ||
|- | |- | ||
|[http://www. | |[http://www.commontk.org/docs/html/classctkMenuButton.html ctkMenuButton] | ||
|[[Image:CtkMenuButton.png|300px]] | |[[Image:CtkMenuButton.png|300px]] | ||
|A QPushButton with a dedicated area that popups a QMenu | |A QPushButton with a dedicated area that popups a QMenu | ||
|- | |- | ||
|[http://www. | |[http://www.commontk.org/docs/html/classctkRangeSlider.html ctkRangeSlider] | ||
|[[Image:CtkRangeSlider.png|300px]] | |[[Image:CtkRangeSlider.png|300px]] | ||
|A QSlider with 2 handles to select 2 values. | |A QSlider with 2 handles to select 2 values. | ||
|- | |- | ||
|[http://www. | |[http://www.commontk.org/docs/html/classctkRangeWidget.html ctkRangeWidget] | ||
|[[Image:CtkRangeWidget.png|300px]] | |[[Image:CtkRangeWidget.png|300px]] | ||
|A ctkDoubleRangeSlider with 2 linked spinboxes. | |A ctkDoubleRangeSlider with 2 linked spinboxes. | ||
|- | |- | ||
|[http://www. | |[http://www.commontk.org/docs/html/classctkSliderSpinBoxWidget.html ctkSliderSpinBoxWidget] | ||
|[[Image:CtkSliderSpinBoxWidget.png|300px]] | |[[Image:CtkSliderSpinBoxWidget.png|300px]] | ||
|A pair of a ctkDoubleSlider and a QDoubleSpinBox bound together | |A pair of a ctkDoubleSlider and a QDoubleSpinBox bound together | ||
|- | |- | ||
|[http://www. | |[http://www.commontk.org/docs/html/classctkTitleComboBox.html ctkTitleComboBox] | ||
|[[Image:CtkTitleComboBox.png|300px]] | |[[Image:CtkTitleComboBox.png|300px]] | ||
|A QComboBox with a persistent title | |A QComboBox with a persistent title | ||
|- | |- | ||
|ctkTransferFunctionWidget | |[http://www.commontk.org/docs/html/classctkTransferFunctionWidget.html ctkTransferFunctionWidget] | ||
|[[Image:CtkTransferFunctionWidget.png|300px]] | |[[Image:CtkTransferFunctionWidget.png|300px]] | ||
|A widget that displays [[Documentation/ctkTransferFunctionWidget|ctkTransferFunctions]] | |A widget that displays [[Documentation/ctkTransferFunctionWidget|ctkTransferFunctions]] | ||
|- | |- | ||
|[http://www. | |[http://www.commontk.org/docs/html/classctkTreeComboBox.html ctkTreeComboBox] | ||
|[[Image:CtkTreeComboBox.png|300px]] | |[[Image:CtkTreeComboBox.png|300px]] | ||
|A QComboBox that displays items in a tree view | |A QComboBox that displays items in a tree view | ||
Line 72: | Line 72: | ||
==Visualization/VTK/Widgets== | ==Visualization/VTK/Widgets== | ||
{| | {| | ||
|[http://www. | |[http://www.commontk.org/docs/html/classctkVTKMatrixWidget.html ctkVTKMatrixWidget] | ||
|[[Image:CtkVTKMatrixWidget.png|300px]] | |[[Image:CtkVTKMatrixWidget.png|300px]] | ||
|A QTableWidget specially conceived for displaying/editing matrices | |A QTableWidget specially conceived for displaying/editing matrices | ||
Line 79: | Line 79: | ||
==DICOM/Core== | ==DICOM/Core== | ||
{| | {| | ||
|ctkDICOMModel | |[http://www.commontk.org/docs/html/classctkDICOMModel.html ctkDICOMModel] | ||
|[[Image:CtkDICOMModel.png|300px]] | |[[Image:CtkDICOMModel.png|300px]] | ||
|A QAbstractItemModel to represent DICOM files. | |A QAbstractItemModel to represent DICOM files. | ||
|} | |} |
Revision as of 23:29, 16 June 2010
Home < Documentation < ImageGalleryWidgets
ctkCheckableHeaderView | A QHeaderView that support checkable sections. The checkState can be propagated to the model items. | |||
ctkCollapsibleButton | A container with a QPushButton on top that controls the visible state of the contents | |||
ctkCollapsibleGroupBox | A QGroupBox that collapses/expands when checked/unchecked | |||
ctkColorPickerButton | A QPushButton with a colorful icon, opening a color chooser dialog on click | |||
ctkCoordinatesWidget | A QDoubleSpinBox container that groups signals/slots of 3D vectors(i.e. X,Y,Z) | |||
ctkDoubleRangeSlider | A ctkRangeSlider handling double values. | |||
ctkDoubleSlider | A slider handling doubles | |||
ctkFittedTextBrowser |
|
A QTextBrowser that returns a dynamic vertical size hint depending of it's width. | ||
ctkDirectoryButton | A QPushButton that display a directory path and popups a QFileDialog on click. The selected directory is then displayed on the button and a signal emitted. | |||
ctkMenuButton | A QPushButton with a dedicated area that popups a QMenu | |||
ctkRangeSlider | A QSlider with 2 handles to select 2 values. | |||
ctkRangeWidget | A ctkDoubleRangeSlider with 2 linked spinboxes. | |||
ctkSliderSpinBoxWidget | A pair of a ctkDoubleSlider and a QDoubleSpinBox bound together | |||
ctkTitleComboBox | A QComboBox with a persistent title | |||
ctkTransferFunctionWidget | A widget that displays ctkTransferFunctions | |||
ctkTreeComboBox | A QComboBox that displays items in a tree view |
Visualization/VTK/Widgets
ctkVTKMatrixWidget | A QTableWidget specially conceived for displaying/editing matrices |
DICOM/Core
ctkDICOMModel | A QAbstractItemModel to represent DICOM files. |