ctkColorPickerButtonPlugin.h 1012 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. /*=========================================================================
  2. Library: CTK
  3. Copyright (c) Kitware Inc.
  4. All rights reserved.
  5. Distributed under a BSD License. See LICENSE.txt file.
  6. This software is distributed "AS IS" WITHOUT ANY WARRANTY; without even
  7. the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  8. See the above copyright notice for more information.
  9. =========================================================================*/
  10. #ifndef __ctkColorPickerButtonPlugin_h
  11. #define __ctkColorPickerButtonPlugin_h
  12. // CTK includes
  13. #include "ctkWidgetsAbstractPlugin.h"
  14. class CTK_WIDGETS_PLUGINS_EXPORT ctkColorPickerButtonPlugin :
  15. public QObject,
  16. public ctkWidgetsAbstractPlugin
  17. {
  18. Q_OBJECT
  19. public:
  20. ctkColorPickerButtonPlugin(QObject *_parent = 0);
  21. QWidget *createWidget(QWidget *_parent);
  22. QString domXml() const;
  23. QIcon icon() const;
  24. QString includeFile() const;
  25. bool isContainer() const;
  26. QString name() const;
  27. };
  28. #endif