ImageDescriptionForm.h 700 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. /*
  2. * ImageDescriptionForm.h
  3. *
  4. * Created on: Oct 6, 2011
  5. * Author: Gapchich Vlad
  6. */
  7. #ifndef __IMAGEDESCRIPTIONFORM_H__
  8. #define __IMAGEDESCRIPTIONFORM_H__
  9. #include <QWidget>
  10. class QLineEdit;
  11. class QPushButton;
  12. class QVBoxLayout;
  13. class QHBoxLayout;
  14. class ImageDescriptionForm : public QWidget{
  15. Q_OBJECT
  16. public:
  17. ImageDescriptionForm(QWidget *aParent = 0);
  18. virtual ~ImageDescriptionForm();
  19. public slots:
  20. void setDescription();
  21. signals:
  22. void descriptionSet(QString aDescription);
  23. private:
  24. QLineEdit *image_description_;
  25. QPushButton *button_ok_;
  26. QPushButton *button_cancel_;
  27. QVBoxLayout *layout_v_;
  28. QHBoxLayout *layout_h_;
  29. };
  30. #endif /* __IMAGEDESCRIPTIONFORM_H__ */
  31. /*
  32. *
  33. */