Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

how to Improve visual and add efects to Qt c++ apps for desktop



  • hi guys, im relatively new working with Qt creator, i love the IDE i have a questions

    how i can improve the visuals of my apps_??
    what if, i have a button , and when i click it, a label with a image will appear, but, i dont want that the label just appear quick, i want add a fade effect to the label, to improve the visual
    i want to have a button that when i hover on it , move and show his whole budy, from left to right , and when the mouse go away, the button backs to the original position

    somethings like that,

    someone can explain me what i have to do_???
    what i have to download, ???
    i have the QT 5.9, and mi instalation folder size is 12gb, i imagine that the tools are there

    thanks, and sorry my english.



  • Hi Cuban Akira,
    In qt quick , you can make these type animations quick. :)
    for animations
    qmlbook
    for effects
    qt documentation

    In Qt C++
    http://doc.qt.io/qt-5/animation.html



  • @CKurdu i will read all that docs that send me you, thanks my friend
    later i will coment you about it



  • QPropertyAnimation and QGraphicsOpacityEffect are the tools you need.

    P.S.

    and mi instalation folder size is 12gb

    Checking everything in the installer is never a good idea. only install the version that matches your compiler


  • Moderators

    @VRonin said in how to Improve visual and add efects to Qt c++ apps for desktop:

    P.S.

    and mi instalation folder size is 12gb

    Checking everything in the installer is never a good idea. only install the version that matches your compiler

    +1

    See the warning at the bottom of Page 2: https://1drv.ms/w/s!AnaQjhA33g0K0lkIZPVjfsWrcPSI ("Warning: Be sure to only select the build(s) that you want. If you simply tick the version number, you will select and install all available builds, which can take up many 10s of gigabytes! This is especially important on Windows.")


Log in to reply