ctkHostAppExampleWidget.cpp 547 B

12345678910111213141516171819202122232425262728
  1. #include "ctkHostAppExampleWidget.h"
  2. #include "ui_ctkHostAppExampleWidget.h"
  3. #include <QDebug>
  4. ctkHostAppExampleWidget::ctkHostAppExampleWidget(QWidget *parent) :
  5. QDockWidget(parent),
  6. ui(new Ui::ctkHostAppExampleWidget)
  7. {
  8. qDebug() << "setup ui";
  9. ui->setupUi(this);
  10. }
  11. ctkHostAppExampleWidget::~ctkHostAppExampleWidget()
  12. {
  13. delete ui;
  14. }
  15. void ctkHostAppExampleWidget::startButtonClicked()
  16. {
  17. qDebug() << "start button clicked";
  18. }
  19. void ctkHostAppExampleWidget::stopButtonClicked()
  20. {
  21. qDebug() << "stop button clicked";
  22. }