CTK  0.1.0
The Common Toolkit is a community effort to provide support code for medical image analysis, surgical navigation, and related projects.
Classes | Functions
Collaboration diagram for Widgets:

Classes

class  ctkActionsWidget
 
class  ctkAddRemoveComboBox
 
class  ctkAxesWidget
 
class  ctkBasePopupWidget
 
struct  ctkBezierControlPoint
 
class  ctkButtonGroup
 
class  ctkCheckableComboBox
 
class  ctkCheckableHeaderView
 
class  ctkCheckableModelHelper
 
class  ctkCheckablePushButton
 
class  ctkCheckBox
 
class  ctkCheckBoxPixmaps
 
class  ctkCollapsibleButton
 
class  ctkCollapsibleGroupBox
 
class  ctkColorDialog
 
class  ctkColorPickerButton
 
class  ctkComboBox
 ctkComboBox is an advanced QComboBox. It adds multiple features: More...
 
class  ctkCompleter
 
class  ctkConsole
 
struct  ctkControlPoint
 
class  ctkCoordinatesWidget
 
class  ctkCrosshairLabel
 
class  ctkDateRangeWidget
 
class  ctkDirectoryButton
 
class  ctkDoubleRangeSlider
 
class  ctkDoubleSlider
 
class  ctkDynamicSpacer
 
class  ctkErrorLogModel
 
class  ctkErrorLogStatusMessageHandler
 
class  ctkErrorLogWidget
 
class  ctkExpandableWidget
 Widget that can be resized by the user using a corner size grip. ctkExpandableWidget is a container widget that has a user customizable sizeHint. More...
 
class  ctkExpandButton
 
class  ctkFileDialog
 
class  ctkFittedTextBrowser
 
class  ctkFlatProxyModel
 
class  ctkFlowLayout
 
class  ctkFontButton
 
class  ctkHistogram
 
struct  ctkHistogramBar
 Qt includes. More...
 
class  ctkIconEngine
 
class  ctkIconEnginePlugin
 
class  ctkLayoutFactory
 
class  ctkLayoutManager
 
class  ctkLayoutViewFactory
 
class  ctkMaterialPropertyPreviewLabel
 
class  ctkMaterialPropertyWidget
 
class  ctkMatrixWidget
 
class  ctkMenuButton
 
class  ctkMenuComboBox
 
class  ctkMessageBox
 
class  ctkModalityWidget
 
struct  ctkNonLinearControlPoint
 
class  ctkPathLineEdit
 Advanced line edit to select a file or directory. More...
 
class  ctkPathListButtonsWidget
 A widget with add, remove and edit buttons to be used together with ctkPathListWidget. More...
 
class  ctkPathListWidget
 The ctkPathListWidget lists files and/or directories. More...
 
class  ctkPixmapIconEngine
 
struct  ctkPixmapIconEngineEntry
 
struct  ctkPoint
 
class  ctkPopupWidget
 
class  ctkProxyStyle
 
class  ctkPushButton
 
class  ctkQImageView
 
class  ctkRangeSlider
 
class  ctkRangeWidget
 
class  ctkRichTextItemDelegate
 
class  ctkScreenshotDialog
 
class  ctkSearchBox
 
class  ctkSettings
 
class  ctkSettingsDialog
 
class  ctkSettingsPanel
 
class  ctkSignalMapper
 
class  ctkSizeGrip
 ctkSizeGrip is a utility widget that allows widget in a layout to be manually resized. It is not meant to be used as is but with a third party that can change the size hint of a widget such as a container widget (e.g. ctkExpandableWidget). To resize a widget, the user must left click on the size grip and drag left/right to control the width and/or up/bottom to control the height. Left button double-click resets the size hint of the target widget to its default. More...
 
class  ctkSliderWidget
 
class  ctkSortFilterActionsProxyModel
 
class  ctkTemplateLayoutViewFactory< T >
 
class  ctkTemplateWidget
 
class  ctkTestApplication
 
class  ctkThumbnailLabel
 
class  ctkThumbnailListWidget
 
class  ctkToolTipTrapper
 
class  ctkTransferFunction
 
class  ctkTransferFunctionBarsItem
 
class  ctkTransferFunctionControlPointsItem
 
class  ctkTransferFunctionGradientItem
 
class  ctkTransferFunctionItem
 
class  ctkTransferFunctionNativeItem
 
class  ctkTransferFunctionRepresentation
 
class  ctkTransferFunctionScene
 
class  ctkTransferFunctionView
 
class  ctkTreeComboBox
 
class  ctkVisualizationVTKWidgetsPythonQtDecorators
 
class  ctkWidgetsPythonQtDecorators
 
class  ctkWorkflowAbstractPagedWidget
 
class  ctkWorkflowButtonBoxWidget
 A widget that controls a workflow. More...
 
class  ctkWorkflowGroupBox
 ctkWorkflowGroupBox is a widget displaying the user interface elements, title, description and/or error status of the current step of a ctkWorkflow. More...
 
class  ctkWorkflowStackedWidget
 ctkWorkflowStackedWidget is the basis for a workflow with a user interface containing a QStackedWidget. More...
 
class  ctkWorkflowTabWidget
 ctkWorkflowTabWidget is the basis for a workflow with a user More...
 
class  ctkWorkflowWidget
 ctkWorkflowWidget is the basis for a workflow with a user interface. It groups together and manages a ctkWorkflowGroupBox (to display the step) and a ctkWorkflowButtonBoxWidget (providing buttons for traversing the workflow). More...
 
class  ctkWorkflowWidgetStep
 ctkWorkflowWidgetStep is a convienience class to quickly construct a ctkWorkflowStep with a user interface. More...
 

Functions

QString CTK_WIDGETS_EXPORT ctk::base64HTMLImageTagSrc (const QImage &image)
 
QImage CTK_WIDGETS_EXPORT ctk::grabWidget (QWidget *widget, QRect rectangle=QRect())
 
void initCTKVisualizationVTKWidgetsPythonQtDecorators ()
 
void initCTKWidgetsPythonQtDecorators ()
 
QImage CTK_WIDGETS_EXPORT ctk::kwIconToQImage (const unsigned char *data, int width, int height, int pixelSize, unsigned int bufferLength, int options=0)
 

Detailed Description

Function Documentation

◆ base64HTMLImageTagSrc()

QString CTK_WIDGETS_EXPORT ctk::base64HTMLImageTagSrc ( const QImage &  image)

Create a base 64 image tag. Can be used that way: QString("<img src=\"%1">").arg(base64HTMLImageTagSrc(myImage);

◆ grabWidget()

QImage CTK_WIDGETS_EXPORT ctk::grabWidget ( QWidget *  widget,
QRect  rectangle = QRect() 
)

Grab the contents of a QWidget and all its children. Handle correctly the case of QGLWidgets.

See also
QWidget::grab

◆ initCTKVisualizationVTKWidgetsPythonQtDecorators()

void initCTKVisualizationVTKWidgetsPythonQtDecorators ( )

◆ initCTKWidgetsPythonQtDecorators()

void initCTKWidgetsPythonQtDecorators ( )

Definition at line 162 of file ctkWidgetsPythonQtDecorators.h.

◆ kwIconToQImage()

QImage CTK_WIDGETS_EXPORT ctk::kwIconToQImage ( const unsigned char *  data,
int  width,
int  height,
int  pixelSize,
unsigned int  bufferLength,
int  options = 0 
)

Convert an KWidget encoded image into a QImage The data can be base64 encoded and/or zlib compressed.