Search found 107 matches

by MrRossi
Fri Apr 24, 2020 1:09 pm
Forum: Python scripting and macros
Topic: Difficulties to implement QDockWidget
Replies: 23
Views: 1664

Re: Difficulties to implement QDockWidget

openBrain wrote: Fri Apr 24, 2020 12:59 pm This just means that there is code after the error that "resets" the UI. ;)
Sorry, I don`t understand what you mean.
by MrRossi
Fri Apr 24, 2020 12:53 pm
Forum: Python scripting and macros
Topic: Difficulties to implement QDockWidget
Replies: 23
Views: 1664

Re: Difficulties to implement QDockWidget

As to your first error:
If I change an item in the combo, nothing happens at all.

But the strange thing is, if there is an error somewhere, somehow, it is working. See pictures.
by MrRossi
Fri Apr 24, 2020 12:09 pm
Forum: Python scripting and macros
Topic: Difficulties to implement QDockWidget
Replies: 23
Views: 1664

Re: Difficulties to implement QDockWidget

Sure, sorry.
by MrRossi
Fri Apr 24, 2020 11:42 am
Forum: Python scripting and macros
Topic: Difficulties to implement QDockWidget
Replies: 23
Views: 1664

Re: Difficulties to implement QDockWidget

# -*- coding: utf-8 -*- import FreeCAD, FreeCADGui, Draft, Part, DraftTools, DraftVecUtils import sys from pivy.coin import * from PySide2 import QtCore, QtGui,QtWidgets from PySide2.QtUiTools import QUiLoader import configparser class SchemaRouteDef(QtCore.QObject): def __init__(self): super(Schem...
by MrRossi
Fri Apr 24, 2020 11:07 am
Forum: Python scripting and macros
Topic: Difficulties to implement QDockWidget
Replies: 23
Views: 1664

Re: Difficulties to implement QDockWidget

First, I don`t have any intention how to make it. In this way I made another dialog (no QDockWidget, a standard window dialog) which worked pretty fine in that way. So, I just tranfered this to the DockWidget. I don`t have any preferences, and open for suggestions. ;) Second, basically, this is the ...
by MrRossi
Fri Apr 24, 2020 9:40 am
Forum: Python scripting and macros
Topic: Difficulties to implement QDockWidget
Replies: 23
Views: 1664

Difficulties to implement QDockWidget

Hello all I already made a post of this in the German subforum but obviously nobody was able to help, therefor I`m trying here again. I made a dialog/form with Qt Designer and implemented in FreeCad. Everything worked fine. Then I decided to make the dialog as DockWidget within FreeCAD, would be bet...
by MrRossi
Thu Apr 23, 2020 6:16 pm
Forum: Forum in Deutsch
Topic: Schwierigkeiten DockWidget implementieren
Replies: 0
Views: 666

Schwierigkeiten DockWidget implementieren

Hallo zusammen Bräuchte mal wieder etwas Hilfe. Also ich habe mit Qt Designer einen Dialog gemacht und der kann mit einem Kommando geladen werden. Funktioniert einwandfrei. Nun dachte ich, der Dialog wäre besser als DockWidget geeignet. Also in Qt Designer QDockWidget gemacht und versucht das DockWi...
by MrRossi
Mon Apr 20, 2020 6:22 pm
Forum: Draft, Arch & BIM
Topic: Information about Draft Objects relationship
Replies: 3
Views: 458

Re: Information about Draft Objects relationship

Hello again

Tried this once again, and yes it works.
thanks.

Chris
by MrRossi
Sun Apr 19, 2020 1:48 pm
Forum: Forum in Deutsch
Topic: Code Debugging
Replies: 36
Views: 4574

Re: Code Debugging

Hallo zusammen Ich möcht das Thema nochmal aufgreifen. Ich habe einen Weg gefunden, mit dem man durchaus brauchbar Debugging durchführen kann, eigentlich ist es fast komplett. Also, da ich beruflich für Coding Visual Studio Community 2019 nutze, dachte ich mir nimmst das auch für Python. Dafür die P...
by MrRossi
Tue Apr 14, 2020 9:45 am
Forum: Draft, Arch & BIM
Topic: Information about Draft Objects relationship
Replies: 3
Views: 458

Re: Information about Draft Objects relationship

No, as far as I can say, Draft object do not save this information. Even if this would be not so difficult to implement for many objects, I do not know if this is something good... I think that they are meant to be not too complex entities... but maybe others have other opinions on that. I think al...