mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-26 13:20:52 +01:00
when change a propertie of conductor, ask for apply the change for each conductor of the same potential
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2634 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -544,6 +544,7 @@ class ChangeSeveralConductorsPropertiesCommand : public QUndoCommand {
|
||||
virtual void redo();
|
||||
virtual void setOldSettings(const QList<ConductorProperties> &);
|
||||
virtual void setNewSettings(const QList<ConductorProperties> &);
|
||||
virtual void setNewSettings(const ConductorProperties &);
|
||||
|
||||
// attributes
|
||||
private:
|
||||
@@ -553,6 +554,8 @@ class ChangeSeveralConductorsPropertiesCommand : public QUndoCommand {
|
||||
QList <ConductorProperties> old_properties;
|
||||
/// properties after the change
|
||||
QList <ConductorProperties> new_properties;
|
||||
/// single properties for each conductor
|
||||
ConductorProperties single_new_properties;
|
||||
/// track whether pre-change properties were set
|
||||
bool old_settings_set;
|
||||
/// track whether post-change properties were set
|
||||
|
||||
Reference in New Issue
Block a user