GithubHelp home page GithubHelp logo

find solution for theming about qtodotxt2 HOT 12 OPEN

qtodotxt avatar qtodotxt commented on June 17, 2024
find solution for theming

from qtodotxt2.

Comments (12)

fuchsmich avatar fuchsmich commented on June 17, 2024

Generally QtQuick Controls 1 (Buttons, Menus, etc...) should be decorated by default suitable to the Desktop Environment. But the colors of the currently used theme can also be accessed in qml (e.g. for styling custom items):
http://doc.qt.io/qt-5/qml-qtquick-systempalette.html

At least in KDE if you choose the right "icon-name" in Actions, the according icon appears in Menus and Toolbars (icons can be browsed with cuttlefish (part of kde-sdk)). In Windows this doesnt work for me. I guess we have to deploy some kind of default icon-theme with the app.

from qtodotxt2.

oroulet avatar oroulet commented on June 17, 2024

I agree that we should use system theming as much as possible. I use gnome3. And I have absoluetely no idea how to force a QT theme since they removed the qtconfig app in qt5....

from qtodotxt2.

fuchsmich avatar fuchsmich commented on June 17, 2024

from qtodotxt2.

oroulet avatar oroulet commented on June 17, 2024

image

The big empty space appearde when you made the new sorting buttons not visible...

from qtodotxt2.

fuchsmich avatar fuchsmich commented on June 17, 2024

from qtodotxt2.

oroulet avatar oroulet commented on June 17, 2024

looks like css stylesheets are not supported in QML so we cannot reuse the sheets had...

from qtodotxt2.

fuchsmich avatar fuchsmich commented on June 17, 2024

from qtodotxt2.

oroulet avatar oroulet commented on June 17, 2024

for information if we use QApplication from QtGui and not QWidgets then we miss looking at standard systems icons (But this is probably a linux only functionality I guess)

from qtodotxt2.

TRSx80 avatar TRSx80 commented on June 17, 2024

I already made similar comment under #53, but I just wanted to re-state it here. I agree strongly with @oroulet comment of:

I agree that we should use system theming as much as possible.

FWIW, I am on KDE Plasma with Breeze Dark theme and everything looks very good to me. I know you guys are on different environments, so perhaps I can help the project by reporting what I am seeing in my environment. I don't know enough about coding (yet) but I do want to contribute what I can because I love the project and it meets my needs just about perfectly. :)

from qtodotxt2.

oroulet avatar oroulet commented on June 17, 2024

from qtodotxt2.

severoraz avatar severoraz commented on June 17, 2024

I am using gnome 3 (3.26) with the dark theme and qtodotxt2 did not adopt the dark colours.

from qtodotxt2.

oroulet avatar oroulet commented on June 17, 2024

@severoraz I have the same issue. It look like qt5 applcations do not get theme from gnome... While the doc says they should... something does not work....
And it looks like qt5 has no tool to set a theme by hand... any help is welcome on that...

from qtodotxt2.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.