Comments (9)
Shouldn't changing line 335 of a2p_prefs.ui fix this issue?:
<widget class="Gui::PrefFileChooser" name="fileChooser" native="true">
So the change I did here:
d33a82f
from a2plus.
Shouldn't changing line 335 of a2p_prefs.ui fix this issue?:
<widget class="Gui::PrefFileChooser" name="fileChooser" native="true">
So the change I did here:
d33a82f
No. This only affects the fileChooser of the preferences page and not the fileChooser for importing parts within impartPart.py
This is written in PySide Documentation:
QFileDialog.DontUseNativeDialog | Donβt use the native file dialog. By default, the native file dialog is used unless you use a subclass of PySide.QtGui.QFileDialog that contains the Q_OBJECT() macro.
According to documentation the native fileChooser should be used by default. I am wondering if the fileChooser does this or not and why ?
from a2plus.
I don't know PySide. Do you get under Linux the native file dialog or also the Qt file dialog? If you get the Qt dialog, what happens if you explicitly set the "native" flag for file chooser?
from a2plus.
This is funny: when I use the Conda build of FC, I get Windows' native file dialog. On the "normal" FC build I get the Qt file dialog.
Since FC has to switch for all builds soon to Qt 5.x, there is in my opinion nothing to do here.
from a2plus.
Just for the records, my Qt designer added the native flag to the class="Gui::PrefFileChooser" because I forgot to make this custom widget known to the designer. How this is done is described here: https://www.freecadweb.org/wiki/CompileOnWindows#Additional_stuff
So in future my changes to .ui files should work out of the box.
from a2plus.
With my Conda-like openSUSE Tumbleweed FC, I only wish, that 'most recently' used folders (/ history) would be recognized for the FC and A2-plus file-openers in the same way.
from a2plus.
I only wish...
I don't understand. The native file dialog should be used for all tasks. Because then you get what you want - if you changed the appearance for your system-wide file dialogs you also get it with FC and thus should also get it with A2plus. For the Conda build this is already the case, at least under Windows.
So you don't get the file dialog of KDE, Gnome or whatever you use?
from a2plus.
Since FC has to switch for all builds soon to Qt 5.x, there is in my opinion nothing to do here.
Let's wait for FC switching to Qt 5.x.
For now, i close this issue.
from a2plus.
I fully agree.
from a2plus.
Related Issues (20)
- New constraint validation with enter key
- Does not load base object of linked array o copies HOT 1
- Tracking migration to updated metadata schema HOT 2
- Failed to import part (object has no attribute 'Placement')
- CD_A2plusupdater.py has xe2 errors on lines 683 and 684 HOT 7
- A2plus assumes access to `$HOME/icons/` HOT 2
- ModuleNotFoundError: No module named 'A2plus' HOT 2
- transparency can not be modified HOT 2
- PlaneCoincident not working in A2Plus 0.4.55 & 0.4.56 HOT 4
- Negative offset crashes FreeCad HOT 5
- Conflict finder + Could not move some parts -dialog HOT 14
- Bug[?] when modifying constraints Objects in Python HOT 2
- Allow to manipulate Suppressed field via the data view in the combo view (AKA enable/disable visibility) - currently greyed out - not just using spacebar HOT 4
- Can't enter decimal offset when constraining parts
- Issue importing step files wrt:colors HOT 2
- Part import window is empty HOT 3
- Generated parts list contain HTML codes HOT 3
- A2plus - when changing transparency of objects imported from STEP models, the color of the model is set to default (gray).
- JSON serialisation error HOT 5
- a2plus assembly exporting to stl of parts in individual files HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from a2plus.