| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265 | 
							- PROJECT(CTKWidgets)
 
- #
 
- # See CTK/CMake/ctkMacroBuildLib.cmake for details
 
- #
 
- SET(KIT_export_directive "CTK_WIDGETS_EXPORT")
 
- # Source files
 
- SET(KIT_SRCS
 
-   ctkActionsWidget.cpp
 
-   ctkActionsWidget.h
 
-   ctkAddRemoveComboBox.cpp
 
-   ctkAddRemoveComboBox.h
 
-   ctkAxesWidget.cpp
 
-   ctkAxesWidget.h
 
-   ctkButtonGroup.cpp
 
-   ctkButtonGroup.h
 
-   ctkCheckableHeaderView.cpp
 
-   ctkCheckableHeaderView.h
 
-   ctkCheckBoxPixmaps.cpp
 
-   ctkCheckBoxPixmaps.h
 
-   ctkCheckablePushButton.cpp
 
-   ctkCheckablePushButton.h
 
-   ctkComboBox.cpp
 
-   ctkComboBox.h
 
-   ctkCollapsibleButton.cpp
 
-   ctkCollapsibleButton.h
 
-   ctkCollapsibleGroupBox.cpp
 
-   ctkCollapsibleGroupBox.h
 
-   ctkColorDialog.cpp
 
-   ctkColorDialog.h
 
-   ctkColorPickerButton.cpp
 
-   ctkColorPickerButton.h
 
-   ctkConsole.cpp
 
-   ctkConsole.h
 
-   ctkConsole_p.h
 
-   ctkConfirmExitDialog.cpp
 
-   ctkConfirmExitDialog.h
 
-   ctkCoordinatesWidget.cpp
 
-   ctkCoordinatesWidget.h
 
-   ctkDirectoryButton.cpp
 
-   ctkDirectoryButton.h
 
-   ctkDoubleRangeSlider.cpp
 
-   ctkDoubleRangeSlider.h
 
-   ctkDoubleSlider.cpp
 
-   ctkDoubleSlider.h
 
-   ctkDynamicSpacer.cpp
 
-   ctkDynamicSpacer.h
 
-   ctkErrorLogStatusMessageHandler.cpp
 
-   ctkErrorLogStatusMessageHandler.h
 
-   ctkErrorLogWidget.cpp
 
-   ctkErrorLogWidget.h
 
-   ctkFileDialog.cpp
 
-   ctkFileDialog.h
 
-   ctkFittedTextBrowser.cpp
 
-   ctkFittedTextBrowser.h
 
-   ctkFlowLayout.cpp
 
-   ctkFlowLayout.h
 
-   ctkFontButton.cpp
 
-   ctkFontButton.h
 
-   ctkIconEnginePlugin.cpp
 
-   ctkIconEnginePlugin.h
 
-   ctkLayoutManager.cpp
 
-   ctkLayoutManager.h
 
-   ctkMaterialPropertyPreviewLabel.cpp
 
-   ctkMaterialPropertyPreviewLabel.h
 
-   ctkMaterialPropertyWidget.cpp
 
-   ctkMaterialPropertyWidget.h
 
-   ctkMatrixWidget.cpp
 
-   ctkMatrixWidget.h
 
-   ctkMenuButton.cpp
 
-   ctkMenuButton.h
 
-   ctkModalityWidget.cpp
 
-   ctkModalityWidget.h
 
-   ctkPathLineEdit.cpp
 
-   ctkPathLineEdit.h
 
-   ctkPixmapIconEngine.cpp
 
-   ctkPixmapIconEngine.h
 
-   ctkRangeSlider.cpp
 
-   ctkRangeSlider.h
 
-   ctkRangeWidget.cpp
 
-   ctkRangeWidget.h
 
-   ctkScreenshotDialog.cpp
 
-   ctkScreenshotDialog.h
 
-   ctkScreenshotDialog_p.h
 
-   ctkSettings.cpp
 
-   ctkSettings.h
 
-   ctkSettingsDialog.cpp
 
-   ctkSettingsDialog.h
 
-   ctkSettingsPanel.cpp
 
-   ctkSettingsPanel.h
 
-   ctkSimpleLayoutManager.cpp
 
-   ctkSimpleLayoutManager.h
 
-   ctkQImageView.cpp
 
-   ctkQImageView.h
 
-   ctkSliderWidget.cpp
 
-   ctkSliderWidget.h
 
-   ctkTestApplication.cpp
 
-   ctkTestApplication.h
 
-   ctkToolTipTrapper.cpp
 
-   ctkToolTipTrapper.h
 
-   ctkTransferFunctionBarsItem.cpp
 
-   ctkTransferFunctionBarsItem.h
 
-   ctkTransferFunctionControlPointsItem.cpp
 
-   ctkTransferFunctionControlPointsItem.h
 
-   ctkTransferFunctionGradientItem.cpp
 
-   ctkTransferFunctionGradientItem.h
 
-   ctkTransferFunctionItem.cpp
 
-   ctkTransferFunctionItem.h
 
-   ctkTransferFunctionScene.cpp
 
-   ctkTransferFunctionScene.h
 
-   ctkTransferFunctionView.cpp
 
-   ctkTransferFunctionView.h
 
-   ctkTreeComboBox.cpp
 
-   ctkTreeComboBox.h
 
-   ctkWorkflowAbstractPagedWidget.cpp
 
-   ctkWorkflowAbstractPagedWidget.h
 
-   ctkWorkflowButtonBoxWidget.cpp
 
-   ctkWorkflowButtonBoxWidget.h
 
-   ctkWorkflowGroupBox.cpp
 
-   ctkWorkflowGroupBox.h
 
-   ctkWorkflowStackedWidget.cpp
 
-   ctkWorkflowStackedWidget.h
 
-   ctkWorkflowTabWidget.cpp
 
-   ctkWorkflowTabWidget.h
 
-   ctkWorkflowWidget.cpp
 
-   ctkWorkflowWidget.h
 
-   ctkWorkflowWidgetStep.cpp
 
-   ctkWorkflowWidgetStep_p.h
 
-   ctkWorkflowWidgetStep.h
 
-   ctkDateRangeWidget.cpp
 
-   ctkDateRangeWidget.h
 
-   )
 
