triplus / launcher Goto Github PK
View Code? Open in Web Editor NEWLauncher widget for FreeCAD
Launcher widget for FreeCAD
Hi! A question/proposal:
In other launchers like that the palette feature in VSCode bindings (if any) are displayed next to the results.
Do you think it would be easy to extend this add-on to display this info as well in results?
UI-wise it would be cool to have a search icon on the left hand side of the text field, like Blender does with all its search fields.
Upon starting FreeCAD appimage from the CLI the below error is displayed in the process of loading FreeCAD:
During initialization the error 'PySide2.QtGui.QPixmap.loadFromData' called with wrong argument types:
PySide2.QtGui.QPixmap.loadFromData(str)
Supported signatures:
PySide2.QtGui.QPixmap.loadFromData(PySide2.QtCore.QByteArray, bytes = Q_NULLPTR, PySide2.QtCore.Qt.ImageConversionFlags = Qt.AutoColor)
PySide2.QtGui.QPixmap.loadFromData(PySide2.QtCore.uchar, unsigned int, bytes = Q_NULLPTR, PySide2.QtCore.Qt.ImageConversionFlags = Qt.AutoColor) occurred in /home/beast/.FreeCAD/Mod/Launcher/InitGui.py
Please look into the log file for further information
OS: Manjaro Linux (XFCE/xfce)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.17175 (Git) AppImage
Build type: Release
Branch: master
Hash: 507c40669d48ae4732268324cd0140c80cf68222
Python version: 3.7.3
Qt version: 5.9.7
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: English/UnitedStates (en_US)
currently one needs to close and reopen the Launcher toolbar for commands from the new Workspace to be shown
Hi!
Do you think it would be possible to implement the launcher feature as an overlay in the GUI instead of a fixed panel?
The idea would be to have a UI more similar to that of the palette in VSCode, where you would:
C-S-q
.Curious to know what would be the potential complexity of implementing this as an option/alternative.
I would be up for giving it a try if the author thinks this is doable with the existing code.
The one major limitation of this addon is that you cannot call the panel as pop-up window. This means it always needs to be docked somewhere in the UI to access it. Therefore, it would be really nice if you could open the Launcher window and start typing as soon as you hit the hotkey. That would make it similar to Blender's command search:
Hey triplus, quick question, trying to understand from your code how you access and store all the available commands that get searched and autocomplete as the user types them in to the modal dialog?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.