6obj->metaObject()->className();
8QPushButton::staticMetaObject.className();
13QPushButton::staticMetaObject.className();
16obj->metaObject()->className();
45qDebug(
"MyClass::setPrecision(): (%s) invalid precision %f",
68 textEdit->installEventFilter(
this);
73 if (
obj == textEdit) {
76 qDebug() <<
"Ate key press" << keyEvent->
key();
113 using namespace std::chrono;
127 qDebug() <<
"Timer ID:" <<
event->timerId();
171 qDebug(
"Ate key press %d", keyEvent->
key());
203 get_the_value(&
data);
352 ToggleCurrent = Toggle | Current,
353 ClearAndSelect = Clear |
Select
412 data = get_the_value();
bool eventFilter(QObject *obj, QEvent *event) override
Filters events if this object has been installed as an event filter for the watched object.
bool eventFilter(QObject *obj, QEvent *ev) override
Filters events if this object has been installed as an event filter for the watched object.
MyClass(QObject *parent=nullptr)
void setPriority(Priority priority)
MyClass(QWidget *parent=nullptr)
bool event(QEvent *ev) override
This virtual function receives events to an object and should return true if the event e was recogniz...
void timerEvent(QTimerEvent *event) override
This event handler can be reimplemented in a subclass to receive timer events for the object.
MyObject(QObject *parent=nullptr)
void connected()
This signal is emitted after connectToHost() has been called and a connection has been successfully e...
virtual void connectToHost(const QString &hostName, quint16 port, OpenMode mode=ReadWrite, NetworkLayerProtocol protocol=AnyIPProtocol)
Attempts to make a connection to hostName on the given port.
static QCoreApplication * instance() noexcept
Returns a pointer to the application's QCoreApplication (or QGuiApplication/QApplication) instance.
Type type() const
Returns the event type.
qint64 write(const char *data, qint64 len)
Writes at most maxSize bytes of data from data to the device.
SelectionFlag
This enum describes the way the selection model will be updated.
The QKeyEvent class describes a key event.
int key() const
Returns the code of the key that was pressed or released.
The QLabel widget provides a text or image display.
void setText(const QString &)
The QLineEdit widget is a one-line text editor.
void textChanged(const QString &)
This signal is emitted whenever the text changes.
The QListView class provides a list or icon view onto a model.
The QMainWindow class provides a main application window.
void setCentralWidget(QWidget *widget)
Sets the given widget to be the main window's central widget.
int startTimer(int interval, Qt::TimerType timerType=Qt::CoarseTimer)
This is an overloaded function that will start a timer of type timerType and a timeout of interval mi...
T findChild(const QString &aName=QString(), Qt::FindChildOptions options=Qt::FindChildrenRecursively) const
Returns the child of this object that can be cast into type T and that is called name,...
bool isSignalConnected(const QMetaMethod &signal) const
void installEventFilter(QObject *filterObj)
Installs an event filter filterObj on this object.
QObject * parent() const
Returns a pointer to the parent object.
void moveToThread(QThread *thread)
Changes the thread affinity for this object and its children.
static QMetaObject::Connection connect(const QObject *sender, const char *signal, const QObject *receiver, const char *member, Qt::ConnectionType=Qt::AutoConnection)
\threadsafe
virtual bool eventFilter(QObject *watched, QEvent *event)
Filters events if this object has been installed as an event filter for the watched object.
static bool disconnect(const QObject *sender, const char *signal, const QObject *receiver, const char *member)
\threadsafe
QList< T > findChildren(const QString &aName, Qt::FindChildOptions options=Qt::FindChildrenRecursively) const
Returns all children of this object with the given name that can be cast to type T,...
bool inherits(const char *classname) const
Returns true if this object is an instance of a class that inherits className or a QObject subclass t...
Exception-safe wrapper around QObject::blockSignals().
\macro QT_RESTRICTED_CAST_FROM_ASCII
The QTcpSocket class provides a TCP socket.
The QTextEdit class provides a widget that is used to edit and display both plain and rich text.
The QVBoxLayout class lines up widgets vertically.
QList< QVariant > arguments
DBusConnection const char DBusError DBusBusType DBusError return DBusConnection DBusHandleMessageFunction void DBusFreeFunction return DBusConnection return DBusConnection return const char DBusError return DBusConnection DBusMessage dbus_uint32_t return DBusConnection dbus_bool_t DBusConnection DBusAddWatchFunction DBusRemoveWatchFunction DBusWatchToggledFunction void DBusFreeFunction return DBusConnection DBusDispatchStatusFunction void DBusFreeFunction DBusTimeout return DBusTimeout return DBusWatch return DBusWatch unsigned int return DBusError const DBusError return const DBusMessage return DBusMessage return DBusMessage return DBusMessage return DBusMessage return DBusMessage return DBusMessageIter int const void return DBusMessageIter DBusMessageIter return DBusMessageIter void DBusMessageIter void int return DBusMessage DBusMessageIter return DBusMessageIter return DBusMessageIter DBusMessageIter const char const char const char const char return DBusMessage return DBusMessage const char return DBusMessage dbus_bool_t return DBusMessage dbus_uint32_t return DBusMessage void
EGLOutputLayerEXT EGLint EGLAttrib value
[5]
#define Q_DECLARE_FLAGS(Flags, Enum)
GLuint GLsizei const GLchar * label
[43]
GLint GLsizei GLsizei GLenum GLenum GLsizei void * data
GLfloat GLfloat GLfloat GLfloat h
#define qPrintable(string)
if(qFloatDistance(a, b)<(1<< 7))
[0]
static const QMetaMethod valueChangedSignal
[48]
QList< QPushButton * > childButtons
[42]
const bool wasBlocked
[52]
QAbstractButton * button
[8]
void on_button1_clicked()
[33]
QList< QWidget * > widgets
[11]
KeyPressEater * keyPressEater
[15]
myObject disconnect()
[26]
void on_< object name > _< signal name >(< signal parameters >)
[32]
QList< QPushButton * > allPButtons
[12]
qDebug()<< engine.evaluate("myObject.dynamicProperty").toInt()
[1]
IUIAutomationTreeWalker __RPC__deref_out_opt IUIAutomationElement ** parent
virtual HRESULT STDMETHODCALLTYPE Select()=0