Let's be honest - the application we wrote in 1.hello wasn't the most exciting one ever. In this section, we're going to look at how to use buttons, and we will learn about events in Qt. First, let's ...
このプロジェクトは、QPushButtonを継承したり、格上げする事無く、シンプルなデザインに仕上げました。 ポイント QPushButtonが押されたら ・LongPressTimer::longtouch()と長押し時に呼ばれるスロット関数をコネクトする。 ・LongPressTimer::onReleased()とQPushButton::released ...