Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
selectOverlayqtのアクションにショートカット (キー 0 ~ 9) のリストを追加しています。でスロットをトリガーしたキーストロークを取得するにはどうすればよいselectOverlay()ですか?
selectOverlay
selectOverlay()
connect( selectOverlay, SIGNAL(triggered()), this, SLOT(selectOverlay()) );
QSignalMapperこれは、クラスをいつ使用するかについての良い例のように見えます。
QSignalMapper