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.na-mic.org/Slicer/Documentation/Slicer3-doc/html/classctkCollapsibleButton.html ctkCollapsibleButton]
|[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.na-mic.org/Slicer/Documentation/Slicer3-doc/html/classctkCollapsibleGroupBox.html ctkCollapsibleGroupBox]
|[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.na-mic.org/Slicer/Documentation/Slicer3-doc/html/classctkColorPickerButton.html ctkColorPickerButton]
|[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.na-mic.org/Slicer/Documentation/Slicer3-doc/html/classctkCoordinatesWidget.html ctkCoordinatesWidget]
|[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.na-mic.org/Slicer/Documentation/Slicer3-doc/html/classctkDoubleRangeSlider.html ctkDoubleRangeSlider]
|[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.na-mic.org/Slicer/Documentation/Slicer3-doc/html/classctkDoubleSlider.html ctkDoubleSlider]
|[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.na-mic.org/Slicer/Documentation/Slicer3-doc/html/classctkFittedTextBrowser.html ctkFittedTextBrowser]
|[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.na-mic.org/Slicer/Documentation/Slicer3-doc/html/classctkMenuButton.html ctkMenuButton]
|[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.na-mic.org/Slicer/Documentation/Slicer3-doc/html/classctkRangeSlider.html ctkRangeSlider]
|[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.na-mic.org/Slicer/Documentation/Slicer3-doc/html/classctkRangeWidget.html ctkRangeWidget]
|[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.na-mic.org/Slicer/Documentation/Slicer3-doc/html/classctkSliderSpinBoxWidget.html ctkSliderSpinBoxWidget]
|[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.na-mic.org/Slicer/Documentation/Slicer3-doc/html/classctkTitleComboBox.html ctkTitleComboBox]
|[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.na-mic.org/Slicer/Documentation/Slicer3-doc/html/classctkTreeComboBox.html ctkTreeComboBox]
|[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.na-mic.org/Slicer/Documentation/Slicer3-doc/html/classctkVTKMatrixWidget.html ctkVTKMatrixWidget]
|[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 < ImageGallery

Widgets

ctkCheckableHeaderView CtkCheckableHeaderView.png A QHeaderView that support checkable sections. The checkState can be propagated to the model items.
ctkCollapsibleButton CtkCollapsibleWidget.png A container with a QPushButton on top that controls the visible state of the contents
ctkCollapsibleGroupBox CtkCollapsibleGroupBox.png A QGroupBox that collapses/expands when checked/unchecked
ctkColorPickerButton CtkColorPickerButton.png A QPushButton with a colorful icon, opening a color chooser dialog on click
ctkCoordinatesWidget CtkCoordinatesWidget.png A QDoubleSpinBox container that groups signals/slots of 3D vectors(i.e. X,Y,Z)
ctkDoubleRangeSlider CtkRangeSlider.png A ctkRangeSlider handling double values.
ctkDoubleSlider CtkDoubleSlider.png A slider handling doubles
ctkFittedTextBrowser
CtkFittedTextBrowser.png CtkFittedTextBrowser2.png
A QTextBrowser that returns a dynamic vertical size hint depending of it's width.
ctkDirectoryButton CtkDirectoryButton.png 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 CtkMenuButton.png A QPushButton with a dedicated area that popups a QMenu
ctkRangeSlider CtkRangeSlider.png A QSlider with 2 handles to select 2 values.
ctkRangeWidget CtkRangeWidget.png A ctkDoubleRangeSlider with 2 linked spinboxes.
ctkSliderSpinBoxWidget CtkSliderSpinBoxWidget.png A pair of a ctkDoubleSlider and a QDoubleSpinBox bound together
ctkTitleComboBox CtkTitleComboBox.png A QComboBox with a persistent title
ctkTransferFunctionWidget CtkTransferFunctionWidget.png A widget that displays ctkTransferFunctions
ctkTreeComboBox CtkTreeComboBox.png A QComboBox that displays items in a tree view

Visualization/VTK/Widgets

ctkVTKMatrixWidget CtkVTKMatrixWidget.png A QTableWidget specially conceived for displaying/editing matrices

DICOM/Core

ctkDICOMModel CtkDICOMModel.png A QAbstractItemModel to represent DICOM files.