Blåhaj Lemmy
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
Carl Schwan@lemmy.kde.socialM to KDE@lemmy.kde.social · 2 years ago

Frameless view with QtWidgets

carlschwan.eu

external-link
message-square
0
link
fedilink
13
external-link

Frameless view with QtWidgets

carlschwan.eu

Carl Schwan@lemmy.kde.socialM to KDE@lemmy.kde.social · 2 years ago
message-square
0
link
fedilink
One design characteristic of our QtWidgets is that they contain a lot of frames and frames inside other frames. This worked well with Oxygen style and its skeuomorphism shadow, less so with Breeze. I first thought this was inheriten with QtWidgets and couldn’t be fixed without much effort. But fortunately, after looking a bit into Qt source codes and in particular in the internals of QDockAreaLayout, I discovered that the engine to draw and style the built-in components of QtWidgets: QStyle has a QStyle::PE_IndicatorDockWidgetResizeHandle primitive which allows drawing separators between detachable docks and similarly there is QStyle::CE_Splitter to paint the separator between elements inside a QSplitter.
alert-triangle
You must log in or register to comment.
  • n1729@lemmy.world
    link
    fedilink
    arrow-up
    2
    ·
    edit-2
    1 year ago

    deleted by creator

KDE@lemmy.kde.social

kde@lemmy.kde.social

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !kde@lemmy.kde.social

KDE is an international technology team creating user-friendly free and open source software for desktop and portable computing. KDE’s software runs on GNU/Linux, BSD and other operating systems, including Windows.

Plasma 6 Bugs

If you encounter a bug, proceed to https://bugs.kde.org/, check whether it has been reported.

If it hasn’t, report it yourself.

PLEASE THINK CAREFULLY BEFORE POSTING HERE.

Developers do not look for reports on social media, so they will not see it and all it does is clutter up the feed.

Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 27 users / day
  • 753 users / week
  • 1.24K users / month
  • 3.7K users / 6 months
  • 111 local subscribers
  • 6.66K subscribers
  • 1.17K Posts
  • 7.48K Comments
  • Modlog
  • mods:
  • Carl Schwan@lemmy.kde.social
  • Bro666@lemmy.kde.social
  • Herzenschein@pawb.social
  • Aniqakhokhar@lemmy.kde.social
  • BE: 0.19.11
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org