mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-17 12:40:35 +01:00
conductor properties widget: replace widget made by c++ by widget build by ui file
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3216 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -675,7 +675,7 @@ void DiagramView::editDiagramProperties() {
|
||||
if (popup.exec() == QDialog::Accepted && !diagram_is_read_only) {
|
||||
TitleBlockProperties new_titleblock = titleblock_infos -> properties();
|
||||
BorderProperties new_border = border_infos -> properties();
|
||||
ConductorProperties new_conductors = cpw -> conductorProperties();
|
||||
ConductorProperties new_conductors = cpw -> properties();
|
||||
|
||||
bool adjust_scene = false;
|
||||
|
||||
@@ -1016,7 +1016,7 @@ void DiagramView::editConductor(Conductor *edited_conductor) {
|
||||
// execute le dialogue et met a jour le conducteur
|
||||
if (conductor_dialog.exec() == QDialog::Accepted) {
|
||||
// recupere les nouvelles proprietes
|
||||
ConductorProperties new_properties = cpw -> conductorProperties();
|
||||
ConductorProperties new_properties = cpw -> properties();
|
||||
|
||||
if (new_properties != old_properties) {
|
||||
if (cb_apply_all -> isChecked()) {
|
||||
|
||||
Reference in New Issue
Block a user