- IF(CTK_WRAP_PYTHONQT_LIGHT)
 
-   LIST(APPEND KIT_SRCS
 
-     ctkWidgetsPythonQtDecorators.h
 
-     )
 
-   # Let's make sure the decorator are not wrapped !
 
-   SET_SOURCE_FILES_PROPERTIES(
 
-     ctkWidgetsPythonQtDecorators.h
 
-     WRAP_EXCLUDE
 
-     )
 
- ENDIF()
 
- # Headers that should run through moc
 
- SET(KIT_MOC_SRCS
 
-   ctkWorkflowAbstractPagedWidget.h
 
-   ctkActionsWidget.h
 
-   ctkAxesWidget.h
 
-   ctkAddRemoveComboBox.h
 
-   ctkButtonGroup.h
 
-   ctkCheckableHeaderView.h
 
-   ctkCheckablePushButton.h
 
-   ctkCheckBoxPixmaps.h
 
-   ctkComboBox.h
 
-   ctkCollapsibleButton.h
 
-   ctkCollapsibleGroupBox.h
 
-   ctkColorDialog.h
 
-   ctkColorPickerButton.h
 
-   ctkConfirmExitDialog.h
 
-   ctkConsole.h
 
-   ctkConsole_p.h
 
-   ctkCoordinatesWidget.h
 
-   ctkDirectoryButton.h
 
-   ctkDoubleRangeSlider.h
 
-   ctkDoubleSlider.h
 
-   ctkDynamicSpacer.h
 
-   ctkErrorLogWidget.h
 
-   ctkErrorLogStatusMessageHandler.h
 
-   ctkFileDialog.h
 
-   ctkFittedTextBrowser.h
 
-   ctkFlowLayout.h
 
-   ctkFontButton.h
 
-   ctkIconEnginePlugin.h
 
-   ctkLayoutManager.h
 
-   ctkMaterialPropertyPreviewLabel.h
 
-   ctkMaterialPropertyWidget.h
 
-   ctkMatrixWidget.h
 
-   ctkMenuButton.h
 
-   ctkModalityWidget.h
 
-   ctkPathLineEdit.h
 
-   ctkRangeSlider.h
 
-   ctkRangeWidget.h
 
-   ctkScreenshotDialog.h
 
-   ctkScreenshotDialog_p.h
 
-   ctkSettings.h
 
-   ctkSettingsDialog.h
 
-   ctkSettingsPanel.h
 
-   ctkSimpleLayoutManager.h
 
-   ctkQImageView.h
 
-   ctkSliderWidget.h
 
-   ctkTestApplication.h
 
-   ctkToolTipTrapper.h
 
-   ctkTransferFunctionBarsItem.h
 
-   ctkTransferFunctionControlPointsItem.h
 
-   ctkTransferFunctionGradientItem.h
 
-   ctkTransferFunctionItem.h
 
-   ctkTransferFunctionScene.h
 
-   ctkTransferFunctionView.h
 
-   ctkTreeComboBox.h
 
-   ctkWorkflowAbstractPagedWidget.h
 
-   ctkWorkflowButtonBoxWidget.h
 
-   ctkWorkflowGroupBox.h
 
-   ctkWorkflowStackedWidget.h
 
-   ctkWorkflowTabWidget.h
 
-   ctkWorkflowWidget.h
 
-   ctkWorkflowWidgetStep.h
 
-   ctkWorkflowWidgetStep_p.h
 
-   ctkDateRangeWidget.h
 
-   )
 
