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.
私は Qt4 の初心者で、新しいスロットを作成したいのですができません (誰か助けてくれませんか? ありがとう ;-)
スロットは通常の C++ 関数です。関数を作成して通常どおり呼び出すだけです。
例えば:
connect(openAction, SIGNAL(triggered()), this, SLOT(openFile()))
ここのスロットはopenFile()簡単な方法です。
openFile()