API reference - Class QToolBarNotation used in Ruby API documentation Description: Binding of QToolBar Class hierarchy: QToolBar » QWidget » QObject
Public constructors
Public methods
Public static methods and constants
Protected methods (static, non-static and constructors)
Deprecated methods (protected, public, static, non-static and constructors)
Detailed descriptionvoid _createDescription: 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. void _destroyDescription: Explicitly destroys the object Explicitly destroys the object on C++ side if it was owned by the script interpreter. Subsequent access to this object will throw an exception. If the object is not owned by the script, this method will do nothing. [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. [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. void _manageDescription: 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. void _unmanageDescription: 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. [const] QAction ptr actionAt(const QPoint p)Description: Method QAction *QToolBar::actionAt(const QPoint &p) [const] QAction ptr actionAt(int x,int y)Description: Method QAction *QToolBar::actionAt(int x, int y) [virtual] void actionEvent(QActionEvent ptr event)Description: Virtual method void QToolBar::actionEvent(QActionEvent *event) This method can be reimplemented in a derived class. [const] QRect actionGeometry(QAction ptr action)Description: Method QRect QToolBar::actionGeometry(QAction *action) [event] void actionTriggered(QAction ptr action)Description: Signal declaration for QToolBar::actionTriggered(QAction *action) You can bind a procedure to this signal. void addAction(QAction ptr action)Description: Method void QToolBar::addAction(QAction *action) QAction ptr addAction(string text)Description: Method QAction *QToolBar::addAction(const QString &text) QAction ptr addAction(const QIcon icon,string text)Description: Method QAction *QToolBar::addAction(const QIcon &icon, const QString &text) QAction ptr addAction(string text,const QObject ptr receiver,string member)Description: Method QAction *QToolBar::addAction(const QString &text, const QObject *receiver, const char *member) QAction ptr addAction(const QIcon icon,string text,const QObject ptr receiver,string member)Description: Method QAction *QToolBar::addAction(const QIcon &icon, const QString &text, const QObject *receiver, const char *member) QAction ptr addSeparatorDescription: Method QAction *QToolBar::addSeparator() QAction ptr addWidget(QWidget ptr widget)Description: Method QAction *QToolBar::addWidget(QWidget *widget) [const] Qt_QFlags_ToolBarArea allowedAreasDescription: Method QFlags<Qt::ToolBarArea> QToolBar::allowedAreas() Python specific notes:The object exposes a readable attribute 'allowedAreas'. This is the getter. void allowedAreas=(const Qt_QFlags_ToolBarArea areas)Description: Method void QToolBar::setAllowedAreas(QFlags<Qt::ToolBarArea> areas) Python specific notes:The object exposes a writable attribute 'allowedAreas'. This is the setter. [event] void allowedAreasChanged(const Qt_QFlags_ToolBarArea allowedAreas)Description: Signal declaration for QToolBar::allowedAreasChanged(QFlags<Qt::ToolBarArea> allowedAreas) You can bind a procedure to this signal. [virtual] void changeEvent(QEvent ptr event)Description: Virtual method void QToolBar::changeEvent(QEvent *event) This method can be reimplemented in a derived class. [virtual] void childEvent(QChildEvent ptr event)Description: Virtual method void QToolBar::childEvent(QChildEvent *event) This method can be reimplemented in a derived class. void clearDescription: Method void QToolBar::clear() [virtual] void closeEvent(QCloseEvent ptr arg1)Description: Virtual method void QToolBar::closeEvent(QCloseEvent *) This method can be reimplemented in a derived class. [virtual] void contextMenuEvent(QContextMenuEvent ptr arg1)Description: Virtual method void QToolBar::contextMenuEvent(QContextMenuEvent *) This method can be reimplemented in a derived class. void createDescription: Ensures the C++ object is created Use of this method is deprecated. Use _create instead [event] void customContextMenuRequested(const QPoint pos)Description: Signal declaration for QToolBar::customContextMenuRequested(const QPoint &pos) You can bind a procedure to this signal. [virtual] void customEvent(QEvent ptr arg1)Description: Virtual method void QToolBar::customEvent(QEvent *) This method can be reimplemented in a derived class. void destroyDescription: Explicitly destroys the object Use of this method is deprecated. Use _destroy instead [event] void destroyed(QObject ptr arg1)Description: Signal declaration for QToolBar::destroyed(QObject *) You can bind a procedure to this signal. [const] bool destroyed?Description: Returns a value indicating whether the object was already destroyed Use of this method is deprecated. Use _destroyed? instead [virtual] void disconnectNotify(string signal)Description: Virtual method void QToolBar::disconnectNotify(const char *signal) This method can be reimplemented in a derived class. [virtual] void dragEnterEvent(QDragEnterEvent ptr arg1)Description: Virtual method void QToolBar::dragEnterEvent(QDragEnterEvent *) This method can be reimplemented in a derived class. [virtual] void dragLeaveEvent(QDragLeaveEvent ptr arg1)Description: Virtual method void QToolBar::dragLeaveEvent(QDragLeaveEvent *) This method can be reimplemented in a derived class. [virtual] void dragMoveEvent(QDragMoveEvent ptr arg1)Description: Virtual method void QToolBar::dragMoveEvent(QDragMoveEvent *) This method can be reimplemented in a derived class. [virtual] void dropEvent(QDropEvent ptr arg1)Description: Virtual method void QToolBar::dropEvent(QDropEvent *) This method can be reimplemented in a derived class. [virtual] void enabledChange(bool arg1)Description: Virtual method void QToolBar::enabledChange(bool) This method can be reimplemented in a derived class. [virtual] void enterEvent(QEvent ptr arg1)Description: Virtual method void QToolBar::enterEvent(QEvent *) This method can be reimplemented in a derived class. [virtual] bool event(QEvent ptr event)Description: Virtual method bool QToolBar::event(QEvent *event) This method can be reimplemented in a derived class. [virtual] bool eventFilter(QObject ptr arg1,QEvent ptr arg2)Description: Virtual method bool QToolBar::eventFilter(QObject *, QEvent *) This method can be reimplemented in a derived class. [const] bool floatableDescription: Method bool QToolBar::isFloatable() Python specific notes:The object exposes a readable attribute 'floatable'. This is the getter. void floatable=(bool floatable)Description: Method void QToolBar::setFloatable(bool floatable) Python specific notes:The object exposes a writable attribute 'floatable'. This is the setter. [const] bool floatingDescription: Method bool QToolBar::isFloating() Python specific notes:The object exposes a readable attribute 'floating'. This is the getter. [virtual] void focusInEvent(QFocusEvent ptr arg1)Description: Virtual method void QToolBar::focusInEvent(QFocusEvent *) This method can be reimplemented in a derived class. bool focusNextChildDescription: Method bool QToolBar::focusNextChild() This method is protected and can only be called from inside a derived class. [virtual] bool focusNextPrevChild(bool next)Description: Virtual method bool QToolBar::focusNextPrevChild(bool next) This method can be reimplemented in a derived class. [virtual] void focusOutEvent(QFocusEvent ptr arg1)Description: Virtual method void QToolBar::focusOutEvent(QFocusEvent *) This method can be reimplemented in a derived class. bool focusPreviousChildDescription: Method bool QToolBar::focusPreviousChild() This method is protected and can only be called from inside a derived class. [virtual] void fontChange(const QFont arg1)Description: Virtual method void QToolBar::fontChange(const QFont &) This method can be reimplemented in a derived class. [virtual,const] int heightForWidth(int arg1)Description: Virtual method int QToolBar::heightForWidth(int) This method can be reimplemented in a derived class. [virtual] void hideEvent(QHideEvent ptr arg1)Description: Virtual method void QToolBar::hideEvent(QHideEvent *) This method can be reimplemented in a derived class. [const] QSize iconSizeDescription: Method QSize QToolBar::iconSize() Python specific notes:The object exposes a readable attribute 'iconSize'. This is the getter. void iconSize=(const QSize iconSize)Description: Method void QToolBar::setIconSize(const QSize &iconSize) Python specific notes:The object exposes a writable attribute 'iconSize'. This is the setter. [event] void iconSizeChanged(const QSize iconSize)Description: Signal declaration for QToolBar::iconSizeChanged(const QSize &iconSize) You can bind a procedure to this signal. [const] void initStyleOption(QStyleOptionToolBar ptr option)Description: Method void QToolBar::initStyleOption(QStyleOptionToolBar *option) This method is protected and can only be called from inside a derived class. [virtual] void inputMethodEvent(QInputMethodEvent ptr arg1)Description: Virtual method void QToolBar::inputMethodEvent(QInputMethodEvent *) This method can be reimplemented in a derived class. [virtual,const] QVariant inputMethodQuery(const Qt_InputMethodQuery arg1)Description: Virtual method QVariant QToolBar::inputMethodQuery(Qt::InputMethodQuery) This method can be reimplemented in a derived class. QAction ptr insertSeparator(QAction ptr before)Description: Method QAction *QToolBar::insertSeparator(QAction *before) QAction ptr insertWidget(QAction ptr before,QWidget ptr widget)Description: Method QAction *QToolBar::insertWidget(QAction *before, QWidget *widget) [const] bool isAreaAllowed?(const Qt_ToolBarArea area)Description: Method bool QToolBar::isAreaAllowed(Qt::ToolBarArea area) [const] bool isFloatable?Description: Method bool QToolBar::isFloatable() Python specific notes:The object exposes a readable attribute 'floatable'. This is the getter. [const] bool isFloating?Description: Method bool QToolBar::isFloating() Python specific notes:The object exposes a readable attribute 'floating'. This is the getter. [const] bool isMovable?Description: Method bool QToolBar::isMovable() Python specific notes:The object exposes a readable attribute 'movable'. This is the getter. [const] bool is_const_object?Description: Returns a value indicating whether the reference is a const reference Use of this method is deprecated. Use _is_const_object? instead [virtual] void keyPressEvent(QKeyEvent ptr arg1)Description: Virtual method void QToolBar::keyPressEvent(QKeyEvent *) This method can be reimplemented in a derived class. [virtual] void keyReleaseEvent(QKeyEvent ptr arg1)Description: Virtual method void QToolBar::keyReleaseEvent(QKeyEvent *) This method can be reimplemented in a derived class. [virtual] void languageChangeDescription: Virtual method void QToolBar::languageChange() This method can be reimplemented in a derived class. [virtual] void leaveEvent(QEvent ptr arg1)Description: Virtual method void QToolBar::leaveEvent(QEvent *) This method can be reimplemented in a derived class. [virtual,const] int metric(const QPaintDevice_PaintDeviceMetric arg1)Description: Virtual method int QToolBar::metric(QPaintDevice::PaintDeviceMetric) This method can be reimplemented in a derived class. [virtual,const] QSize minimumSizeHintDescription: Virtual method QSize QToolBar::minimumSizeHint() This method can be reimplemented in a derived class. [virtual] void mouseDoubleClickEvent(QMouseEvent ptr arg1)Description: Virtual method void QToolBar::mouseDoubleClickEvent(QMouseEvent *) This method can be reimplemented in a derived class. [virtual] void mouseMoveEvent(QMouseEvent ptr arg1)Description: Virtual method void QToolBar::mouseMoveEvent(QMouseEvent *) This method can be reimplemented in a derived class. [virtual] void mousePressEvent(QMouseEvent ptr arg1)Description: Virtual method void QToolBar::mousePressEvent(QMouseEvent *) This method can be reimplemented in a derived class. [virtual] void mouseReleaseEvent(QMouseEvent ptr arg1)Description: Virtual method void QToolBar::mouseReleaseEvent(QMouseEvent *) This method can be reimplemented in a derived class. [const] bool movableDescription: Method bool QToolBar::isMovable() Python specific notes:The object exposes a readable attribute 'movable'. This is the getter. void movable=(bool movable)Description: Method void QToolBar::setMovable(bool movable) Python specific notes:The object exposes a writable attribute 'movable'. This is the setter. [event] void movableChanged(bool movable)Description: Signal declaration for QToolBar::movableChanged(bool movable) You can bind a procedure to this signal. [virtual] void moveEvent(QMoveEvent ptr arg1)Description: Virtual method void QToolBar::moveEvent(QMoveEvent *) This method can be reimplemented in a derived class. [static] new QToolBar new(string title,QWidget ptr parent = 0)Description: Constructor QToolBar::QToolBar(const QString &title, QWidget *parent) This method creates an object of class QToolBar. Python specific notes:This method is the default initializer of the object [static] new QToolBar new(QWidget ptr parent = 0)Description: Constructor QToolBar::QToolBar(QWidget *parent) This method creates an object of class QToolBar. Python specific notes:This method is the default initializer of the object [const] Qt_Orientation orientationDescription: Method Qt::Orientation QToolBar::orientation() Python specific notes:The object exposes a readable attribute 'orientation'. This is the getter. void orientation=(const Qt_Orientation orientation)Description: Method void QToolBar::setOrientation(Qt::Orientation orientation) Python specific notes:The object exposes a writable attribute 'orientation'. This is the setter. [event] void orientationChanged(const Qt_Orientation orientation)Description: Signal declaration for QToolBar::orientationChanged(Qt::Orientation orientation) You can bind a procedure to this signal. [virtual,const] QPaintEngine ptr paintEngineDescription: Virtual method QPaintEngine *QToolBar::paintEngine() This method can be reimplemented in a derived class. [virtual] void paintEvent(QPaintEvent ptr event)Description: Virtual method void QToolBar::paintEvent(QPaintEvent *event) This method can be reimplemented in a derived class. [virtual] void paletteChange(const QPalette arg1)Description: Virtual method void QToolBar::paletteChange(const QPalette &) This method can be reimplemented in a derived class. void qt_create(unsigned long arg1 = 0,bool initializeWindow = true,bool destroyOldWindow = true)Description: Method void QToolBar::create(WId, bool initializeWindow, bool destroyOldWindow) This method is protected and can only be called from inside a derived class. void qt_destroy(bool destroyWindow = true,bool destroySubWindows = true)Description: Method void QToolBar::destroy(bool destroyWindow, bool destroySubWindows) This method is protected and can only be called from inside a derived class. [const] int receivers(string signal)Description: Method int QToolBar::receivers(const char *signal) This method is protected and can only be called from inside a derived class. void resetInputContextDescription: Method void QToolBar::resetInputContext() This method is protected and can only be called from inside a derived class. [virtual] void resizeEvent(QResizeEvent ptr event)Description: Virtual method void QToolBar::resizeEvent(QResizeEvent *event) This method can be reimplemented in a derived class. [const] QObject ptr senderDescription: Method QObject *QToolBar::sender() This method is protected and can only be called from inside a derived class. void setAllowedAreas(const Qt_QFlags_ToolBarArea areas)Description: Method void QToolBar::setAllowedAreas(QFlags<Qt::ToolBarArea> areas) Python specific notes:The object exposes a writable attribute 'allowedAreas'. This is the setter. void setFloatable(bool floatable)Description: Method void QToolBar::setFloatable(bool floatable) Python specific notes:The object exposes a writable attribute 'floatable'. This is the setter. void setIconSize(const QSize iconSize)Description: Method void QToolBar::setIconSize(const QSize &iconSize) Python specific notes:The object exposes a writable attribute 'iconSize'. This is the setter. void setMovable(bool movable)Description: Method void QToolBar::setMovable(bool movable) Python specific notes:The object exposes a writable attribute 'movable'. This is the setter. void setOrientation(const Qt_Orientation orientation)Description: Method void QToolBar::setOrientation(Qt::Orientation orientation) Python specific notes:The object exposes a writable attribute 'orientation'. This is the setter. void setToolButtonStyle(const Qt_ToolButtonStyle toolButtonStyle)Description: Method void QToolBar::setToolButtonStyle(Qt::ToolButtonStyle toolButtonStyle) Python specific notes:The object exposes a writable attribute 'toolButtonStyle'. This is the setter. [virtual] void setVisible(bool visible)Description: Virtual method void QToolBar::setVisible(bool visible) This method can be reimplemented in a derived class. [virtual] void showEvent(QShowEvent ptr arg1)Description: Virtual method void QToolBar::showEvent(QShowEvent *) This method can be reimplemented in a derived class. [virtual,const] QSize sizeHintDescription: Virtual method QSize QToolBar::sizeHint() This method can be reimplemented in a derived class. [static] QMetaObject staticMetaObjectDescription: Obtains the static MetaObject for this class. [virtual] void styleChange(QStyle arg1)Description: Virtual method void QToolBar::styleChange(QStyle &) This method can be reimplemented in a derived class. [virtual] void tabletEvent(QTabletEvent ptr arg1)Description: Virtual method void QToolBar::tabletEvent(QTabletEvent *) This method can be reimplemented in a derived class. [virtual] void timerEvent(QTimerEvent ptr arg1)Description: Virtual method void QToolBar::timerEvent(QTimerEvent *) This method can be reimplemented in a derived class. [const] QAction ptr toggleViewActionDescription: Method QAction *QToolBar::toggleViewAction() [const] Qt_ToolButtonStyle toolButtonStyleDescription: Method Qt::ToolButtonStyle QToolBar::toolButtonStyle() Python specific notes:The object exposes a readable attribute 'toolButtonStyle'. This is the getter. void toolButtonStyle=(const Qt_ToolButtonStyle toolButtonStyle)Description: Method void QToolBar::setToolButtonStyle(Qt::ToolButtonStyle toolButtonStyle) Python specific notes:The object exposes a writable attribute 'toolButtonStyle'. This is the setter. [event] void toolButtonStyleChanged(const Qt_ToolButtonStyle toolButtonStyle)Description: Signal declaration for QToolBar::toolButtonStyleChanged(Qt::ToolButtonStyle toolButtonStyle) You can bind a procedure to this signal. [event] void topLevelChanged(bool topLevel)Description: Signal declaration for QToolBar::topLevelChanged(bool topLevel) You can bind a procedure to this signal. [static] string tr(string s,string c = 0)Description: Static method QString QToolBar::tr(const char *s, const char *c) This method is static and can be called without an instance. [static] string tr(string s,string c,int n)Description: Static method QString QToolBar::tr(const char *s, const char *c, int n) This method is static and can be called without an instance. [static] string trUtf8(string s,string c = 0)Description: Static method QString QToolBar::trUtf8(const char *s, const char *c) This method is static and can be called without an instance. [static] string trUtf8(string s,string c,int n)Description: Static method QString QToolBar::trUtf8(const char *s, const char *c, int n) This method is static and can be called without an instance. void updateMicroFocusDescription: Method void QToolBar::updateMicroFocus() This method is protected and can only be called from inside a derived class. [virtual] void wheelEvent(QWheelEvent ptr arg1)Description: Virtual method void QToolBar::wheelEvent(QWheelEvent *) This method can be reimplemented in a derived class. [const] QWidget ptr widgetForAction(QAction ptr action)Description: Method QWidget *QToolBar::widgetForAction(QAction *action) [virtual] void windowActivationChange(bool arg1)Description: Virtual method void QToolBar::windowActivationChange(bool) This method can be reimplemented in a derived class. |