-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
attempt to support hiding search, timeline and fstab devices #4
base: master
Are you sure you want to change the base?
Conversation
I refactored the code to use https://github.com/oKcerG/SortFilterProxyModel instead of a succession of SortFilterModel, but I do not know how to include such a submodule properly. The module's documentation indicates to add some include directive to a .pro file, but we do not have a .pro file |
Hm, when running this, I get a bunch of errors, like
|
No, when I execute |
Running the applet with plasmoidviewer only gives
So no error message, despite the applet not actually being active in the previewer. |
…to include this properly" This reverts commit 829f1ba.
The errors appear only when executing the applet, |
So, after much work understanding SortFilterModel and package installation procedures (is there a serious Plasma QML library documentation somewhere ? All I can find is unclear wikis with broken links and a website about the Plasma classes which merely states that "the definition of this is in this .cpp file"…), I managed to make it work at least for search and timeline places. Concerning devices, I am now using version 2.1 of PlasmaCore that has a filterCallback feature which should allow to specify a finer criterion. Alas this part does not work yet. |
I just released version 1.3 of |
My first attempt at QML.
It does not work as intended, but I do not understand why.
Possible causes :
(?!)
idiom is conform to https://doc.qt.io/archives/qt-4.8/qregexp.html#assertionsurl
andpath
have invisible garbage at the beginning which prevents the regexp from matching.Note that due to the increase in the number of options, I departed from your "combinatorial" filter selection scheme to an "incremental" one.