OptionsForm.h 654 B

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