Coder Social home page Coder Social logo

qqc2-suru-style's Introduction

qqc2-suru-style

Suru Style for QtQuick Controls 2. Qt 5.9 is required.

qqc2-suru-style's People

Contributors

balcy avatar bhdouglass avatar cibersheep avatar dano6 avatar dobey avatar jbruechert avatar mardy avatar mariogrip avatar mymike00 avatar sverzegnassi avatar z3ntu avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

qqc2-suru-style's Issues

Dark mode issues

Description

Add a Spinbox. Set the Suru.theme to Suru.Dark
The label is still black and cannot be seen in dark mode.

cannot get ComboBox editable

When setting 'editable' to true for a ComboBox it has no effect. Could it be due to the style for ComboBox using a 'Text' field which is a readonly text component?

Border, dividers, lines are gone

  • Channel: Devel and Edge

Description

The borders, dividers, separator lines, etc. are gone in some qqc2 components.
From what I noticed in my apps, these components are the following:

  • Tumbler
  • Page Header (ToolBar)
  • Text Field
  • SpinBox
  • GroupBox

Additional Information / Screenshots

Here are some screenshots from my Palitan. You can see here some elements that lose the borders, etc.

screenshot20190430_173211256
screenshot20190430_172951097
screenshot20190430_173018613
screenshot20190430_173149685

Positioning of items is off

Qt on edge now properly supports pixel density whereas the QQC2 Suru styling implementation still shows the same issue of positioning items wrongly.
Examples:

Suru style:
scaleddown_screenshot20190329_135522701

compared to Material style:
scaleddown_screenshot20190330_171444908

Keep StackView Transitions?

We have some default transitions when pages are pushed or popped from a StackView.

The rational behind it is that transitions should give a hint on what is happening when user taps on an element: if tap on the header of an email the transition should hint the user that that email is being opened.

Therefore, when an element of a list is tapped a page is enters «flying» from the right but it also does if we tap on the header icon for example. At then end, looks like the app is slower than it is as the header text (if) changes does it before than the page entering in.

My question is: Do we want to keep these transitions as default? Modify them? Delete them and implement this in another way?

Suru-styled Pages are missing background Rectangle

Since the removal of the background Rectangle (commit: bd803c9)
the Page component differs from other styling implementations (Material, Universal) in that it allows see-through behavior, which might not be expected from an application coming from a different platform and using QQC2.
To keep friction low we might have to revert the commit that introduced this regression.

screenshot20190330_123628363

background width of TextField

When I have a textfield with a large width the border is too small (ending somewhere before the end of the control).

I added

                    Component.onCompleted: {
                        background.width = width
                    }

to have the border surround the complete control.

Suru Theme Dial controls oversized

hi, just tested a page with Dial controls.
Size seems to be fine in System theme but not in Suru (overlaps). i've tried either by defining width and height in Dial and implicitWidth and implicitHeight ).

screenshot20190528_103810049
screenshot20190528_103734351

Move to cmake?

Since qmake is both hard to work with and semi deprecated upstream.

Also most of our components use cmake, and i'm planing to move more of them over.

Dialogs expose old window buffers during redraws

Steps to reproduce:

  • Open GhostCloud from the OpenStore
  • Press the hamburger menu
  • Select "About GhostCloud"

Expectation:

  • Scrolling through the page should feel fluid

Actual result:

  • Old window buffers are kept and shown during redraw when scrolling the page

What dose .qmake.conf do?

Hi, I'm working on my fork of qqc2-suru-style. I need to know how .qmake.conf file work. can u help me ? thank you.

Private APIs changed (surprise)

Arch GNU/Linux. Qt 5.11.1

