ccAskTwoDoubleValuesDlg.h 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. //##########################################################################
  2. //# #
  3. //# CLOUDCOMPARE #
  4. //# #
  5. //# This program is free software; you can redistribute it and/or modify #
  6. //# it under the terms of the GNU General Public License as published by #
  7. //# the Free Software Foundation; version 2 or later of the License. #
  8. //# #
  9. //# This program is distributed in the hope that it will be useful, #
  10. //# but WITHOUT ANY WARRANTY; without even the implied warranty of #
  11. //# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
  12. //# GNU General Public License for more details. #
  13. //# #
  14. //# COPYRIGHT: EDF R&D / TELECOM ParisTech (ENST-TSI) #
  15. //# #
  16. //##########################################################################
  17. #ifndef CC_ASK_TWO_DOUBLE_VALUES_DIALOG_HEADER
  18. #define CC_ASK_TWO_DOUBLE_VALUES_DIALOG_HEADER
  19. #include <ui_askTwoDoubleValuesDlg.h>
  20. //! Dialog to input 2 values with custom labels
  21. class ccAskTwoDoubleValuesDlg : public QDialog, public Ui::AskTwoDoubleValuesDialog
  22. {
  23. Q_OBJECT
  24. public:
  25. //! Default constructor
  26. ccAskTwoDoubleValuesDlg(const QString& vName1,
  27. const QString& vName2,
  28. double minVal,
  29. double maxVal,
  30. double defaultVal1,
  31. double defaultVal2,
  32. int precision = 6,
  33. QString windowTitle = QString(),
  34. QWidget* parent = nullptr);
  35. };
  36. #endif //CC_ASK_TWO_DOUBLE_VALUES_DIALOG_HEADER