mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-10-04 18:04:14 +02:00
9a55939bb4
Review of #1272 (scorpio810, after arummler's note that the rules would need redesigning if wires and conductors become separate objects): a warning box, with the standard warning icon, at the top of the rules in Settings > General and in Project properties. It says the feature is experimental, counts wires as QElectroTech models them today, and that the rules, and the user's settings, could change if wires and conductors are separated. English for translators: "Experimental feature. These rules count wires as QElectroTech represents them today; they could change, and your settings need redoing, if wires and conductors become separate objects in a future version." Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_015FPuYPS4T7QuEwjNu22rXD
30 lines
938 B
C++
30 lines
938 B
C++
/*
|
|
Copyright 2006-2026 The QElectroTech Team
|
|
This file is part of QElectroTech.
|
|
|
|
QElectroTech is free software: you can redistribute it and/or modify
|
|
it under the terms of the GNU General Public License as published by
|
|
the Free Software Foundation, either version 2 of the License, or
|
|
(at your option) any later version.
|
|
|
|
QElectroTech is distributed in the hope that it will be useful,
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
GNU General Public License for more details.
|
|
|
|
You should have received a copy of the GNU General Public License
|
|
along with QElectroTech. If not, see <http://www.gnu.org/licenses/>.
|
|
*/
|
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
|
#ifndef WIRINGRULESWARNING_H
|
|
#define WIRINGRULESWARNING_H
|
|
|
|
class QWidget;
|
|
|
|
namespace WiringRulesWarning
|
|
{
|
|
QWidget *create(QWidget *parent = nullptr);
|
|
}
|
|
|
|
#endif // WIRINGRULESWARNING_H
|