- IF(CTK_WRAP_PYTHONQT_LIGHT)
 
-   LIST(APPEND KIT_MOC_SRCS
 
-     ctkWidgetsPythonQtDecorators.h
 
-     )
 
- ENDIF()
 
- # UI files
 
- SET(KIT_UI_FORMS
 
-   Resources/UI/ctkAddRemoveComboBox.ui
 
-   Resources/UI/ctkRangeWidget.ui
 
-   Resources/UI/ctkDateRangeWidget.ui
 
-   Resources/UI/ctkErrorLogWidget.ui
 
-   Resources/UI/ctkMaterialPropertyWidget.ui
 
-   Resources/UI/ctkModalityWidget.ui
 
-   Resources/UI/ctkScreenshotDialog.ui
 
-   Resources/UI/ctkSettingsDialog.ui
 
-   Resources/UI/ctkSliderWidget.ui
 
-   Resources/UI/ctkWorkflowGroupBox.ui
 
-   )
 
- # Resources
 
- SET(KIT_resources
 
-   Resources/ctkWidgets.qrc
 
-   )
 
- # Target libraries - See CMake/ctkFunctionGetTargetLibraries.cmake
 
- # The following macro will read the target libraries from the file 'target_libraries.cmake'
 
- ctkFunctionGetTargetLibraries(KIT_target_libraries)
 
- ctkMacroBuildLib(
 
-   NAME ${PROJECT_NAME}
 
-   EXPORT_DIRECTIVE ${KIT_export_directive}
 
-   SRCS ${KIT_SRCS}
 
-   MOC_SRCS ${KIT_MOC_SRCS}
 
-   UI_FORMS ${KIT_UI_FORMS}
 
-   TARGET_LIBRARIES ${KIT_target_libraries}
 
-   RESOURCES ${KIT_resources}
 
-   LIBRARY_TYPE ${CTK_LIBRARY_MODE}
 
-   )
 
- # Plugins
 
- IF(BUILD_QTDESIGNER_PLUGINS)
 
-   ADD_SUBDIRECTORY(Plugins)
 
- ENDIF()
 
- # Testing
 
- IF(BUILD_TESTING)
 
-   ADD_SUBDIRECTORY(Testing)
 
- ENDIF(BUILD_TESTING)
 
 
  |