diff --git a/bcdelightpmwidget.cpp b/bcdelightpmwidget.cpp index 6f56102..23702b0 100644 --- a/bcdelightpmwidget.cpp +++ b/bcdelightpmwidget.cpp @@ -42,12 +42,6 @@ void BCDelightPMWidget::loadWidgetsFromResources() // Iteriert zum nächsten Eintrag und gibt den kompletten virtuellen Pfad zurück // z.B. ":/icons/ball_red.png" QString fullPath = it.next(); - - // Optional: Nur den Dateinamen holen (z.B. "ball_red.png") - // QString fileName = it.fileName(); - - qDebug() << "Gefundenes Icon:" << fullPath; - // Eine Zufallsfarbe für den Button-Hintergrund generieren QStringList colors = {"#ff5555", "#50fa7b", "#8be9fd", "#ffb86c"}; QString randomColor = colors.at(QRandomGenerator::global()->bounded(colors.size())); @@ -56,7 +50,6 @@ void BCDelightPMWidget::loadWidgetsFromResources() createFlyingWidget(fullPath, randomColor); } - } void BCDelightPMWidget::createFlyingWidget(const QString& iconPath, const QString &color) diff --git a/bcdriverstatewidget.cpp b/bcdriverstatewidget.cpp index 43e241f..ad7dc98 100644 --- a/bcdriverstatewidget.cpp +++ b/bcdriverstatewidget.cpp @@ -62,7 +62,6 @@ BCDriverStateWidget::BCDriverStateWidget(QWidget* parent) // 'customMessage' ist optional. Wenn leer, wird ein Standardtext genommen. void BCDriverStateWidget::onDriverStateChanged(BCDriver::DriverState state, const QString& customMessage) { - qDebug() << " --- HELPER: " << state << " : " << customMessage; Q_UNUSED(customMessage) _state = state; updateStyle(); diff --git a/bcdrivertinycan.cpp b/bcdrivertinycan.cpp index fadd5e2..7498533 100644 --- a/bcdrivertinycan.cpp +++ b/bcdrivertinycan.cpp @@ -151,8 +151,6 @@ BCDriver::DriverStateResult BCDriverTinyCan::loadDriver() return _driverState; }; - qDebug() << " --- DRIVER: " << cMHS_DRIVERNAME; - // #1. erstmal komplett zurücksetzen resetDriver(); // #2. Treiber laden, initialisieren und diff --git a/bcmainwindow.cpp b/bcmainwindow.cpp index c75d616..85ea2c6 100644 --- a/bcmainwindow.cpp +++ b/bcmainwindow.cpp @@ -262,7 +262,6 @@ void BCMainWindow::onShowMessage( const QString& message, int timeOut ) void BCMainWindow::onStartAnimation() { - qDebug() << " FEIN!"; _delightWidget->onStartChaos(); } diff --git a/bcvaluedelegate.cpp b/bcvaluedelegate.cpp index 6ed45e4..877bd99 100644 --- a/bcvaluedelegate.cpp +++ b/bcvaluedelegate.cpp @@ -58,8 +58,6 @@ QWidget* BCValueDelegate::createEditor(QWidget *parent, const QStyleOptionViewIt { const BCValue& bcValue = *(_valueList[ index.row()].get()); - qDebug() << " --- Create EDITOR: " << index.row() << " parent: " << parent->objectName(); - Q_UNUSED(option) Q_UNUSED(index) @@ -68,7 +66,6 @@ QWidget* BCValueDelegate::createEditor(QWidget *parent, const QStyleOptionViewIt // Signal für sofortige Updates connect(valueEditor, &BCValueEditor::valueChanged, this, [this, valueEditor](int newValue) { - qDebug() << "---val changed: " << newValue; // Commit data sofort bei Änderung emit const_cast(this)->commitData(valueEditor); }); @@ -87,14 +84,12 @@ void BCValueDelegate::setEditorData(QWidget *editor, const QModelIndex& index) c void BCValueDelegate::setModelData(QWidget *editor, QAbstractItemModel *model, const QModelIndex& index) const { - qDebug() << " hier 2!"; if( index.column() == 1) { // Daten vom Editor zurück ins Model speichern (Beim Schließen) BCValueEditor* slider = qobject_cast(editor); if (slider) { - qDebug() << " --- ok"; int value = slider->getValue(); model->setData(index, value, Qt::EditRole); } diff --git a/bcvaluemodel.cpp b/bcvaluemodel.cpp index 62613eb..1abf569 100644 --- a/bcvaluemodel.cpp +++ b/bcvaluemodel.cpp @@ -185,16 +185,12 @@ bool BCValueModel::setData(const QModelIndex& index, const QVariant& variant, in { BCValuePtr value = _valueList[index.row()]; - qDebug() << "--- YES! " << variant.toInt(); - // Wir erwarten hier nur den Value-Teil (vom Slider/Editor) // Checken ob Int oder Double if (variant.canConvert()) { - qDebug() << "--- new VALUE: " << variant.toInt(); if( variant.toInt() == 42) { - qDebug() << "--- YES! " << variant.toInt(); //emit makeSimonHappy(); } // QUARK!