Skip to content

Commit

Permalink
Extend range of counters in visualizer
Browse files Browse the repository at this point in the history
  • Loading branch information
artem-ogre committed May 2, 2024
1 parent b9d761e commit 39044c3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions visualizer/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -702,22 +702,22 @@ class MainWindow : public QWidget
triOptGroup->setLayout(triangulationConfig);

QSpinBox* ptsSpinbox = new QSpinBox;
ptsSpinbox->setRange(0, 999999);
ptsSpinbox->setRange(0, 9999999);
connect(
ptsSpinbox,
SIGNAL(valueChanged(int)),
m_cdtWidget,
SLOT(setPointsLimit(int)));
ptsSpinbox->setValue(999999);
ptsSpinbox->setValue(9999999);

QSpinBox* edgesSpinbox = new QSpinBox;
edgesSpinbox->setRange(0, 999999);
edgesSpinbox->setRange(0, 9999999);
connect(
edgesSpinbox,
SIGNAL(valueChanged(int)),
m_cdtWidget,
SLOT(setEdgeLimit(int)));
edgesSpinbox->setValue(999999);
edgesSpinbox->setValue(9999999);

QFormLayout* limitsLayout = new QFormLayout;
limitsLayout->addRow(new QLabel(tr("Points")), ptsSpinbox);
Expand Down

0 comments on commit 39044c3

Please sign in to comment.