Notation used in Ruby API documentation
Module: QtGui
Description: Binding of QClipboard
Class hierarchy: QClipboard » QObject
Sub-classes: Mode, QFlags_Mode
[const] | QClipboard ptr | _const_cast | Returns a non-const reference to self. | |
void | _create | Ensures the C++ object is created | ||
[const] | bool | _destroyed? | Returns a value indicating whether the object was already destroyed | |
[const] | bool | _is_const_object? | Returns a value indicating whether the reference is a const reference | |
void | _manage | Marks the object as managed by the script side. | ||
void | _unmanage | Marks the object as no longer owned by the script side. | ||
[signal] | void | changed | (const QClipboard_Mode mode) | Signal declaration for QClipboard::changed(QClipboard::Mode mode) |
void | clear | (const QClipboard_Mode mode = QClipboard::Clipboard) | Method void QClipboard::clear(QClipboard::Mode mode) | |
[signal] | void | dataChanged | Signal declaration for QClipboard::dataChanged() | |
[signal] | void | destroyed | (QObject ptr arg1) | Signal declaration for QClipboard::destroyed(QObject *) |
[signal] | void | findBufferChanged | Signal declaration for QClipboard::findBufferChanged() | |
[const] | QImage | image | (const QClipboard_Mode mode = QClipboard::Clipboard) | Method QImage QClipboard::image(QClipboard::Mode mode) |
[const] | const QMimeData ptr | mimeData | (const QClipboard_Mode mode = QClipboard::Clipboard) | Method const QMimeData *QClipboard::mimeData(QClipboard::Mode mode) |
[signal] | void | objectNameChanged | (string objectName) | Signal declaration for QClipboard::objectNameChanged(const QString &objectName) |
[const] | bool | ownsClipboard | Method bool QClipboard::ownsClipboard() | |
[const] | bool | ownsFindBuffer | Method bool QClipboard::ownsFindBuffer() | |
[const] | bool | ownsSelection | Method bool QClipboard::ownsSelection() | |
[const] | QPixmap | pixmap | (const QClipboard_Mode mode = QClipboard::Clipboard) | Method QPixmap QClipboard::pixmap(QClipboard::Mode mode) |
[signal] | void | selectionChanged | Signal declaration for QClipboard::selectionChanged() | |
void | setImage | (const QImage arg1, const QClipboard_Mode mode = QClipboard::Clipboard) | Method void QClipboard::setImage(const QImage &, QClipboard::Mode mode) | |
void | setMimeData | (QMimeData ptr data, const QClipboard_Mode mode = QClipboard::Clipboard) | Method void QClipboard::setMimeData(QMimeData *data, QClipboard::Mode mode) | |
void | setPixmap | (const QPixmap arg1, const QClipboard_Mode mode = QClipboard::Clipboard) | Method void QClipboard::setPixmap(const QPixmap &, QClipboard::Mode mode) | |
void | setText | (string arg1, const QClipboard_Mode mode = QClipboard::Clipboard) | Method void QClipboard::setText(const QString &, QClipboard::Mode mode) | |
[const] | bool | supportsFindBuffer | Method bool QClipboard::supportsFindBuffer() | |
[const] | bool | supportsSelection | Method bool QClipboard::supportsSelection() | |
[const] | string | text | (const QClipboard_Mode mode = QClipboard::Clipboard) | Method QString QClipboard::text(QClipboard::Mode mode) |
[const] | string | text | (string subtype, const QClipboard_Mode mode = QClipboard::Clipboard) | Method QString QClipboard::text(QString &subtype, QClipboard::Mode mode) |
[static,const] | QClipboard_Mode | Clipboard | Enum constant QClipboard::Clipboard | |
[static,const] | QClipboard_Mode | FindBuffer | Enum constant QClipboard::FindBuffer | |
[static,const] | QClipboard_Mode | LastMode | Enum constant QClipboard::LastMode | |
[static,const] | QClipboard_Mode | Selection | Enum constant QClipboard::Selection | |
QMetaObject | staticMetaObject | Obtains the static MetaObject for this class. | ||
string | tr | (string s, string c = nullptr, int n = -1) | Static method QString QClipboard::tr(const char *s, const char *c, int n) | |
string | trUtf8 | (string s, string c = nullptr, int n = -1) | Static method QString QClipboard::trUtf8(const char *s, const char *c, int n) |
Clipboard | Signature: [static,const] QClipboard_Mode Clipboard Description: Enum constant QClipboard::Clipboard Python specific notes: |
FindBuffer | Signature: [static,const] QClipboard_Mode FindBuffer Description: Enum constant QClipboard::FindBuffer Python specific notes: |
LastMode | Signature: [static,const] QClipboard_Mode LastMode Description: Enum constant QClipboard::LastMode Python specific notes: |
Selection | Signature: [static,const] QClipboard_Mode Selection Description: Enum constant QClipboard::Selection Python specific notes: |
_const_cast | Signature: [const] QClipboard ptr _const_cast Description: Returns a non-const reference to self. Basically, this method allows turning a const object reference to a non-const one. This method is provided as last resort to remove the constness from an object. Usually there is a good reason for a const object reference, so using this method may have undesired side effects. This method has been introduced in version 0.29.6. |
_create | Signature: void _create Description: Ensures the C++ object is created Use this method to ensure the C++ object is created, for example to ensure that resources are allocated. Usually C++ objects are created on demand and not necessarily when the script object is created. |
_destroyed? | Signature: [const] bool _destroyed? Description: Returns a value indicating whether the object was already destroyed This method returns true, if the object was destroyed, either explicitly or by the C++ side. The latter may happen, if the object is owned by a C++ object which got destroyed itself. |
_is_const_object? | Signature: [const] bool _is_const_object? Description: Returns a value indicating whether the reference is a const reference This method returns true, if self is a const reference. In that case, only const methods may be called on self. |
_manage | Signature: void _manage Description: Marks the object as managed by the script side. After calling this method on an object, the script side will be responsible for the management of the object. This method may be called if an object is returned from a C++ function and the object is known not to be owned by any C++ instance. If necessary, the script side may delete the object if the script's reference is no longer required. Usually it's not required to call this method. It has been introduced in version 0.24. |
_unmanage | Signature: void _unmanage Description: Marks the object as no longer owned by the script side. Calling this method will make this object no longer owned by the script's memory management. Instead, the object must be managed in some other way. Usually this method may be called if it is known that some C++ object holds and manages this object. Technically speaking, this method will turn the script's reference into a weak reference. After the script engine decides to delete the reference, the object itself will still exist. If the object is not managed otherwise, memory leaks will occur. Usually it's not required to call this method. It has been introduced in version 0.24. |
changed | Signature: [signal] void changed (const QClipboard_Mode mode) Description: Signal declaration for QClipboard::changed(QClipboard::Mode mode) You can bind a procedure to this signal. Python specific notes: |
clear | Signature: void clear (const QClipboard_Mode mode = QClipboard::Clipboard) Description: Method void QClipboard::clear(QClipboard::Mode mode) |
dataChanged | Signature: [signal] void dataChanged Description: Signal declaration for QClipboard::dataChanged() You can bind a procedure to this signal. Python specific notes: |
destroyed | Signature: [signal] void destroyed (QObject ptr arg1) Description: Signal declaration for QClipboard::destroyed(QObject *) You can bind a procedure to this signal. Python specific notes: |
findBufferChanged | Signature: [signal] void findBufferChanged Description: Signal declaration for QClipboard::findBufferChanged() You can bind a procedure to this signal. Python specific notes: |
image | Signature: [const] QImage image (const QClipboard_Mode mode = QClipboard::Clipboard) Description: Method QImage QClipboard::image(QClipboard::Mode mode) |
mimeData | Signature: [const] const QMimeData ptr mimeData (const QClipboard_Mode mode = QClipboard::Clipboard) Description: Method const QMimeData *QClipboard::mimeData(QClipboard::Mode mode) |
objectNameChanged | Signature: [signal] void objectNameChanged (string objectName) Description: Signal declaration for QClipboard::objectNameChanged(const QString &objectName) You can bind a procedure to this signal. Python specific notes: |
ownsClipboard | Signature: [const] bool ownsClipboard Description: Method bool QClipboard::ownsClipboard() |
ownsFindBuffer | Signature: [const] bool ownsFindBuffer Description: Method bool QClipboard::ownsFindBuffer() |
ownsSelection | Signature: [const] bool ownsSelection Description: Method bool QClipboard::ownsSelection() |
pixmap | Signature: [const] QPixmap pixmap (const QClipboard_Mode mode = QClipboard::Clipboard) Description: Method QPixmap QClipboard::pixmap(QClipboard::Mode mode) |
selectionChanged | Signature: [signal] void selectionChanged Description: Signal declaration for QClipboard::selectionChanged() You can bind a procedure to this signal. Python specific notes: |
setImage | Signature: void setImage (const QImage arg1, const QClipboard_Mode mode = QClipboard::Clipboard) Description: Method void QClipboard::setImage(const QImage &, QClipboard::Mode mode) |
setMimeData | Signature: void setMimeData (QMimeData ptr data, const QClipboard_Mode mode = QClipboard::Clipboard) Description: Method void QClipboard::setMimeData(QMimeData *data, QClipboard::Mode mode) |
setPixmap | Signature: void setPixmap (const QPixmap arg1, const QClipboard_Mode mode = QClipboard::Clipboard) Description: Method void QClipboard::setPixmap(const QPixmap &, QClipboard::Mode mode) |
setText | Signature: void setText (string arg1, const QClipboard_Mode mode = QClipboard::Clipboard) Description: Method void QClipboard::setText(const QString &, QClipboard::Mode mode) |
staticMetaObject | Signature: [static] QMetaObject staticMetaObject Description: Obtains the static MetaObject for this class. |
supportsFindBuffer | Signature: [const] bool supportsFindBuffer Description: Method bool QClipboard::supportsFindBuffer() |
supportsSelection | Signature: [const] bool supportsSelection Description: Method bool QClipboard::supportsSelection() |
text | (1) Signature: [const] string text (const QClipboard_Mode mode = QClipboard::Clipboard) Description: Method QString QClipboard::text(QClipboard::Mode mode) |
(2) Signature: [const] string text (string subtype, const QClipboard_Mode mode = QClipboard::Clipboard) Description: Method QString QClipboard::text(QString &subtype, QClipboard::Mode mode) | |
tr | Signature: [static] string tr (string s, string c = nullptr, int n = -1) Description: Static method QString QClipboard::tr(const char *s, const char *c, int n) This method is static and can be called without an instance. |
trUtf8 | Signature: [static] string trUtf8 (string s, string c = nullptr, int n = -1) Description: Static method QString QClipboard::trUtf8(const char *s, const char *c, int n) This method is static and can be called without an instance. |