Documentation/ImageGallery: Difference between revisions

From Commontk
Jump to navigationJump to search
No edit summary
 
(69 intermediate revisions by 5 users not shown)
Line 1: Line 1:
==Widgets==
==Widgets==
{|
<gallery widths=300 px heights=200px perrow=3>
|[http://www.commontk.org/docs/html/classctkCheckableHeaderView.html ctkCheckableHeaderView]
Image:CtkActionsWidget.png|[http://www.commontk.org/docs/html/classctkActionsWidget.html ctkActionsWidget]<br>A custom QTreeView that shows the QActions (shortcuts) of an application.
|[[Image:CtkCheckableHeaderView.png|300px]]
Image:CtkAxesWidget.png|[http://www.commontk.org/docs/html/classctkAxesWidget.html ctkAxesWidget]<br>A widget to select an axis (RAS).
|A QHeaderView that support checkable sections. The checkState can be propagated to the model items.
Image:CtkCheckableComboBox.png|[http://www.commontk.org/docs/html/classctkCheckableComboBox.html ctkCheckableComboBox]<br>A combo box to check items.
|-
Image:CtkCheckableHeaderView.png|[http://www.commontk.org/docs/html/classctkCheckableHeaderView.html ctkCheckableHeaderView]<br>A QHeaderView that support checkable sections. The checkState can be propagated to the model items.
|[http://www.commontk.org/docs/html/classctkCollapsibleButton.html ctkCollapsibleButton]
Image:CtkCheckablePushButton.png|[http://www.commontk.org/docs/html/classctkCheckablePushButton.html ctkCheckablePushButton]<br>A QPushButton with a custom checkbox. By default the checkable state is controlled with a checkbox.
|[[Image:CtkCollapsibleWidget.png|300px|]]
Image:CtkCollapsibleWidget.png|[http://www.commontk.org/docs/html/classctkCollapsibleButton.html ctkCollapsibleButton]<br>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
Image:CtkCollapsibleGroupBox.png|[http://www.commontk.org/docs/html/classctkCollapsibleGroupBox.html ctkCollapsibleGroupBox]<br>A QGroupBox that collapses/expands when checked/unchecked
|-
Image:CtkColorDialog.png|[http://www.commontk.org/docs/html/classctkColorDialog.html ctkColorDialog]<br>A QColorDialog that can be customized with extra widgets(tabs)
|[http://www.commontk.org/docs/html/classctkCollapsibleGroupBox.html ctkCollapsibleGroupBox]
Image:CtkColorPickerButton.png|[http://www.commontk.org/docs/html/classctkColorPickerButton.html ctkColorPickerButton]<br>A QPushButton with a colorful icon, opening a color chooser dialog on click
|[[Image:CtkCollapsibleGroupBox.png|300px]]
Image:CtkTitleComboBox.png|[http://www.commontk.org/docs/html/classctkComboBox.html ctkComboBox]<br>An advanced QComboBox with default icon/title, persistent text...
|A QGroupBox that collapses/expands when checked/unchecked  
Image:CtkCoordinatesWidget.png|[http://www.commontk.org/docs/html/classctkCoordinatesWidget.html ctkCoordinatesWidget]<br>A QDoubleSpinBox container that groups signals/slots of 3D vectors(i.e. X,Y,Z)
|-
Image:CtkDateRangeWidget.png|[http://www.commontk.org/docs/html/classctkDateRangeWidget.html ctkDateRangeWidget]<br>A utility widget to select a range in time.
|[http://www.commontk.org/docs/html/classctkColorPickerButton.html ctkColorPickerButton]
Image:CtkDirectoryButton.png|[http://www.commontk.org/docs/html/classctkDirectoryButton.html ctkDirectoryButton]<br>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.
|[[Image:CtkColorPickerButton.png|300px]]
Image:CtkRangeSlider.png|[http://www.commontk.org/docs/html/classctkDoubleRangeSlider.html ctkDoubleRangeSlider]<br>A ctkRangeSlider handling double values.
|A QPushButton with a colorful icon, opening a color chooser dialog on click  
Image:CtkDoubleSlider.png|[http://www.commontk.org/docs/html/classctkDoubleSlider.html ctkDoubleSlider]<br>A slider handling doubles
|-
Image:CtkDoubleSpinBox.gif|[http://www.commontk.org/docs/html/classctkDoubleSpinBox.html ctkDoubleSpinBox]<br>An advanced spinbox with better control over the decimals
|[http://www.commontk.org/docs/html/classctkCoordinatesWidget.html ctkCoordinatesWidget]
Image:CtkExpandableWidget.png|[http://www.commontk.org/docs/html/classctkExpandableWidget.html ctkExpandableWidget]<br>A resizable (size-hint) frame or grip (with [http://www.commontk.org/docs/html/classctkSizeGrip.html ctkSizeGrip]).
|[[Image:CtkCoordinatesWidget.png|300px]]
Image:CtkErrorLogWidget.png|[http://www.commontk.org/docs/html/classctkErrorLogWidget.html ctkErrorLogWidget]<br>A widget to show errors and logs of your application
|A QDoubleSpinBox container that groups signals/slots of 3D vectors(i.e. X,Y,Z)
Image:ExpandButton.png|[http://www.commontk.org/docs/html/classctkExpandButton.html ctkExpandButton]<br>A QToolButton with a standard icon, to show, hide widgets.
|-
Image:CtkFileDialog.png|[http://www.commontk.org/docs/html/classctkFileDialog.html ctkFileDialog]<br>A customizable QFileDialog (extra options can be added to the file dialog).
|[http://www.commontk.org/docs/html/classctkDoubleRangeSlider.html ctkDoubleRangeSlider]
Image:CtkFittedTextBrowser.png|[http://www.commontk.org/docs/html/classctkFittedTextBrowser.html ctkFittedTextBrowser]<br>A QTextBrowser that returns a dynamic vertical size hint depending of it's width.
|[[Image:CtkRangeSlider.png|300px]]
Image:CtkFittedTextBrowser2.png|[http://www.commontk.org/docs/html/classctkFittedTextBrowser.html ctkFittedTextBrowser]<br>A QTextBrowser that returns a dynamic vertical size hint depending of it's width.
|A ctkRangeSlider handling double values.
Image:CtkFittedTextBrowserCollapsible.png|[http://www.commontk.org/docs/html/classctkFittedTextBrowser.html ctkFittedTextBrowser]<br>A QTextBrowser that returns a dynamic vertical size hint depending of it's width. The widget can collapse the text and add a link that the user can click to show the full text.  
|-
Image:CtkFlowLayout.png|[http://www.commontk.org/docs/html/classctkFlowLayout.html ctkFlowLayout]<br>A QLayout that dynamically lay-outs widgets based on the available width/height.
|[http://www.commontk.org/docs/html/classctkDoubleSlider.html ctkDoubleSlider]
Image:CtkFontButton.png|[http://www.commontk.org/docs/html/classctkFontButton.html ctkFontButton]<br>A pushbutton to select a font.
|[[Image:CtkDoubleSlider.png|300px]]
Image:CtkLayoutManager.png|[http://www.commontk.org/docs/html/classctkLayoutManager.html ctkLayoutManager]<br>An XML layout manager for dynamic and serializable layout.
|A slider handling doubles
Image:CtkLanguageComboBox.png|[http://www.commontk.org/docs/html/classctkLanguageComboBox.html ctkLanguageComboBox]<br>A combobox to select a language.
|-
Image:CtkMaterialPropertyWidget.png|[http://www.commontk.org/docs/html/classctkMaterialPropertyWidget.html ctkMaterialPropertyWidget]<br>A widget to control material properties
|[http://www.commontk.org/docs/html/classctkFileDialog.html ctkFileDialog]
Image:CtkMenuButton.png|[http://www.commontk.org/docs/html/classctkMenuButton.html ctkMenuButton]<br>A QPushButton with a dedicated area that popups a QMenu
|[[Image:CtkFileDialog.png|300px]]
Image:CtkMenuComboBox.png|[http://www.commontk.org/docs/html/classctkMenuComboBox.html ctkMenuComboBox]<br>A QComboBox links with a Qmenu
|A customizable QFileDialog (extra options can be added to the file dialog).
Image:CtkVTKMatrixWidget.png|[http://www.commontk.org/docs/html/classctkMatrixWidget.html ctkMatrixWidget]<br>A matrix table
|-
Image:CtkModalityWidget.png|[http://www.commontk.org/docs/html/classctkModalityWidget.html ctkModalityWidget]<br>A radio button group of medical (DICOM) modalities
|[http://www.commontk.org/docs/html/classctkFittedTextBrowser.html ctkFittedTextBrowser]
Image:CtkPathLineEdit.png|[http://www.commontk.org/docs/html/classctkPathLineEdit.html ctkPathLineEdit]<br>An auto-complete line edit to pick file path and remember history.
|
Image:CtkPathListWidget.png|[http://www.commontk.org/docs/html/classctkPathListWidget.html ctkPathListWidget]<br>A list view with buttons to select multiple files/directories.
{|
Image:CtkPopupWidget.png|[http://www.commontk.org/docs/html/classctkPopupWidget.html ctkPopupWidget]<br>A widget that opens/closes dynamically. Read the [http://www.kitware.com/blog/home/post/169 blog post].
|[[Image:CtkFittedTextBrowser.png|185px]]
Image:CtkRangeSlider.png|[http://www.commontk.org/docs/html/classctkRangeSlider.html ctkRangeSlider]<br>A QSlider with 2 handles to select 2 values.
|[[Image:CtkFittedTextBrowser2.png|115px]]
Image:CtkRangeWidget.png|[http://www.commontk.org/docs/html/classctkRangeWidget.html ctkRangeWidget]<br>A ctkDoubleRangeSlider with 2 linked spinboxes.
|}
Image:CtkScreenshotDialog.png|[http://www.commontk.org/docs/html/classctkScreenshotDialog.html ctkScreenshotDialog]<br>A dialog to take screenshots of any QWidget
|A QTextBrowser that returns a dynamic vertical size hint depending of it's width.  
Image:CtkSearchBox3.png|[http://www.commontk.org/docs/html/classctkSearchBox.html ctkSearchBox]<br>A QLineEdit with 2 QIcon to be used to filter other widgets
|-  
Image:CtkSettingsDialog.png|[http://www.commontk.org/docs/html/classctkSettingsDialog.html ctkSettingsDialog]<br>An easy to setup dialog to control application settings.
|[http://www.commontk.org/docs/html/classctkDirectoryButton.html ctkDirectoryButton]
Image:CtkSliderSpinBoxWidget.png|[http://www.commontk.org/docs/html/classctkSliderWidget.html ctkSliderWidget]<br>A pair of a ctkDoubleSlider and a QDoubleSpinBox bound together
|[[Image:CtkDirectoryButton.png|300px]]
Image:CtkThumbnailLabel.png|[http://www.commontk.org/docs/html/classctkThumbnailLabel.html ctkThumbnailLabel]<br>An advanced label to give control over the pixmap resizing and text position.
|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.
Image:CtkThumbnailListWidget.png|[http://www.commontk.org/docs/html/classctkThumbnailListWidget.html ctkThumbnailListWidget]<br>A collection of ctkThumbnailLabels in a flexible layout.
|-
Image:CtkTransferFunctionWidget.png|[http://www.commontk.org/docs/html/classctkTransferFunctionWidget.html ctkTransferFunctionWidget]<br>A widget that displays [[Documentation/ctkTransferFunctionWidget|ctkTransferFunctions]]
|[http://www.commontk.org/docs/html/classctkMenuButton.html ctkMenuButton]
Image:CtkTreeComboBox.png|[http://www.commontk.org/docs/html/classctkTreeComboBox.html ctkTreeComboBox]<br>A QComboBox that displays items in a tree view
|[[Image:CtkMenuButton.png|300px]]
</gallery>
|A QPushButton with a dedicated area that popups a QMenu
|-
|[http://www.commontk.org/docs/html/classctkRangeSlider.html ctkRangeSlider]
|[[Image:CtkRangeSlider.png|300px]]
|A QSlider with 2 handles to select 2 values.
|-
|[http://www.commontk.org/docs/html/classctkRangeWidget.html ctkRangeWidget]
|[[Image:CtkRangeWidget.png|300px]]
|A ctkDoubleRangeSlider with 2 linked spinboxes.
|-
|[http://www.commontk.org/docs/html/classctkSliderSpinBoxWidget.html ctkSliderSpinBoxWidget]
|[[Image:CtkSliderSpinBoxWidget.png|300px]]
|A pair of a ctkDoubleSlider and a QDoubleSpinBox bound together  
|-
|[http://www.commontk.org/docs/html/classctkTitleComboBox.html ctkTitleComboBox]
|[[Image:CtkTitleComboBox.png|300px]]
|A QComboBox with a persistent title
|-
|[http://www.commontk.org/docs/html/classctkTransferFunctionWidget.html ctkTransferFunctionWidget]
|[[Image:CtkTransferFunctionWidget.png|300px]]
|A widget that displays [[Documentation/ctkTransferFunctionWidget|ctkTransferFunctions]]
|-
|[http://www.commontk.org/docs/html/classctkTreeComboBox.html ctkTreeComboBox]
|[[Image:CtkTreeComboBox.png|300px]]
|A QComboBox that displays items in a tree view
|}


==Visualization/VTK/Widgets==
==Visualization/VTK/Widgets==
{|
<gallery widths=300 px heights=200px perrow=3>
|[http://www.commontk.org/docs/html/classctkVTKMatrixWidget.html ctkVTKMatrixWidget]
Image:CtkVTKDataSetArrayComboBox.png|[http://www.commontk.org/docs/html/classctkVTKDataSetArrayComboBox.html ctkVTKDataSetArrayComboBox]<br>A combobox populated with a vtkDataSet data arrays
|[[Image:CtkVTKMatrixWidget.png|300px]]
Image:CtkVTKMagnifyView.png|[http://www.commontk.org/docs/html/classctkVTKMagnifyView.html ctkVTKMagnifyView]<br>A widget that display zoomed contents of a VTK render window.
|A QTableWidget specially conceived for displaying/editing matrices  
Image:CtkVTKMatrixWidget.png|[http://www.commontk.org/docs/html/classctkVTKMatrixWidget.html ctkVTKMatrixWidget]<br>A QTableWidget specially conceived for displaying/editing matrices
|}
Image:CtkVTKPropertyWidget.png|[http://www.commontk.org/docs/html/classctkVTKPropertyWidget.html ctkVTKPropertyWidget]<br>A widget to control all the properties of vtkProperties.
Image:CtkVTKRenderView.png|[http://www.commontk.org/docs/html/classctkVTKRenderView.html ctkVTKRenderView]<br>A QVTKRenderWidget with additional utility functions
Image:CtkVTKScalarsToColorsView.png|[http://www.commontk.org/docs/html/classctkVTKScalarsToColorsView.html ctkVTKScalarsToColorsView]<br>A QVTKWidget that contains VTK Charts for transfer function rendering/interfacing
Image:CtkVTKSliceView-Lightbox.png|[http://www.commontk.org/docs/html/classctkVTKSliceView.html ctkVTKSliceView]<br>A QVTKRenderWidget to display 2D images (support lightbox mode)
Image:CtkMaterialPropertyWidget.png|[http://www.commontk.org/docs/html/classctkVTKSurfaceMaterialPropertyWidget.html ctkVTKSurfaceMaterialPropertyWidget]<br>A widget to control vtkProperty most common properties
Image:CtkVTKTextPropertyWidget.png|[http://www.commontk.org/docs/html/classctkVTKTextPropertyWidget.html ctkVTKTextPropertyWidget]<br>A widget to control vtkTextProperty most common properties
Image:CtkVTKThresholdWidget.png|[http://www.commontk.org/docs/html/classctkVTKThresholdWidget.html ctkVTKThresholdWidget]<br>A widget to control a threshold min/max/height in a vtkPiecewiseFunction
Image:CtkVTKThumbnailView.png|[http://www.commontk.org/docs/html/classctkVTKThumbnailView.html ctkVTKThumbnailView]<br>A widget to show the viewport of any vtkRenderer
</gallery>


==DICOM/Core==
==DICOM==
{|
<gallery widths=300 px heights=200px perrow=3>
|[http://www.commontk.org/docs/html/classctkDICOMModel.html ctkDICOMModel]
Image:CtkDICOM-hackfest-Feb-2011.png|[http://www.commontk.org/docs/html/classctkDICOMAppWidget.html ctkDICOMAppWidget]<br>A DICOM widget to manage local and remote DICOM image database
|[[Image:CtkDICOMModel.png|300px]]
Image:CtkDICOMImportWidget.png|[http://www.commontk.org/docs/html/classctkDICOMImportWidget.html ctkDICOMImportWidget]<br>Panel to select a directory containing DICOM files on a local file system.
|A QAbstractItemModel to represent DICOM files.
Image:CtkDICOMModel.png|[http://www.commontk.org/docs/html/classctkDICOMModel.html ctkDICOMModel]<br>A QAbstractItemModel to represent DICOM files.
|}
Image:CtkDICOMServerNodeWidget.png|[http://www.commontk.org/docs/html/classctkDICOMServerNodeWidget.html ctkDICOMServerNodeWidget]<br>A widget to list/add/remove remote servers.
</gallery>
 
==Scripting/Python==
<gallery widths=300 px heights=200px perrow=3>
Image:CtkPythonShell.png|A console to interact with python<br>[http://www.commontk.org/docs/html/ctkSimplePythonShell_8py.html ctkPythonShell]<br> [http://commontk.org/index.php/Documentation/PythonScripting_HowToUseCTKPythonConsole How to use the CTK Python Console?]
</gallery>

Latest revision as of 17:24, 28 March 2017

Home < Documentation < ImageGallery

Widgets

Visualization/VTK/Widgets

DICOM

Scripting/Python