Advertisement
Guest User

somedialog.h

a guest
Sep 18th, 2019
142
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.46 KB | None | 0 0
  1. #ifndef SOMEDIALOG_H
  2. #define SOMEDIALOG_H
  3.  
  4. #include "guilib_decl.h"
  5.  
  6. #include "ui_somedialog.h"
  7.  
  8. class GUILIBSHARED_EXPORT SomeDialog : public QDialog, private Ui::SomeDialog
  9. {
  10.     Q_OBJECT
  11.  
  12. public:
  13.     explicit SomeDialog(QWidget *parent = nullptr);
  14.  
  15.     bool hasEmptyFields() const;
  16.     int imageHeight() const {return editImgHeight->text().toInt();}
  17.     int imageWidth() const {return editImgWidth->text().toInt();}
  18.  
  19. };
  20.  
  21. #endif // SOMEDIALOG_H
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement