QInputDialog functions These return QVariant rather than simple types, so that they can return null to indicate that the dialog was cancelled.
| 148 | // These return QVariant rather than simple types, so that they can return null |
| 149 | // to indicate that the dialog was cancelled. |
| 150 | QVariant getInt(QWidget* parent, const QString& title, const QString& label, |
| 151 | int value = 0, int min = -2147483647, int max = 2147483647, int step = 1) override { |
| 152 | Q_UNUSED(parent); |
| 153 | Q_UNUSED(title); |
| 154 | Q_UNUSED(label); |
| 155 | Q_UNUSED(min); |
| 156 | Q_UNUSED(max); |
| 157 | Q_UNUSED(step); |
| 158 | return value; |
| 159 | } |
| 160 | QVariant getDouble(QWidget* parent, const QString& title, const QString& label, |
| 161 | double value = 0, double min = -2147483647, double max = 2147483647, int decimals = 1) override { |
| 162 | Q_UNUSED(parent); |