ctkWidgetsAbstractPlugin.cpp 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  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. // CTK includes
  11. #include "ctkWidgetsAbstractPlugin.h"
  12. //-----------------------------------------------------------------------------
  13. ctkWidgetsAbstractPlugin::ctkWidgetsAbstractPlugin()
  14. {
  15. this->Initialized = false;
  16. }
  17. //-----------------------------------------------------------------------------
  18. QString ctkWidgetsAbstractPlugin::group() const
  19. {
  20. return "[CTK Widgets]";
  21. }
  22. //-----------------------------------------------------------------------------
  23. QIcon ctkWidgetsAbstractPlugin::icon() const
  24. {
  25. return QIcon();
  26. }
  27. //-----------------------------------------------------------------------------
  28. QString ctkWidgetsAbstractPlugin::toolTip() const
  29. {
  30. return QString();
  31. }
  32. //-----------------------------------------------------------------------------
  33. QString ctkWidgetsAbstractPlugin::whatsThis() const
  34. {
  35. return QString();
  36. }
  37. //-----------------------------------------------------------------------------
  38. void ctkWidgetsAbstractPlugin::initialize(QDesignerFormEditorInterface *formEditor)
  39. {
  40. Q_UNUSED(formEditor);
  41. if (this->Initialized)
  42. {
  43. return;
  44. }
  45. this->Initialized = true;
  46. }