Убрали ненужный label

И связанное с ним событие. Хотя в целом я рассматриваю поместить label, показывающий степень свободы чертежа
This commit is contained in:
2025-12-16 18:51:04 +03:00
parent ed22dbf4fc
commit 4eeedbe003
3 changed files with 1 additions and 21 deletions

View File

@@ -4,7 +4,6 @@ DRAWer_2_0::DRAWer_2_0(QWidget *parent)
: QMainWindow(parent)
{
ui.setupUi(this);
counter = 0;
}
DRAWer_2_0::~DRAWer_2_0()
@@ -12,9 +11,7 @@ DRAWer_2_0::~DRAWer_2_0()
void DRAWer_2_0::on_Line_Button_clicked()
{
ui.label->setText(QString::number(counter++));
ui.widget->changeMode(Mode::DrawingLine);
{ ui.widget->changeMode(Mode::DrawingLine);
}