ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
ecvAskTwoDoubleValuesDlg.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_askTwoDoubleValuesDlg.h>
11 
13 class ccAskTwoDoubleValuesDlg : public QDialog,
14  public Ui::AskTwoDoubleValuesDialog {
15  Q_OBJECT
16 
17 public:
19  ccAskTwoDoubleValuesDlg(const char* vName1,
20  const char* vName2,
21  double minVal,
22  double maxVal,
23  double defaultVal1,
24  double defaultVal2,
25  int precision = 6,
26  const char* windowTitle = 0,
27  QWidget* parent = 0);
28 };
Dialog to input 2 values with custom labels.
ccAskTwoDoubleValuesDlg(const char *vName1, const char *vName2, double minVal, double maxVal, double defaultVal1, double defaultVal2, int precision=6, const char *windowTitle=0, QWidget *parent=0)
Default constructor.