In file included from qquicksurustyle.cpp:24:
qquicksurustyle_p.h:28:10: fatal error: QtQuickControls2/private/qquickstyleattached_p.h: No such file or directory
 #include <QtQuickControls2/private/qquickstyleattached_p.h>
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[1]: *** [Makefile.suru:700: .obj/qquicksurustyle.o] Error 1
make[1]: *** Waiting for unfinished jobs....
In file included from qquicksuruunits.cpp:2:
qquicksurustyle_p.h:28:10: fatal error: QtQuickControls2/private/qquickstyleattached_p.h: No such file or directory
 #include <QtQuickControls2/private/qquickstyleattached_p.h>
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.

Full list of private APIs in Qt 5.11.1:

qt5-quickcontrols2 /usr/include/qt/QtQuickControls2/5.11.1/QtQuickControls2/private/qquickanimatednode_p.h
qt5-quickcontrols2 /usr/include/qt/QtQuickControls2/5.11.1/QtQuickControls2/private/qquickattachedobject_p.h
qt5-quickcontrols2 /usr/include/qt/QtQuickControls2/5.11.1/QtQuickControls2/private/qquickchecklabel_p.h
qt5-quickcontrols2 /usr/include/qt/QtQuickControls2/5.11.1/QtQuickControls2/private/qquickclippedtext_p.h
qt5-quickcontrols2 /usr/include/qt/QtQuickControls2/5.11.1/QtQuickControls2/private/qquickcolor_p.h
qt5-quickcontrols2 /usr/include/qt/QtQuickControls2/5.11.1/QtQuickControls2/private/qquickcolorimage_p.h
qt5-quickcontrols2 /usr/include/qt/QtQuickControls2/5.11.1/QtQuickControls2/private/qquickiconimage_p.h
qt5-quickcontrols2 /usr/include/qt/QtQuickControls2/5.11.1/QtQuickControls2/private/qquickiconimage_p_p.h
qt5-quickcontrols2 /usr/include/qt/QtQuickControls2/5.11.1/QtQuickControls2/private/qquickiconlabel_p.h
qt5-quickcontrols2 /usr/include/qt/QtQuickControls2/5.11.1/QtQuickControls2/private/qquickiconlabel_p_p.h
qt5-quickcontrols2 /usr/include/qt/QtQuickControls2/5.11.1/QtQuickControls2/private/qquickitemgroup_p.h
qt5-quickcontrols2 /usr/include/qt/QtQuickControls2/5.11.1/QtQuickControls2/private/qquickmnemoniclabel_p.h
qt5-quickcontrols2 /usr/include/qt/QtQuickControls2/5.11.1/QtQuickControls2/private/qquickpaddedrectangle_p.h
qt5-quickcontrols2 /usr/include/qt/QtQuickControls2/5.11.1/QtQuickControls2/private/qquickplaceholdertext_p.h
qt5-quickcontrols2 /usr/include/qt/QtQuickControls2/5.11.1/QtQuickControls2/private/qquickproxytheme_p.h
qt5-quickcontrols2 /usr/include/qt/QtQuickControls2/5.11.1/QtQuickControls2/private/qquickstyle_p.h
qt5-quickcontrols2 /usr/include/qt/QtQuickControls2/5.11.1/QtQuickControls2/private/qquickstyleplugin_p.h
qt5-quickcontrols2 /usr/include/qt/QtQuickControls2/5.11.1/QtQuickControls2/private/qquickstyleselector_p.h
qt5-quickcontrols2 /usr/include/qt/QtQuickControls2/5.11.1/QtQuickControls2/private/qquickstyleselector_p_p.h
qt5-quickcontrols2 /usr/include/qt/QtQuickControls2/5.11.1/QtQuickControls2/private/qquicktheme_p.h
qt5-quickcontrols2 /usr/include/qt/QtQuickControls2/5.11.1/QtQuickControls2/private/qquicktumblerview_p.h
qt5-quickcontrols2 /usr/include/qt/QtQuickControls2/5.11.1/QtQuickControls2/private/qtquickcontrols2-config_p.h
qt5-quickcontrols2 /usr/include/qt/QtQuickControls2/5.11.1/QtQuickControls2/private/qtquickcontrols2global_p.h

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.