問題タブ [qt-slot]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
c++ - QWidget ダブルクリック
シングルクリックではなく、QPushbutton をダブルクリックできるようにしたいと考えています。
私が試したこと:
「QObject::connect: No such signal QPushButton::doubleClicked()」というエラーが表示されます
最初は QPushButton を選択しましたが、私の目的のために、ダブルクリック イベントを作成できる場合は、他のオブジェクトへの変更を提案できます。必ずしも押しボタンである必要はありません。
Qt と C++ の達人に感謝します。