Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
QT:n teeman vaihtaminen ilman KDE:tä??
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Finnish
View previous topic :: View next topic  
Author Message
Jukki
n00b
n00b


Joined: 26 Feb 2005
Posts: 6

PostPosted: Wed Jul 20, 2005 7:38 am    Post subject: QT:n teeman vaihtaminen ilman KDE:tä?? Reply with quote

Kysyisin että onko mahdollista vaihtaa QT:n käyttämä teema ilman kde:n ohjauskeskuksta. Eli käyttelen Gnomen työpöytäympäristöä, ja asensin kuitenkin amaroK -musiikinsoittoohjelman, joka siis käyttää QT:tä. Haluaisin kuitenkin vaihtaa sen Plastik-teeman vaikka Baghiraan ja samalla muuttaa fontit, mutta kun ei tosiaan ole sitä kde:n ohjauskeskusta kun se ilmeisesti tulee siinä kdebase-paketissa. Amarokin vaatimukset oli ainoastaan (!?) QT ja KDELIBS. QT:n mukana tulee sellainen ohjelma kuin qtconfig josta noita teemoja ja jotain muutakin voi säätää mutta ei se tunnu vaikuttavan amarokiin - ainakaan mulla. Onko siis olemassa qt:lle jotain sellaista ohjelmaa kuin gtk:lle on esim. gtk-theme-switch? Vai pitääkö asentaa vielä se kdebase?
Back to top
View user's profile Send private message
Zarhan
l33t
l33t


Joined: 27 Feb 2004
Posts: 996

PostPosted: Wed Jul 20, 2005 8:54 am    Post subject: Reply with quote

Dependencyistä päätellen kyseessä on *KDE*-sovellus, ei QT.

Mutta useimmissa KDE-sovelluksissa teeman voi valita ihan komentoriviltä. Esim.

Code:

kstars --help-all
Usage: kstars [Qt-options] [KDE-options] [options]

Desktop Planetarium

Generic options:
  --help                    Show help about options
  --help-qt                 Show Qt specific options
  --help-kde                Show KDE specific options
  --help-all                Show all options
  --author                  Show author information
  -v, --version             Show version information
  --license                 Show license information
  --                        End of options

Qt options:
  --display <displayname>   Use the X-server display 'displayname'
  --session <sessionId>     Restore the application for the given 'sessionId'
  --cmap                    Causes the application to install a private color
                            map on an 8-bit display
  --ncols <count>           Limits the number of colors allocated in the color
                            cube on an 8-bit display, if the application is
                            using the QApplication::ManyColor color
                            specification
  --nograb                  tells Qt to never grab the mouse or the keyboard
  --dograb                  running under a debugger can cause an implicit
                            -nograb, use -dograb to override
  --sync                    switches to synchronous mode for debugging
  --fn, --font <fontname>   defines the application font
  --bg, --background <color> sets the default background color and an
                            application palette (light and dark shades are
                            calculated)
  --fg, --foreground <color> sets the default foreground color
  --btn, --button <color>   sets the default button color
  --name <name>             sets the application name
  --title <title>           sets the application title (caption)
  --visual TrueColor        forces the application to use a TrueColor visual on
                            an 8-bit display
  --inputstyle <inputstyle> sets XIM (X Input Method) input style. Possible
                            values are onthespot, overthespot, offthespot and
                            root
  --im <XIM server>         set XIM server
  --noxim                   disable XIM
  --reverse                 mirrors the whole layout of widgets

KDE options:
  --caption <caption>       Use 'caption' as name in the titlebar
  --icon <icon>             Use 'icon' as the application icon
  --miniicon <icon>         Use 'icon' as the icon in the titlebar
  --config <filename>       Use alternative configuration file
  --dcopserver <server>     Use the DCOP Server specified by 'server'
  --nocrashhandler          Disable crash handler, to get core dumps
  --waitforwm               Waits for a WM_NET compatible windowmanager
  --style <style>           sets the application GUI style
  --geometry <geometry>     sets the client geometry of the main widget - see man X for the argument format

Options:
  --dump                    Dump sky image to file
  --script                  Script to execute
  --width                   Width of sky image [640]
  --height                  Height of sky image [480]
  --filename                Filename for sky image [kstars.png]
  --date                    Date and time []
  --paused                  Start with clock paused
Back to top
View user's profile Send private message
tpr
n00b
n00b


Joined: 16 Oct 2004
Posts: 17

PostPosted: Fri Jul 22, 2005 7:30 pm    Post subject: Reply with quote

Joo, suoraan komentoriviltä voi antaa haluamansa tyylin, ja pysyvästi sen voi asettaa ~/.kde/share/config/kdeglobals-tiedostoon. Oikea asetus on General-ryhmän widgetStyle.
_________________
RSS aggregator for KDE? Check Akregator.
For Finns: KDE Finnish Translation Team
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Finnish All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum