Re: how to use kdialog --font ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Looks like 'kdialog' supports Qt Style Sheets.
I haven't played with these before.  Appears to be a variant of CSS.

$ kdialog --stylesheet ~/tmp/kdialog.qss  --msgbox "$(lsblk)"
$ cat ~/tmp/kdialog.qss

* {
    font-family: monospace;
    font-size: 16;
}


I'm not sure if there's a way to identify the Qt components in use
​ by 'kdialog'​
.
​  (something like firefox' web developer "Inspect" would be awesome)​


​I grabbed a copy of XnView's stylesheet file:  "​XnView/UI/style_sheet.qss"
to start with.  using it unchanged renders kdialog with a nice black background,
but not monospaced, of course.

That's probably the best way to handle kdialog's failings in other areas.

There's also a Style "Theme" (--style).  I guess i have to look into this stuff more.
(this is more like the older X AppDefaults configurations to style X11 applications)

--stephen

--
Stephen Dowdy  -  Systems Administrator  -  NCAR/RAL
303.497.2869   -  sdowdy@xxxxxxxx        -  http://www.ral.ucar.edu/~sdowdy/


___________________________________________________
This message is from the kde mailing list.
Account management:  https://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.

[Index of Archives]     [Trinity (TDE) Desktop Users]     [Fedora KDE]     [Fedora Desktop]     [Linux Kernel]     [Gimp]     [GIMP for Windows]     [Gnome]     [Yosemite Hiking]
  Powered by Linux