Giter Club home page Giter Club logo

qtknobs's People

Contributors

ashish157 avatar eyecreate avatar machinekoder avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

qtknobs's Issues

Compile problem on windows.

I did succeed to compile the library on Mac Os, yet I encountered this problem when trying the same on two separate windows machines with Qt version 5.3 and 5.4 respectively.

Issue:

C:\Users\PC\Downloads\QtTestsWindows\QtKnobs-master\QtKnobs\styles\needlestyle.cpp:72: error: C2360: initialization of 'points' is skipped by 'case' label

C:\Users\PC\Downloads\QtTestsWindows\QtKnobs-master\QtKnobs\styles\needlestyle.cpp:77: error: C2360: initialization of 'points' is skipped by 'case' label

On a side note, it would be good to have a compilable example.

Have a nice day.

No imports directory

In your description you write: "Copy directory imports to your project location"
But I don't find the folder imports in your repository.
How can I include QtKnobs into my project?

If I'm trying to compile the project I got an error message

The error message: The process failed to start. Either the invoked program "...../QtKnobs/examples/main.qml" is missing, or you may have insufficient permissions to invoke the program.

Sorry if it's a noob question. Your Knobs are looking great and I would like to use them in project :)
It would be great if you provide an easier installation way (.lib or .dll) or a more detailed installation description.

Derive highlight color from foreground knob color

painter->restore();
painter->setBrush(Qt::white);
painter->drawEllipse(boundingRect().center(),w/d,w/d);

I am attempting to use a darker theme for the knobs, but the highlight color is hard coded to white, which presents problems with several colors. Instead I would prefer it be set to be relative to the foreground color of the knob: 35-50% lighter and 20-30% desaturated. This should dramatically improve the appearance of dark theming.

I would submit a pull request but I am not yet familiar enough with Qt (or C++, I am a Java programmer). How would you go about doing this? I may be able to figure it out with some guidance.

Destroying a Knob kills the QML engine

Hello,

Do you have a explanation for this particular connection please?

knob.cpp, line 72:
connect(parentItem(),&QQuickItem::destroyed,m_engine,&QQmlEngine::deleteLater);

It makes no sense to kill the QML engine...

(Obvious fix: delete that line!)

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.