From acfbc5478e526026659cf3303b8467b3cbd98be8 Mon Sep 17 00:00:00 2001 From: Roman Telezhynskyi Date: Thu, 26 Aug 2021 08:53:53 +0300 Subject: [PATCH] Cleaning. Remove unused slots. --- src/app/puzzle/vpmainwindow.cpp | 29 ----------------------------- src/app/puzzle/vpmainwindow.h | 24 ------------------------ 2 files changed, 53 deletions(-) diff --git a/src/app/puzzle/vpmainwindow.cpp b/src/app/puzzle/vpmainwindow.cpp index fd9388dd2..884f91974 100644 --- a/src/app/puzzle/vpmainwindow.cpp +++ b/src/app/puzzle/vpmainwindow.cpp @@ -2296,35 +2296,6 @@ void VPMainWindow::on_pushButtonSheetExport_clicked() // exporter.Export(m_layout.get(), format, m_graphicsView); } -//--------------------------------------------------------------------------------------------------------------------- -void VPMainWindow::on_checkBoxCurrentPieceShowSeamline_toggled(bool checked) -{ -// if(m_selectedPieces.count() == 1) -// { -// m_selectedPieces.first()->SetShowSeamLine(checked); -// } -} - -//--------------------------------------------------------------------------------------------------------------------- -void VPMainWindow::on_checkBoxCurrentPieceMirrorPiece_toggled(bool checked) -{ -// if(m_selectedPieces.count() == 1) -// { -// m_selectedPieces.first()->SetMirror(checked); -// } -} - -//--------------------------------------------------------------------------------------------------------------------- -void VPMainWindow::on_doubleSpinBoxCurrentPieceAngle_valueChanged(double value) -{ -// if(m_selectedPieces.count() == 1) -// { -// VPPiece *piece = m_selectedPieces.first(); -// piece->SetRotation(value); -// } -} - - //--------------------------------------------------------------------------------------------------------------------- void VPMainWindow::on_CarrouselLocationChanged(Qt::DockWidgetArea area) { diff --git a/src/app/puzzle/vpmainwindow.h b/src/app/puzzle/vpmainwindow.h index 848ba6fb3..731916e9f 100644 --- a/src/app/puzzle/vpmainwindow.h +++ b/src/app/puzzle/vpmainwindow.h @@ -240,30 +240,6 @@ private slots: */ void on_pushButtonSheetExport_clicked(); - /** - * @brief on_checkBoxCurrentPieceShowSeamline_toggled When the - * "Show seamline" checkbox value in the current piece tab is toggled. - * The slot is automatically connected through name convention. - * @param checked the new checked value - */ - void on_checkBoxCurrentPieceShowSeamline_toggled(bool checked); - - /** - * @brief on_checkBoxCurrentPieceMirrorPiece_toggled When the - * "Mirror piece" checkbox in the current piece tab is toggled. - * The slot is automatically connected through name convention. - * @param checked the new checked value - */ - void on_checkBoxCurrentPieceMirrorPiece_toggled(bool checked); - - /** - * @brief on_doubleSpinBoxCurrentPieceAngle_valueChanged When the - * "Current Piece Angle" value in the current piece property is changed - * The slot is automatically connected through name convention. - * @param value the new angle value - */ - void on_doubleSpinBoxCurrentPieceAngle_valueChanged(double value); - /** * @brief CarrouselLocationChanged When the piece carrousel's location * has been changed