GNU social JP
  • FAQ
  • Login
GNU social JPは日本のGNU socialサーバーです。
Usage/ToS/admin/test/Pleroma FE
  • Public

    • Public
    • Network
    • Groups
    • Featured
    • Popular
    • People

Embed Notice

HTML Code

Corresponding Notice

  1. Embed this notice
    Carl Schwan :kde: (carlschwan@floss.social)'s status on Wednesday, 30-Aug-2023 18:11:10 JSTCarl Schwan :kde:Carl Schwan :kde:
    • KDE

    Don't like all these frames in @kde's QtWidget apps? Me neither, so here is my proposal to remove them in #Plasma6 😎

    https://carlschwan.eu/2023/08/29/frameless-view-with-qtwidgets/

    In conversationWednesday, 30-Aug-2023 18:11:10 JST from floss.socialpermalink

    Attachments


    1. https://cdn.masto.host/floss/media_attachments/files/110/974/118/585/611/266/original/c9e00bf9303dae2d.png

    2. https://cdn.masto.host/floss/media_attachments/files/110/974/119/208/464/863/original/593a90cefd52ae62.png
    3. Domain not in remote thumbnail source whitelist: carlschwan.eu
      Frameless view with QtWidgets
      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.
  • Help
  • About
  • FAQ
  • TOS
  • Privacy
  • Source
  • Version
  • Contact

GNU social JP is a social network, courtesy of GNU social JP管理人. It runs on GNU social, version 2.0.2-dev, available under the GNU Affero General Public License.

Creative Commons Attribution 3.0 All GNU social JP content and data are available under the Creative Commons Attribution 3.0 license.