Giter Club home page Giter Club logo

de-casteljau_algorithm_demo's People

Contributors

momesana avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

Forkers

xtingray

de-casteljau_algorithm_demo's Issues

Deprecated method

Hi,
When I compiled the source code using Qt 5.15.2, got a warning message related to the deprecated method "mapped". I just changed it to "mappedString" and the warning disappeared. Great implementation, by the way!
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp
index 4c1b5bd..e799e3f 100644
--- a/src/mainwindow.cpp
+++ b/src/mainwindow.cpp
@@ -108,7 +108,7 @@ void MainWindow::setupConnections()
connect(btn, &ColorToolButton::clicked, signalMapper, qOverload<>(&QSignalMapper::map));
signalMapper->setMapping(btn, btnKeyMap.value(btn));
}
- connect(signalMapper, qOverload<const QString&>(&QSignalMapper::mapped), [this, settings, btnKeyMap](const
QString& configKey){
+ connect(signalMapper, qOverload<const QString&>(&QSignalMapper::mappedString), [this, settings, btnKeyMap](const
QString& configKey){
const QColor initialColor = settings->value(configKey, QColor(Qt::white)).value();
const QColor selectedColor = QColorDialog::getColor(initialColor, this, tr("Select Color"));
if (selectedColor.isValid()) {

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.