Is there a way to sort a TableModel without relying on c++ code?
On Mittwoch, 14. Oktober 2020 08:13:43 CEST Noah Davis wrote:
> KColorUtils::mix( palette.color( QPalette::Window ), palette.color(
> QPalette::WindowText ), 0.25 )
>
> On Tue, Oct 13, 2020 at 2:25 PM chiasa.men wrote:
> > https://pasteboard.co/JvupDV3.png
> >
> >
https://pasteboard.co/JvupDV3.png
Per trial and error I assumed the line (border of list view (vertical right
under the cursor)) color: #bcbebf is defined by a combination of Window Text
and Window Background (at least it changes if one of the colors is changed) -
but how is it determined exactly?
// code
import QtQuick 2.15
import QtQuick.Window 2.15
import QtQuick 2.12
import QtQuick.Controls 2.5
import Qt.labs.qmlmodels 1.0
ApplicationWindow {
width: 400
height: 400
visible: true
TableView {
anchors.fill: parent
columnSpacing: 1
rowSpacing: 1
My plasmoid provides icons. I want to use an IconPicker so that the user can
decide which icon to use. Therefore Im using the following snippet:
import org.kde.kquickcontrolsaddons 2.0 as KQuickAddons
...
KQuickAddons.IconDialog {
id: iconDialog
onIconNameChanged: {