Documentation/ImageGallery: Difference between revisions

From Commontk
Jump to navigationJump to search
(→‎Widgets: Add ctkErrorLogWidget)
No edit summary
 
(45 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/classctkActionsWidget.html ctkActionsWidget]
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:CtkActionsWidget.png|300px]]
Image:CtkAxesWidget.png|[http://www.commontk.org/docs/html/classctkAxesWidget.html ctkAxesWidget]<br>A widget to select an axis (RAS).
|A custom QTreeView that shows the QActions (shortcuts) of an application.
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/classctkAxesWidget.html ctkAxesWidget]
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:CtkAxesWidget.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 widget to select an axis (RAS).
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/classctkCheckableHeaderView.html ctkCheckableHeaderView]
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:CtkCheckableHeaderView.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 QHeaderView that support checkable sections. The checkState can be propagated to the model items.
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/classctkCheckablePushButton.html ctkCheckablePushButton]
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:CtkCheckablePushButton.png|300px]]
Image:CtkRangeSlider.png|[http://www.commontk.org/docs/html/classctkDoubleRangeSlider.html ctkDoubleRangeSlider]<br>A ctkRangeSlider handling double values.
|A QPushButton whose checkable state is controlled with a checkbox.
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/classctkCollapsibleButton.html ctkCollapsibleButton]
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:CtkCollapsibleWidget.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 container with a QPushButton on top that controls the visible state of the contents
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/classctkCollapsibleGroupBox.html ctkCollapsibleGroupBox]
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:CtkCollapsibleGroupBox.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 QGroupBox that collapses/expands when checked/unchecked  
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/classctkColorDialog.html ctkColorDialog]
Image:CtkFontButton.png|[http://www.commontk.org/docs/html/classctkFontButton.html ctkFontButton]<br>A pushbutton to select a font.
|[[Image:CtkColorDialog.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 QColorDialog that can be customized with extra widgets(tabs)
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/classctkColorPickerButton.html ctkColorPickerButton]
Image:CtkMenuButton.png|[http://www.commontk.org/docs/html/classctkMenuButton.html ctkMenuButton]<br>A QPushButton with a dedicated area that popups a QMenu
|[[Image:CtkColorPickerButton.png|300px]]
Image:CtkMenuComboBox.png|[http://www.commontk.org/docs/html/classctkMenuComboBox.html ctkMenuComboBox]<br>A QComboBox links with a Qmenu
|A QPushButton with a colorful icon, opening a color chooser dialog on click  
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/classctkComboBox.html ctkComboBox]
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:CtkTitleComboBox.png|300px]]
Image:CtkPathListWidget.png|[http://www.commontk.org/docs/html/classctkPathListWidget.html ctkPathListWidget]<br>A list view with buttons to select multiple files/directories.
|An advanced QComboBox with default icon/title, persistent text...
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:CtkRangeSlider.png|[http://www.commontk.org/docs/html/classctkRangeSlider.html ctkRangeSlider]<br>A QSlider with 2 handles to select 2 values.
|[http://www.commontk.org/docs/html/classctkCoordinatesWidget.html ctkCoordinatesWidget]
Image:CtkRangeWidget.png|[http://www.commontk.org/docs/html/classctkRangeWidget.html ctkRangeWidget]<br>A ctkDoubleRangeSlider with 2 linked spinboxes.
|[[Image:CtkCoordinatesWidget.png|300px]]
Image:CtkScreenshotDialog.png|[http://www.commontk.org/docs/html/classctkScreenshotDialog.html ctkScreenshotDialog]<br>A dialog to take screenshots of any QWidget
|A QDoubleSpinBox container that groups signals/slots of 3D vectors(i.e. X,Y,Z)
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/classctkVTKScalarsToColorsView.html ctkVTKScalarsToColorsView]
Image:CtkSliderSpinBoxWidget.png|[http://www.commontk.org/docs/html/classctkSliderWidget.html ctkSliderWidget]<br>A pair of a ctkDoubleSlider and a QDoubleSpinBox bound together
|[[Image:CtkVTKScalarsToColorsView.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 QVTKWidget that contains VTK Charts for transfer function rendering/interfacing
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/classctkDateRangeWidget.html ctkDateRangeWidget]
Image:CtkTreeComboBox.png|[http://www.commontk.org/docs/html/classctkTreeComboBox.html ctkTreeComboBox]<br>A QComboBox that displays items in a tree view
|[[Image:CtkDateRangeWidget.png|300px]]
</gallery>
|A utility widget to select a range in time.
|-
|[http://www.commontk.org/docs/html/classctkDirectoryButton.html ctkDirectoryButton]
|[[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.
|-
|[http://www.commontk.org/docs/html/classctkDoubleRangeSlider.html ctkDoubleRangeSlider]
|[[Image:CtkRangeSlider.png|300px]]
|A ctkRangeSlider handling double values.
|-
|[http://www.commontk.org/docs/html/classctkDoubleSlider.html ctkDoubleSlider]
|[[Image:CtkDoubleSlider.png|300px]]
|A slider handling doubles
|-  
|[http://www.commontk.org/docs/html/classctkErrorLogWidget.html ctkErrorLogWidget]
|[[Image:CtkErrorLogWidget.png|300px]]
|A widget to show errors and logs of your application 
|-
|[http://www.commontk.org/docs/html/classctkFileDialog.html ctkFileDialog]
|[[Image:CtkFileDialog.png|300px]]
|A customizable QFileDialog (extra options can be added to the file dialog).
|-
|[http://www.commontk.org/docs/html/classctkFittedTextBrowser.html ctkFittedTextBrowser]
|
{|
|[[Image:CtkFittedTextBrowser.png|185px]]
|[[Image:CtkFittedTextBrowser2.png|115px]]
|}
|A QTextBrowser that returns a dynamic vertical size hint depending of it's width.  
|-
|[http://www.commontk.org/docs/html/classctkFlowLayout.html ctkFlowLayout]
|[[Image:CtkFlowLayout.png|300px]]
|A QLayout that dynamically lay-outs widgets based on the available width/height.
|-
|[http://www.commontk.org/docs/html/classctkMaterialPropertyWidget.html ctkMaterialPropertyWidget]
|[[Image:CtkMaterialPropertyWidget.png|300px]]
|A widget to control material properties
|-
|[http://www.commontk.org/docs/html/classctkMenuButton.html ctkMenuButton]
|[[Image:CtkMenuButton.png|300px]]
|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/classctkScreenshotDialog.html ctkScreenshotDialog]
|[[Image:CtkScreenshotDialog.png|300px]]
|A dialog to take screenshots of any QWidget
|-
|[http://www.commontk.org/docs/html/classctkSliderWidget.html ctkSliderWidget]
|[[Image:CtkSliderSpinBoxWidget.png|300px]]
|A pair of a ctkDoubleSlider and a QDoubleSpinBox bound together
|-
|[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.
|[http://www.commontk.org/docs/html/classctkVTKRenderView.html ctkVTKRenderView]
Image:CtkVTKRenderView.png|[http://www.commontk.org/docs/html/classctkVTKRenderView.html ctkVTKRenderView]<br>A QVTKRenderWidget with additional utility functions
|[[Image:CtkVTKRenderView.png|300px]]
Image:CtkVTKScalarsToColorsView.png|[http://www.commontk.org/docs/html/classctkVTKScalarsToColorsView.html ctkVTKScalarsToColorsView]<br>A QVTKWidget that contains VTK Charts for transfer function rendering/interfacing
|A QVTKRenderWidget with additional utility functions
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
|[http://www.commontk.org/docs/html/classctkVTKSliceView.html ctkVTKSliceView]
Image:CtkVTKTextPropertyWidget.png|[http://www.commontk.org/docs/html/classctkVTKTextPropertyWidget.html ctkVTKTextPropertyWidget]<br>A widget to control vtkTextProperty most common properties
|[[Image:CtkVTKSliceView-Lightbox.png|300px]]
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
|A QVTKRenderWidget to display 2D images (support lightbox mode)
Image:CtkVTKThumbnailView.png|[http://www.commontk.org/docs/html/classctkVTKThumbnailView.html ctkVTKThumbnailView]<br>A widget to show the viewport of any vtkRenderer
|-
</gallery>
|[http://www.commontk.org/docs/html/classctkVTKSurfaceMaterialPropertyWidget.html ctkVTKSurfaceMaterialPropertyWidget]
|[[Image:CtkMaterialPropertyWidget.png|300px]]
|A widget to control vtkProperty most common properties
|-
|[http://www.commontk.org/docs/html/classctkVTKTextPropertyWidget.html ctkVTKTextPropertyWidget]
|[[Image:CtkVTKTextPropertyWidget.png|300px]]
|A widget to control vtkTextProperty most common properties
|-
|[http://www.commontk.org/docs/html/classctkVTKThumbnailView.html ctkVTKThumbnailView]
|[[Image:CtkVTKThumbnailView.png|300px]]
|A widget to show the viewport of any vtkRenderer
|}


==DICOM==
==DICOM==
{|
<gallery widths=300 px heights=200px perrow=3>
|[http://www.commontk.org/docs/html/classctkDICOMAppWidget.html ctkDICOMAppWidget]
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:CtkDICOM-hackfest-Feb-2011.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 DICOM widget to manage local and remote DICOM image database  
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.
|[http://www.commontk.org/docs/html/classctkDICOMModel.html ctkDICOMModel]
</gallery>
|[[Image:CtkDICOMModel.png|300px]]
|A QAbstractItemModel to represent DICOM files.
|-
|[http://www.commontk.org/docs/html/classctkDICOMServerNodeWidget.html ctkDICOMServerNodeWidget]
|[[image:CtkDICOMServerNodeWidget.png|300px]]
|A widget to list/add/remove remote servers.
|}


==Scripting/Python==
==Scripting/Python==
{|
<gallery widths=300 px heights=200px perrow=3>
|[http://www.commontk.org/docs/html/classctkPythonShell.html ctkPythonShell]
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?]
|[[Image:CtkPythonShell.png|300px]]
</gallery>
|A console to interact with python
|}

Latest revision as of 17:24, 28 March 2017

Home < Documentation < ImageGallery

Widgets

Visualization/VTK/Widgets

DICOM

Scripting/Python