CaptureDialog.h 521 B

123456789101112131415161718192021222324252627
  1. #ifndef CAPTUREDIALOG_IMAGEDISPLAY_H
  2. #define CAPTUREDIALOG_IMAGEDISPLAY_H
  3. #include <qdialog.h>
  4. #include <core/imagedisplay/CaptureWidget.h>
  5. #include <memory>
  6. namespace NICE {
  7. class CaptureDialog : public QDialog {
  8. Q_OBJECT
  9. public:
  10. CaptureDialog(QWidget* parent = 0, const char* name = 0,
  11. bool modal = FALSE, Qt::WFlags fl = 0 );
  12. ~CaptureDialog();
  13. inline CaptureWidget* capture() {
  14. return m_capture;
  15. }
  16. private:
  17. CaptureWidget* m_capture;
  18. };
  19. }
  20. #endif // CAPTUREDIALOG_IMAGEDISPLAY_H