ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
ecvAskDoubleIntegerValuesDlg.h
Go to the documentation of this file.
1 // ----------------------------------------------------------------------------
2 // - CloudViewer: www.cloudViewer.org -
3 // ----------------------------------------------------------------------------
4 // Copyright (c) 2018-2024 www.cloudViewer.org
5 // SPDX-License-Identifier: MIT
6 // ----------------------------------------------------------------------------
7 
8 #pragma once
9 
10 #include <ui_askDoubleIntegerValuesDlg.h>
11 
13 class ecvAskDoubleIntegerValuesDlg : public QDialog,
14  public Ui::AskDoubleIntegerValuesDialog {
15  Q_OBJECT
16 
17 public:
19  ecvAskDoubleIntegerValuesDlg(const char* vName1,
20  const char* vName2,
21  double minVal,
22  double maxVal,
23  int minInt,
24  int maxInt,
25  double defaultVal1,
26  int defaultVal2,
27  int precision = 6,
28  const char* windowTitle = 0,
29  QWidget* parent = 0);
30 };
Dialog to input 2 values with custom labels.
ecvAskDoubleIntegerValuesDlg(const char *vName1, const char *vName2, double minVal, double maxVal, int minInt, int maxInt, double defaultVal1, int defaultVal2, int precision=6, const char *windowTitle=0, QWidget *parent=0)
Default constructor.