API reference - Class QTabBarNotation used in Ruby API documentation Description: Binding of QTabBar Class hierarchy: QTabBar » QWidget » QObject Sub-classes: ButtonPosition, SelectionBehavior, Shape
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 description[static,const] new QTabBar_ButtonPosition ptr LeftSideDescription: Enum constant QTabBar::LeftSide [static,const] new QTabBar_ButtonPosition ptr RightSideDescription: Enum constant QTabBar::RightSide [static,const] new QTabBar_Shape ptr RoundedEastDescription: Enum constant QTabBar::RoundedEast [static,const] new QTabBar_Shape ptr RoundedNorthDescription: Enum constant QTabBar::RoundedNorth [static,const] new QTabBar_Shape ptr RoundedSouthDescription: Enum constant QTabBar::RoundedSouth [static,const] new QTabBar_Shape ptr RoundedWestDescription: Enum constant QTabBar::RoundedWest [static,const] new QTabBar_SelectionBehavior ptr SelectLeftTabDescription: Enum constant QTabBar::SelectLeftTab [static,const] new QTabBar_SelectionBehavior ptr SelectPreviousTabDescription: Enum constant QTabBar::SelectPreviousTab [static,const] new QTabBar_SelectionBehavior ptr SelectRightTabDescription: Enum constant QTabBar::SelectRightTab [static,const] new QTabBar_Shape ptr TriangularEastDescription: Enum constant QTabBar::TriangularEast [static,const] new QTabBar_Shape ptr TriangularNorthDescription: Enum constant QTabBar::TriangularNorth [static,const] new QTabBar_Shape ptr TriangularSouthDescription: Enum constant QTabBar::TriangularSouth [static,const] new QTabBar_Shape ptr TriangularWestDescription: Enum constant QTabBar::TriangularWest void _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. [virtual] void actionEvent(QActionEvent ptr arg1)Description: Virtual method void QTabBar::actionEvent(QActionEvent *) This method can be reimplemented in a derived class. int addTab(string text)Description: Method int QTabBar::addTab(const QString &text) int addTab(const QIcon icon,string text)Description: Method int QTabBar::addTab(const QIcon &icon, const QString &text) [virtual] void changeEvent(QEvent ptr arg1)Description: Virtual method void QTabBar::changeEvent(QEvent *) This method can be reimplemented in a derived class. [virtual] void childEvent(QChildEvent ptr arg1)Description: Virtual method void QTabBar::childEvent(QChildEvent *) This method can be reimplemented in a derived class. [virtual] void closeEvent(QCloseEvent ptr arg1)Description: Virtual method void QTabBar::closeEvent(QCloseEvent *) This method can be reimplemented in a derived class. [virtual] void contextMenuEvent(QContextMenuEvent ptr arg1)Description: Virtual method void QTabBar::contextMenuEvent(QContextMenuEvent *) This method can be reimplemented in a derived class. [const] int countDescription: Method int QTabBar::count() Python specific notes:The object exposes a readable attribute 'count'. This is the getter. void createDescription: Ensures the C++ object is created Use of this method is deprecated. Use _create instead [event] void currentChanged(int index)Description: Signal declaration for QTabBar::currentChanged(int index) You can bind a procedure to this signal. [const] int currentIndexDescription: Method int QTabBar::currentIndex() Python specific notes:The object exposes a readable attribute 'currentIndex'. This is the getter. void currentIndex=(int index)Description: Method void QTabBar::setCurrentIndex(int index) Python specific notes:The object exposes a writable attribute 'currentIndex'. This is the setter. [event] void customContextMenuRequested(const QPoint pos)Description: Signal declaration for QTabBar::customContextMenuRequested(const QPoint &pos) You can bind a procedure to this signal. [virtual] void customEvent(QEvent ptr arg1)Description: Virtual method void QTabBar::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 QTabBar::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 QTabBar::disconnectNotify(const char *signal) This method can be reimplemented in a derived class. [const] bool documentModeDescription: Method bool QTabBar::documentMode() Python specific notes:The object exposes a readable attribute 'documentMode'. This is the getter. void documentMode=(bool set)Description: Method void QTabBar::setDocumentMode(bool set) Python specific notes:The object exposes a writable attribute 'documentMode'. This is the setter. [virtual] void dragEnterEvent(QDragEnterEvent ptr arg1)Description: Virtual method void QTabBar::dragEnterEvent(QDragEnterEvent *) This method can be reimplemented in a derived class. [virtual] void dragLeaveEvent(QDragLeaveEvent ptr arg1)Description: Virtual method void QTabBar::dragLeaveEvent(QDragLeaveEvent *) This method can be reimplemented in a derived class. [virtual] void dragMoveEvent(QDragMoveEvent ptr arg1)Description: Virtual method void QTabBar::dragMoveEvent(QDragMoveEvent *) This method can be reimplemented in a derived class. [const] bool drawBaseDescription: Method bool QTabBar::drawBase() Python specific notes:The object exposes a readable attribute 'drawBase'. This is the getter. void drawBase=(bool drawTheBase)Description: Method void QTabBar::setDrawBase(bool drawTheBase) Python specific notes:The object exposes a writable attribute 'drawBase'. This is the setter. [virtual] void dropEvent(QDropEvent ptr arg1)Description: Virtual method void QTabBar::dropEvent(QDropEvent *) This method can be reimplemented in a derived class. [const] Qt_TextElideMode elideModeDescription: Method Qt::TextElideMode QTabBar::elideMode() Python specific notes:The object exposes a readable attribute 'elideMode'. This is the getter. void elideMode=(const Qt_TextElideMode arg1)Description: Method void QTabBar::setElideMode(Qt::TextElideMode) Python specific notes:The object exposes a writable attribute 'elideMode'. This is the setter. [virtual] void enabledChange(bool arg1)Description: Virtual method void QTabBar::enabledChange(bool) This method can be reimplemented in a derived class. [virtual] void enterEvent(QEvent ptr arg1)Description: Virtual method void QTabBar::enterEvent(QEvent *) This method can be reimplemented in a derived class. [virtual] bool event(QEvent ptr arg1)Description: Virtual method bool QTabBar::event(QEvent *) This method can be reimplemented in a derived class. [virtual] bool eventFilter(QObject ptr arg1,QEvent ptr arg2)Description: Virtual method bool QTabBar::eventFilter(QObject *, QEvent *) This method can be reimplemented in a derived class. [const] bool expandingDescription: Method bool QTabBar::expanding() Python specific notes:The object exposes a readable attribute 'expanding'. This is the getter. void expanding=(bool enabled)Description: Method void QTabBar::setExpanding(bool enabled) Python specific notes:The object exposes a writable attribute 'expanding'. This is the setter. [virtual] void focusInEvent(QFocusEvent ptr arg1)Description: Virtual method void QTabBar::focusInEvent(QFocusEvent *) This method can be reimplemented in a derived class. bool focusNextChildDescription: Method bool QTabBar::focusNextChild() This method is protected and can only be called from inside a derived class. [virtual] bool focusNextPrevChild(bool next)Description: Virtual method bool QTabBar::focusNextPrevChild(bool next) This method can be reimplemented in a derived class. [virtual] void focusOutEvent(QFocusEvent ptr arg1)Description: Virtual method void QTabBar::focusOutEvent(QFocusEvent *) This method can be reimplemented in a derived class. bool focusPreviousChildDescription: Method bool QTabBar::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 QTabBar::fontChange(const QFont &) This method can be reimplemented in a derived class. [virtual,const] int heightForWidth(int arg1)Description: Virtual method int QTabBar::heightForWidth(int) This method can be reimplemented in a derived class. [virtual] void hideEvent(QHideEvent ptr arg1)Description: Virtual method void QTabBar::hideEvent(QHideEvent *) This method can be reimplemented in a derived class. [const] QSize iconSizeDescription: Method QSize QTabBar::iconSize() Python specific notes:The object exposes a readable attribute 'iconSize'. This is the getter. void iconSize=(const QSize size)Description: Method void QTabBar::setIconSize(const QSize &size) Python specific notes:The object exposes a writable attribute 'iconSize'. This is the setter. [const] void initStyleOption(QStyleOptionTab ptr option,int tabIndex)Description: Method void QTabBar::initStyleOption(QStyleOptionTab *option, int tabIndex) This method is protected and can only be called from inside a derived class. [virtual] void inputMethodEvent(QInputMethodEvent ptr arg1)Description: Virtual method void QTabBar::inputMethodEvent(QInputMethodEvent *) This method can be reimplemented in a derived class. [virtual,const] QVariant inputMethodQuery(const Qt_InputMethodQuery arg1)Description: Virtual method QVariant QTabBar::inputMethodQuery(Qt::InputMethodQuery) This method can be reimplemented in a derived class. int insertTab(int index,string text)Description: Method int QTabBar::insertTab(int index, const QString &text) int insertTab(int index,const QIcon icon,string text)Description: Method int QTabBar::insertTab(int index, const QIcon &icon, const QString &text) [const] bool isMovable?Description: Method bool QTabBar::isMovable() Python specific notes:The object exposes a readable attribute 'movable'. This is the getter. [const] bool isTabEnabled?(int index)Description: Method bool QTabBar::isTabEnabled(int index) [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 QTabBar::keyPressEvent(QKeyEvent *) This method can be reimplemented in a derived class. [virtual] void keyReleaseEvent(QKeyEvent ptr arg1)Description: Virtual method void QTabBar::keyReleaseEvent(QKeyEvent *) This method can be reimplemented in a derived class. [virtual] void languageChangeDescription: Virtual method void QTabBar::languageChange() This method can be reimplemented in a derived class. [virtual] void leaveEvent(QEvent ptr arg1)Description: Virtual method void QTabBar::leaveEvent(QEvent *) This method can be reimplemented in a derived class. [virtual,const] int metric(const QPaintDevice_PaintDeviceMetric arg1)Description: Virtual method int QTabBar::metric(QPaintDevice::PaintDeviceMetric) This method can be reimplemented in a derived class. [virtual,const] QSize minimumSizeHintDescription: Virtual method QSize QTabBar::minimumSizeHint() This method can be reimplemented in a derived class. [virtual] void mouseDoubleClickEvent(QMouseEvent ptr arg1)Description: Virtual method void QTabBar::mouseDoubleClickEvent(QMouseEvent *) This method can be reimplemented in a derived class. [virtual] void mouseMoveEvent(QMouseEvent ptr arg1)Description: Virtual method void QTabBar::mouseMoveEvent(QMouseEvent *) This method can be reimplemented in a derived class. [virtual] void mousePressEvent(QMouseEvent ptr arg1)Description: Virtual method void QTabBar::mousePressEvent(QMouseEvent *) This method can be reimplemented in a derived class. [virtual] void mouseReleaseEvent(QMouseEvent ptr arg1)Description: Virtual method void QTabBar::mouseReleaseEvent(QMouseEvent *) This method can be reimplemented in a derived class. [const] bool movableDescription: Method bool QTabBar::isMovable() Python specific notes:The object exposes a readable attribute 'movable'. This is the getter. void movable=(bool movable)Description: Method void QTabBar::setMovable(bool movable) Python specific notes:The object exposes a writable attribute 'movable'. This is the setter. [virtual] void moveEvent(QMoveEvent ptr arg1)Description: Virtual method void QTabBar::moveEvent(QMoveEvent *) This method can be reimplemented in a derived class. void moveTab(int from,int to)Description: Method void QTabBar::moveTab(int from, int to) [static] new QTabBar new(QWidget ptr parent = 0)Description: Constructor QTabBar::QTabBar(QWidget *parent) This method creates an object of class QTabBar. Python specific notes:This method is the default initializer of the object [virtual,const] QPaintEngine ptr paintEngineDescription: Virtual method QPaintEngine *QTabBar::paintEngine() This method can be reimplemented in a derived class. [virtual] void paintEvent(QPaintEvent ptr arg1)Description: Virtual method void QTabBar::paintEvent(QPaintEvent *) This method can be reimplemented in a derived class. [virtual] void paletteChange(const QPalette arg1)Description: Virtual method void QTabBar::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 QTabBar::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 QTabBar::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 QTabBar::receivers(const char *signal) This method is protected and can only be called from inside a derived class. void removeTab(int index)Description: Method void QTabBar::removeTab(int index) void resetInputContextDescription: Method void QTabBar::resetInputContext() This method is protected and can only be called from inside a derived class. [virtual] void resizeEvent(QResizeEvent ptr arg1)Description: Virtual method void QTabBar::resizeEvent(QResizeEvent *) This method can be reimplemented in a derived class. [const] QTabBar_SelectionBehavior selectionBehaviorOnRemoveDescription: Method QTabBar::SelectionBehavior QTabBar::selectionBehaviorOnRemove() Python specific notes:The object exposes a readable attribute 'selectionBehaviorOnRemove'. This is the getter. void selectionBehaviorOnRemove=(const QTabBar_SelectionBehavior behavior)Description: Method void QTabBar::setSelectionBehaviorOnRemove(QTabBar::SelectionBehavior behavior) Python specific notes:The object exposes a writable attribute 'selectionBehaviorOnRemove'. This is the setter. [const] QObject ptr senderDescription: Method QObject *QTabBar::sender() This method is protected and can only be called from inside a derived class. void setCurrentIndex(int index)Description: Method void QTabBar::setCurrentIndex(int index) Python specific notes:The object exposes a writable attribute 'currentIndex'. This is the setter. void setDocumentMode(bool set)Description: Method void QTabBar::setDocumentMode(bool set) Python specific notes:The object exposes a writable attribute 'documentMode'. This is the setter. void setDrawBase(bool drawTheBase)Description: Method void QTabBar::setDrawBase(bool drawTheBase) Python specific notes:The object exposes a writable attribute 'drawBase'. This is the setter. void setElideMode(const Qt_TextElideMode arg1)Description: Method void QTabBar::setElideMode(Qt::TextElideMode) Python specific notes:The object exposes a writable attribute 'elideMode'. This is the setter. void setExpanding(bool enabled)Description: Method void QTabBar::setExpanding(bool enabled) Python specific notes:The object exposes a writable attribute 'expanding'. This is the setter. void setIconSize(const QSize size)Description: Method void QTabBar::setIconSize(const QSize &size) Python specific notes:The object exposes a writable attribute 'iconSize'. This is the setter. void setMovable(bool movable)Description: Method void QTabBar::setMovable(bool movable) Python specific notes:The object exposes a writable attribute 'movable'. This is the setter. void setSelectionBehaviorOnRemove(const QTabBar_SelectionBehavior behavior)Description: Method void QTabBar::setSelectionBehaviorOnRemove(QTabBar::SelectionBehavior behavior) Python specific notes:The object exposes a writable attribute 'selectionBehaviorOnRemove'. This is the setter. void setShape(const QTabBar_Shape shape)Description: Method void QTabBar::setShape(QTabBar::Shape shape) Python specific notes:The object exposes a writable attribute 'shape'. This is the setter. void setTabButton(int index,const QTabBar_ButtonPosition position,QWidget ptr widget)Description: Method void QTabBar::setTabButton(int index, QTabBar::ButtonPosition position, QWidget *widget) void setTabData(int index,const QVariant data)Description: Method void QTabBar::setTabData(int index, const QVariant &data) void setTabEnabled(int index,bool arg2)Description: Method void QTabBar::setTabEnabled(int index, bool) void setTabIcon(int index,const QIcon icon)Description: Method void QTabBar::setTabIcon(int index, const QIcon &icon) void setTabText(int index,string text)Description: Method void QTabBar::setTabText(int index, const QString &text) void setTabTextColor(int index,const QColor color)Description: Method void QTabBar::setTabTextColor(int index, const QColor &color) void setTabToolTip(int index,string tip)Description: Method void QTabBar::setTabToolTip(int index, const QString &tip) void setTabWhatsThis(int index,string text)Description: Method void QTabBar::setTabWhatsThis(int index, const QString &text) void setTabsClosable(bool closable)Description: Method void QTabBar::setTabsClosable(bool closable) Python specific notes:The object exposes a writable attribute 'tabsClosable'. This is the setter. void setUsesScrollButtons(bool useButtons)Description: Method void QTabBar::setUsesScrollButtons(bool useButtons) Python specific notes:The object exposes a writable attribute 'usesScrollButtons'. This is the setter. [virtual] void setVisible(bool visible)Description: Virtual method void QTabBar::setVisible(bool visible) This method can be reimplemented in a derived class. [const] QTabBar_Shape shapeDescription: Method QTabBar::Shape QTabBar::shape() Python specific notes:The object exposes a readable attribute 'shape'. This is the getter. void shape=(const QTabBar_Shape shape)Description: Method void QTabBar::setShape(QTabBar::Shape shape) Python specific notes:The object exposes a writable attribute 'shape'. This is the setter. [virtual] void showEvent(QShowEvent ptr arg1)Description: Virtual method void QTabBar::showEvent(QShowEvent *) This method can be reimplemented in a derived class. [virtual,const] QSize sizeHintDescription: Virtual method QSize QTabBar::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 QTabBar::styleChange(QStyle &) This method can be reimplemented in a derived class. [const] int tabAt(const QPoint pos)Description: Method int QTabBar::tabAt(const QPoint &pos) [const] QWidget ptr tabButton(int index,const QTabBar_ButtonPosition position)Description: Method QWidget *QTabBar::tabButton(int index, QTabBar::ButtonPosition position) [event] void tabCloseRequested(int index)Description: Signal declaration for QTabBar::tabCloseRequested(int index) You can bind a procedure to this signal. [const] QVariant tabData(int index)Description: Method QVariant QTabBar::tabData(int index) [const] QIcon tabIcon(int index)Description: Method QIcon QTabBar::tabIcon(int index) [virtual] void tabInserted(int index)Description: Virtual method void QTabBar::tabInserted(int index) This method can be reimplemented in a derived class. [virtual] void tabLayoutChangeDescription: Virtual method void QTabBar::tabLayoutChange() This method can be reimplemented in a derived class. [event] void tabMoved(int from,int to)Description: Signal declaration for QTabBar::tabMoved(int from, int to) You can bind a procedure to this signal. [const] QRect tabRect(int index)Description: Method QRect QTabBar::tabRect(int index) [virtual] void tabRemoved(int index)Description: Virtual method void QTabBar::tabRemoved(int index) This method can be reimplemented in a derived class. [virtual,const] QSize tabSizeHint(int index)Description: Virtual method QSize QTabBar::tabSizeHint(int index) This method can be reimplemented in a derived class. [const] string tabText(int index)Description: Method QString QTabBar::tabText(int index) [const] QColor tabTextColor(int index)Description: Method QColor QTabBar::tabTextColor(int index) [const] string tabToolTip(int index)Description: Method QString QTabBar::tabToolTip(int index) [const] string tabWhatsThis(int index)Description: Method QString QTabBar::tabWhatsThis(int index) [virtual] void tabletEvent(QTabletEvent ptr arg1)Description: Virtual method void QTabBar::tabletEvent(QTabletEvent *) This method can be reimplemented in a derived class. [const] bool tabsClosableDescription: Method bool QTabBar::tabsClosable() Python specific notes:The object exposes a readable attribute 'tabsClosable'. This is the getter. void tabsClosable=(bool closable)Description: Method void QTabBar::setTabsClosable(bool closable) Python specific notes:The object exposes a writable attribute 'tabsClosable'. This is the setter. [virtual] void timerEvent(QTimerEvent ptr arg1)Description: Virtual method void QTabBar::timerEvent(QTimerEvent *) This method can be reimplemented in a derived class. [static] string tr(string s,string c = 0)Description: Static method QString QTabBar::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 QTabBar::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 QTabBar::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 QTabBar::trUtf8(const char *s, const char *c, int n) This method is static and can be called without an instance. void updateMicroFocusDescription: Method void QTabBar::updateMicroFocus() This method is protected and can only be called from inside a derived class. [const] bool usesScrollButtonsDescription: Method bool QTabBar::usesScrollButtons() Python specific notes:The object exposes a readable attribute 'usesScrollButtons'. This is the getter. void usesScrollButtons=(bool useButtons)Description: Method void QTabBar::setUsesScrollButtons(bool useButtons) Python specific notes:The object exposes a writable attribute 'usesScrollButtons'. This is the setter. [virtual] void wheelEvent(QWheelEvent ptr event)Description: Virtual method void QTabBar::wheelEvent(QWheelEvent *event) This method can be reimplemented in a derived class. [virtual] void windowActivationChange(bool arg1)Description: Virtual method void QTabBar::windowActivationChange(bool) This method can be reimplemented in a derived class. |