Questions tagged [slot]

slot is a method callback used to handle a signal in some gui frameworks like QT

slot is a method callback used to handle a signal in some gui frameworks like QT - see for instance: http://doc.qt.io/qt-4.8/signalsandslots.html

445 questions
-1
votes
1 answer

Use of Qtimer before event loop started

I have created a simple, single thread, app in Qt6. My sole class creates a couple of timers and prints a qDebug message in the timeout slot. These messages never print. My class is created before the app.exec() in main, so before the event loop…
TSG
  • 4,242
  • 9
  • 61
  • 121
-1
votes
1 answer

How to get number of slot in a VueJS component

I need my component to get slots number are occupied by the parent component For example: This is the component: