Ring Documentation, Release 1.9
• void setAutoRepeatInterval(int)
• void setCheckable(bool)
• void setDown(bool)
• void setIcon(QIcon)
• void setShortcut(QKeySequence)
• void setText(QString)
• QKeySequence shortcut(void)
• QString text(void)
• void animateClick(int msec)
• void click(void)
• void setChecked(bool)
• void setIconSize(QSize)
• void toggle(void)
87.3 QAbstractItemView Class
C++ Reference : http://doc.qt.io/qt-5/QAbstractItemView.html
Parameters : QWidget *parent
Parent Class : QAbstractScrollArea
• bool alternatingRowColors(void)
• int autoScrollMargin(void)
• void closePersistentEditor(QModelIndex)
• QModelIndex currentIndex(void)
• int defaultDropAction(void)
• int dragDropMode(void)
• bool dragDropOverwriteMode(void)
• bool dragEnabled(void)
• int editTriggers(void)
• bool hasAutoScroll(void)
• int horizontalScrollMode(void)
• QSize iconSize(void)
• QModelIndex indexAt(QPoint)
• QWidget *indexWidget(QModelIndex)
• QAbstractItemDelegate *itemDelegate(QModelIndex)
• QAbstractItemDelegate *itemDelegateForColumn(int column)
• QAbstractItemDelegate *itemDelegateForRow(int row)
87.3. QAbstractItemView Class 979
Ring Documentation, Release 1.9
• void keyboardSearch(QString)
• QAbstractItemModel *model(void)
• void openPersistentEditor(QModelIndex)
• QModelIndex rootIndex(void)
• void scrollTo(QModelIndex,QAbstractItemView::ScrollHint)
• int selectionBehavior(void)
• int selectionMode(void)
• QItemSelectionModel *selectionModel(void)
• void setAlternatingRowColors(bool enable)
• void setAutoScroll(bool enable)
• void setAutoScrollMargin(int margin)
• void setDefaultDropAction(Qt::DropAction dropAction)
• void setDragDropMode(QAbstractItemView::DragDropMode behavior)
• void setDragDropOverwriteMode(bool overwrite)
• void setDragEnabled(bool enable)
• void setDropIndicatorShown(bool enable)
• void setEditTriggers(QAbstractItemView::EditTrigger triggers)
• void setHorizontalScrollMode(QAbstractItemView::ScrollMode mode)
• void setIconSize(QSize)
• void setIndexWidget(QModelIndex, QWidget *widget)
• void setItemDelegate(QAbstractItemDelegate *delegate)
• void setItemDelegateForColumn(int column, QAbstractItemDelegate *delegate)
• void setItemDelegateForRow(int row, QAbstractItemDelegate *delegate)
• void setModel(QAbstractItemModel *model)
• void setSelectionBehavior(QAbstractItemView::SelectionBehavior behavior)
• void setSelectionMode(QAbstractItemView::SelectionMode mode)
• void setSelectionModel(QItemSelectionModel *selectionModel)
• void setTabKeyNavigation(bool enable)
• void setTextElideMode(Qt::TextElideMode mode)
• void setVerticalScrollMode(QAbstractItemView::ScrollMode mode)
• bool showDropIndicator(void)
• int sizeHintForColumn(int column)
• QSize sizeHintForIndex(QModelIndex)
• int sizeHintForRow(int row)
• bool tabKeyNavigation(void)
• int textElideMode(void)
87.3. QAbstractItemView Class 980
Ring Documentation, Release 1.9
• int verticalScrollMode(void)
• QRect visualRect(QModelIndex)
• void clearSelection(void)
• void edit(QModelIndex)
• void scrollToBottom(void)
• void scrollToTop(void)
• void setCurrentIndex(QModelIndex)
• void update(QModelIndex)
87.4 QAbstractPrintDialog Class
C++ Reference : http://doc.qt.io/qt-5/QAbstractPrintDialog.html
Parameters : QPrinter *,QWidget *
Parent Class : QDialog
• int fromPage(void)
• int maxPage(void)
• int minPage(void)
• QAbstractPrintDialog::PrintRange printRange(void)
• QPrinter * printer(void)
• void setFromTo(int from, int to)
• void setMinMax(int min, int max)
• void setOptionTabs(QList<QWidget *> tabs)
• void setPrintRange(QAbstractPrintDialog::PrintRange range)
• int toPage(void)
87.5 QAbstractScrollArea Class
C++ Reference : http://doc.qt.io/qt-5/QAbstractScrollArea.html
Parameters : QWidget *parent
Parent Class : QFrame
• void addScrollBarWidget(QWidget *widget, Qt::AlignmentFlag alignment)
• QWidget *cornerWidget(void)
• QScrollBar *horizontalScrollBar(void)
• int horizontalScrollBarPolicy(void)
• QSize maximumViewportSize(void)
• QWidgetList scrollBarWidgets(Qt::AlignmentFlag)
• void setCornerWidget(QWidget *widget)
87.4. QAbstractPrintDialog Class 981
Ring Documentation, Release 1.9
• void setHorizontalScrollBar(QScrollBar *scrollBar)
• void setHorizontalScrollBarPolicy(Qt::ScrollBarPolicy)
• void setVerticalScrollBar(QScrollBar *scrollBar)
• void setVerticalScrollBarPolicy(Qt::ScrollBarPolicy)
• void setViewport(QWidget *widget)
• QScrollBar *verticalScrollBar(void)
• int verticalScrollBarPolicy(void)
• QWidget *viewport(void)
87.6 QAbstractSlider Class
C++ Reference : http://doc.qt.io/qt-5/QAbstractSlider.html
Parameters : QWidget *parent
Parent Class : QWidget
• bool hasTracking(void)
• bool invertedAppearance(void)
• bool invertedControls(void)
• bool isSliderDown(void)
• int maximum(void)
• int minimum(void)
• int orientation(void)
• int pageStep(void)
• void setInvertedAppearance(bool)
• void setInvertedControls(bool)
• void setMaximum(int)
• void setMinimum(int)
• void setPageStep(int)
• void setSingleStep(int)
• void setSliderDown(bool)
• void setSliderPosition(int)
• void setTracking(bool enable)
• int singleStep(void)
• int sliderPosition(void)
• void triggerAction(QAbstractSlider::SliderAction action)
• int value(void)
• void setOrientation(Qt::Orientation)
87.6. QAbstractSlider Class 982
Ring Documentation, Release 1.9
• void setRange(int min, int max)
• void setValue(int)
87.7 QAbstractSocket Class
C++ Reference : http://doc.qt.io/qt-5/QAbstractSocket.html
Parameters : void
Parent Class : QIODevice
• void abort(void)
• bool bind(QHostAddress address, int port, QAbstractSocket::BindFlag mode)
• void connectToHost(QString hostName, int port, QIODevice::OpenModeFlag openMode, QAbstract-
Socket::NetworkLayerProtocol protocol)
• void disconnectFromHost(void)
• int error(void)
• bool flush(void)
• bool isValid(void)
• QHostAddress localAddress(void)
• int localPort(void)
• int pauseMode(void)
• QHostAddress peerAddress(void)
• QString peerName(void)
• int peerPort(void)
• QNetworkProxy proxy(void)
• int readBufferSize(void)
• void resume(void)
• void setPauseMode(QAbstractSocket::PauseMode pauseMode)
• void setProxy(QNetworkProxy networkProxy)
• void setReadBufferSize(int size)
• bool setSocketDescriptor(qintptr socketDescriptor, QAbstractSocket::SocketState socketState, QIODe-
vice::OpenModeFlag openMode)
• void setSocketOption(QAbstractSocket::SocketOption option, QVariant value)
• int *socketDescriptor(void)
• QVariant socketOption(QAbstractSocket::SocketOption option)
• int socketType(void)
• int state(void)
• bool waitForConnected(int msecs)
• bool waitForDisconnected(int msecs)
87.7. QAbstractSocket Class 983
Ring Documentation, Release 1.9
• bool atEnd(void)
• int bytesAvailable(void)
• int bytesToWrite(void)
• bool canReadLine(void)
• void close(void)
• bool isSequential(void)
• bool waitForBytesWritten(int msecs)
• bool waitForReadyRead(int msecs)
• void setconnectedEvent(const char *)
• void setdisconnectedEvent(const char *)
• void seterrorEvent(const char *)
• void sethostFoundEvent(const char *)
• void setproxyAuthenticationRequiredEvent(const char *)
• void setstateChangedEvent(const char *)
• const char *getconnectedEvent(void)
• const char *getdisconnectedEvent(void)
• const char *geterrorEvent(void)
• const char *gethostFoundEvent(void)
• const char *getproxyAuthenticationRequiredEvent(void)
• const char *getstateChangedEvent(void)
87.8 QAbstractSpinBox Class
C++ Reference : http://doc.qt.io/qt-5/QAbstractSpinBox.html
Parameters : QWidget *parent
Parent Class : QWidget
• int alignment(void)
• int buttonSymbols(void)
• int correctionMode(void)
• bool hasAcceptableInput(void)
• bool hasFrame(void)
• void interpretText(void)
• bool isAccelerated(void)
• bool keyboardTracking(void)
• void setAccelerated(bool on)
• void setAlignment(Qt::AlignmentFlag flag)
87.8. QAbstractSpinBox Class 984
Ring Documentation, Release 1.9
• void setButtonSymbols(QAbstractSpinBox::ButtonSymbols bs)
• void setCorrectionMode(QAbstractSpinBox::CorrectionMode cm)
• void setFrame(bool)
• void setReadOnly(bool r)
• void setSpecialValueText(QString)
• void setWrapping(bool w)
• QString specialValueText(void)
• void stepBy(int steps)
• QString text(void)
• bool wrapping(void)
• void clear(void)
• void selectAll(void)
• void stepDown(void)
• void stepUp(void)
87.9 QAction Class
C++ Reference : http://doc.qt.io/qt-5/QAction.html
Parameters : QWidget *parent
• QActionGroup *actionGroup(void)
• void activate(QAction::ActionEvent event)
• bool autoRepeat(void)
• QVariant data(void)
• QFont font(void)
• QIcon icon(void)
• QString iconText(void)
• bool isCheckable(void)
• bool isChecked(void)
• bool isEnabled(void)
• bool isIconVisibleInMenu(void)
• bool isSeparator(void)
• bool isVisible(void)
• QMenu *menu(void)
• int menuRole(void)
• QWidget *parentWidget(void)
• int priority(void)
87.9. QAction Class 985
Ring Documentation, Release 1.9
• void setActionGroup(QActionGroup *group)
• void setAutoRepeat(bool)
• void setCheckable(bool)
• void setData(QVariant)
• void setFont(QFont)
• void setIcon(QIcon)
• void setIconText(QString)
• void setIconVisibleInMenu(bool visible)
• void setMenu(QMenu *menu)
• void setMenuRole(QAction::MenuRole menuRole)
• void setPriority(QAction::Priority priority)
• void setSeparator(bool b)
• void setShortcut(QKeySequence)
• void setShortcutContext(Qt::ShortcutContext context)
• void setShortcuts(QKeySequence::StandardKey key)
• void setStatusTip(QString)
• void setText(QString)
• void setToolTip(QString)
• void setWhatsThis(QString)
• QKeySequence shortcut(void)
• int shortcutContext(void)
• bool showStatusText(QWidget *widget)
• QString statusTip(void)
• QString text(void)
• QString toolTip(void)
• QString whatsThis(void)
• void hover(void)
• void setChecked(bool)
• void setDisabled(bool)
• void setEnabled(bool)
• void setVisible(bool)
• void toggle(void)
• void trigger(void)
• void setClickEvent(const char *)
• const char *getClickEvent(void)
87.9. QAction Class 986
Ring Documentation, Release 1.9
87.10 QAllEvents Class
Parameters : QWidget *
Parent Class : QWidget
• void accept(void)
• void ignore(void)
• int getKeyCode(void)
• QString getKeyText(void)
• int getModifiers(void)
• int getx(void)
• int gety(void)
• int getglobalx(void)
• int getglobaly(void)
• int getbutton(void)
• int getbuttons(void)
• void setKeyPressEvent(const char *cStr)
• void setMouseButtonPressEvent(const char *cStr)
• void setMouseButtonReleaseEvent(const char *cStr)
• void setMouseButtonDblClickEvent(const char *cStr)
• void setMouseMoveEvent(const char *cStr)
• void setCloseEvent(const char *cStr)
• void setContextMenuEvent(const char *cStr)
• void setDragEnterEvent(const char *cStr)
• void setDragLeaveEvent(const char *cStr)
• void setDragMoveEvent(const char *cStr)
• void setDropEvent(const char *cStr)
• void setEnterEvent(const char *cStr)
• void setFocusInEvent(const char *cStr)
• void setFocusOutEvent(const char *cStr)
• void setKeyReleaseEvent(const char *cStr)
• void setLeaveEvent(const char *cStr)
• void setNonClientAreaMouseButtonDblClickEvent(const char *cStr)
• void setNonClientAreaMouseButtonPressEvent(const char *cStr)
• void setNonClientAreaMouseButtonReleaseEvent(const char *cStr)
• void setNonClientAreaMouseMoveEvent(const char *cStr)
• void setMoveEvent(const char *cStr)
87.10. QAllEvents Class 987
Ring Documentation, Release 1.9
• void setResizeEvent(const char *cStr)
• void setWindowActivateEvent(const char *cStr)
• void setWindowBlockedEvent(const char *cStr)
• void setWindowDeactivateEvent(const char *cStr)
• void setWindowStateChangeEvent(const char *cStr)
• void setWindowUnblockedEvent(const char *cStr)
• void setPaintEvent(const char *cStr)
• void setChildAddedEvent(const char *cStr)
• void setChildPolishedEvent(const char *cStr)
• void setChildRemovedEvent(const char *cStr)
• const char *getKeyPressEvent(void)
• const char *getMouseButtonPressEvent(void)
• const char *getMouseButtonReleaseEvent(void)
• const char *getMouseButtonDblClickEvent(void)
• const char *getMouseMoveEvent(void)
• const char *getCloseEvent(void)
• const char *getContextMenuEvent(void)
• const char *getDragEnterEvent(void)
• const char *getDragLeaveEvent(void)
• const char *getDragMoveEvent(void)
• const char *getDropEvent(void)
• const char *getEnterEvent(void)
• const char *getFocusInEvent(void)
• const char *getFocusOutEvent(void)
• const char *getKeyReleaseEvent(void)
• const char *getLeaveEvent(void)
• const char *getNonClientAreaMouseButtonDblClickEvent(void)
• const char *getNonClientAreaMouseButtonPressEvent(void)
• const char *getNonClientAreaMouseButtonReleaseEvent(void)
• const char *getNonClientAreaMouseMoveEvent(void)
• const char *getMoveEvent(void)
• const char *getResizeEvent(void)
• const char *getWindowActivateEvent(void)
• const char *getWindowBlockedEvent(void)
• const char *getWindowDeactivateEvent(void)
• const char *getWindowStateChangeEvent(void)
87.10. QAllEvents Class 988

The Ring programming language version 1.9 book - Part 102 of 210

  • 1.
    Ring Documentation, Release1.9 • void setAutoRepeatInterval(int) • void setCheckable(bool) • void setDown(bool) • void setIcon(QIcon) • void setShortcut(QKeySequence) • void setText(QString) • QKeySequence shortcut(void) • QString text(void) • void animateClick(int msec) • void click(void) • void setChecked(bool) • void setIconSize(QSize) • void toggle(void) 87.3 QAbstractItemView Class C++ Reference : http://doc.qt.io/qt-5/QAbstractItemView.html Parameters : QWidget *parent Parent Class : QAbstractScrollArea • bool alternatingRowColors(void) • int autoScrollMargin(void) • void closePersistentEditor(QModelIndex) • QModelIndex currentIndex(void) • int defaultDropAction(void) • int dragDropMode(void) • bool dragDropOverwriteMode(void) • bool dragEnabled(void) • int editTriggers(void) • bool hasAutoScroll(void) • int horizontalScrollMode(void) • QSize iconSize(void) • QModelIndex indexAt(QPoint) • QWidget *indexWidget(QModelIndex) • QAbstractItemDelegate *itemDelegate(QModelIndex) • QAbstractItemDelegate *itemDelegateForColumn(int column) • QAbstractItemDelegate *itemDelegateForRow(int row) 87.3. QAbstractItemView Class 979
  • 2.
    Ring Documentation, Release1.9 • void keyboardSearch(QString) • QAbstractItemModel *model(void) • void openPersistentEditor(QModelIndex) • QModelIndex rootIndex(void) • void scrollTo(QModelIndex,QAbstractItemView::ScrollHint) • int selectionBehavior(void) • int selectionMode(void) • QItemSelectionModel *selectionModel(void) • void setAlternatingRowColors(bool enable) • void setAutoScroll(bool enable) • void setAutoScrollMargin(int margin) • void setDefaultDropAction(Qt::DropAction dropAction) • void setDragDropMode(QAbstractItemView::DragDropMode behavior) • void setDragDropOverwriteMode(bool overwrite) • void setDragEnabled(bool enable) • void setDropIndicatorShown(bool enable) • void setEditTriggers(QAbstractItemView::EditTrigger triggers) • void setHorizontalScrollMode(QAbstractItemView::ScrollMode mode) • void setIconSize(QSize) • void setIndexWidget(QModelIndex, QWidget *widget) • void setItemDelegate(QAbstractItemDelegate *delegate) • void setItemDelegateForColumn(int column, QAbstractItemDelegate *delegate) • void setItemDelegateForRow(int row, QAbstractItemDelegate *delegate) • void setModel(QAbstractItemModel *model) • void setSelectionBehavior(QAbstractItemView::SelectionBehavior behavior) • void setSelectionMode(QAbstractItemView::SelectionMode mode) • void setSelectionModel(QItemSelectionModel *selectionModel) • void setTabKeyNavigation(bool enable) • void setTextElideMode(Qt::TextElideMode mode) • void setVerticalScrollMode(QAbstractItemView::ScrollMode mode) • bool showDropIndicator(void) • int sizeHintForColumn(int column) • QSize sizeHintForIndex(QModelIndex) • int sizeHintForRow(int row) • bool tabKeyNavigation(void) • int textElideMode(void) 87.3. QAbstractItemView Class 980
  • 3.
    Ring Documentation, Release1.9 • int verticalScrollMode(void) • QRect visualRect(QModelIndex) • void clearSelection(void) • void edit(QModelIndex) • void scrollToBottom(void) • void scrollToTop(void) • void setCurrentIndex(QModelIndex) • void update(QModelIndex) 87.4 QAbstractPrintDialog Class C++ Reference : http://doc.qt.io/qt-5/QAbstractPrintDialog.html Parameters : QPrinter *,QWidget * Parent Class : QDialog • int fromPage(void) • int maxPage(void) • int minPage(void) • QAbstractPrintDialog::PrintRange printRange(void) • QPrinter * printer(void) • void setFromTo(int from, int to) • void setMinMax(int min, int max) • void setOptionTabs(QList<QWidget *> tabs) • void setPrintRange(QAbstractPrintDialog::PrintRange range) • int toPage(void) 87.5 QAbstractScrollArea Class C++ Reference : http://doc.qt.io/qt-5/QAbstractScrollArea.html Parameters : QWidget *parent Parent Class : QFrame • void addScrollBarWidget(QWidget *widget, Qt::AlignmentFlag alignment) • QWidget *cornerWidget(void) • QScrollBar *horizontalScrollBar(void) • int horizontalScrollBarPolicy(void) • QSize maximumViewportSize(void) • QWidgetList scrollBarWidgets(Qt::AlignmentFlag) • void setCornerWidget(QWidget *widget) 87.4. QAbstractPrintDialog Class 981
  • 4.
    Ring Documentation, Release1.9 • void setHorizontalScrollBar(QScrollBar *scrollBar) • void setHorizontalScrollBarPolicy(Qt::ScrollBarPolicy) • void setVerticalScrollBar(QScrollBar *scrollBar) • void setVerticalScrollBarPolicy(Qt::ScrollBarPolicy) • void setViewport(QWidget *widget) • QScrollBar *verticalScrollBar(void) • int verticalScrollBarPolicy(void) • QWidget *viewport(void) 87.6 QAbstractSlider Class C++ Reference : http://doc.qt.io/qt-5/QAbstractSlider.html Parameters : QWidget *parent Parent Class : QWidget • bool hasTracking(void) • bool invertedAppearance(void) • bool invertedControls(void) • bool isSliderDown(void) • int maximum(void) • int minimum(void) • int orientation(void) • int pageStep(void) • void setInvertedAppearance(bool) • void setInvertedControls(bool) • void setMaximum(int) • void setMinimum(int) • void setPageStep(int) • void setSingleStep(int) • void setSliderDown(bool) • void setSliderPosition(int) • void setTracking(bool enable) • int singleStep(void) • int sliderPosition(void) • void triggerAction(QAbstractSlider::SliderAction action) • int value(void) • void setOrientation(Qt::Orientation) 87.6. QAbstractSlider Class 982
  • 5.
    Ring Documentation, Release1.9 • void setRange(int min, int max) • void setValue(int) 87.7 QAbstractSocket Class C++ Reference : http://doc.qt.io/qt-5/QAbstractSocket.html Parameters : void Parent Class : QIODevice • void abort(void) • bool bind(QHostAddress address, int port, QAbstractSocket::BindFlag mode) • void connectToHost(QString hostName, int port, QIODevice::OpenModeFlag openMode, QAbstract- Socket::NetworkLayerProtocol protocol) • void disconnectFromHost(void) • int error(void) • bool flush(void) • bool isValid(void) • QHostAddress localAddress(void) • int localPort(void) • int pauseMode(void) • QHostAddress peerAddress(void) • QString peerName(void) • int peerPort(void) • QNetworkProxy proxy(void) • int readBufferSize(void) • void resume(void) • void setPauseMode(QAbstractSocket::PauseMode pauseMode) • void setProxy(QNetworkProxy networkProxy) • void setReadBufferSize(int size) • bool setSocketDescriptor(qintptr socketDescriptor, QAbstractSocket::SocketState socketState, QIODe- vice::OpenModeFlag openMode) • void setSocketOption(QAbstractSocket::SocketOption option, QVariant value) • int *socketDescriptor(void) • QVariant socketOption(QAbstractSocket::SocketOption option) • int socketType(void) • int state(void) • bool waitForConnected(int msecs) • bool waitForDisconnected(int msecs) 87.7. QAbstractSocket Class 983
  • 6.
    Ring Documentation, Release1.9 • bool atEnd(void) • int bytesAvailable(void) • int bytesToWrite(void) • bool canReadLine(void) • void close(void) • bool isSequential(void) • bool waitForBytesWritten(int msecs) • bool waitForReadyRead(int msecs) • void setconnectedEvent(const char *) • void setdisconnectedEvent(const char *) • void seterrorEvent(const char *) • void sethostFoundEvent(const char *) • void setproxyAuthenticationRequiredEvent(const char *) • void setstateChangedEvent(const char *) • const char *getconnectedEvent(void) • const char *getdisconnectedEvent(void) • const char *geterrorEvent(void) • const char *gethostFoundEvent(void) • const char *getproxyAuthenticationRequiredEvent(void) • const char *getstateChangedEvent(void) 87.8 QAbstractSpinBox Class C++ Reference : http://doc.qt.io/qt-5/QAbstractSpinBox.html Parameters : QWidget *parent Parent Class : QWidget • int alignment(void) • int buttonSymbols(void) • int correctionMode(void) • bool hasAcceptableInput(void) • bool hasFrame(void) • void interpretText(void) • bool isAccelerated(void) • bool keyboardTracking(void) • void setAccelerated(bool on) • void setAlignment(Qt::AlignmentFlag flag) 87.8. QAbstractSpinBox Class 984
  • 7.
    Ring Documentation, Release1.9 • void setButtonSymbols(QAbstractSpinBox::ButtonSymbols bs) • void setCorrectionMode(QAbstractSpinBox::CorrectionMode cm) • void setFrame(bool) • void setReadOnly(bool r) • void setSpecialValueText(QString) • void setWrapping(bool w) • QString specialValueText(void) • void stepBy(int steps) • QString text(void) • bool wrapping(void) • void clear(void) • void selectAll(void) • void stepDown(void) • void stepUp(void) 87.9 QAction Class C++ Reference : http://doc.qt.io/qt-5/QAction.html Parameters : QWidget *parent • QActionGroup *actionGroup(void) • void activate(QAction::ActionEvent event) • bool autoRepeat(void) • QVariant data(void) • QFont font(void) • QIcon icon(void) • QString iconText(void) • bool isCheckable(void) • bool isChecked(void) • bool isEnabled(void) • bool isIconVisibleInMenu(void) • bool isSeparator(void) • bool isVisible(void) • QMenu *menu(void) • int menuRole(void) • QWidget *parentWidget(void) • int priority(void) 87.9. QAction Class 985
  • 8.
    Ring Documentation, Release1.9 • void setActionGroup(QActionGroup *group) • void setAutoRepeat(bool) • void setCheckable(bool) • void setData(QVariant) • void setFont(QFont) • void setIcon(QIcon) • void setIconText(QString) • void setIconVisibleInMenu(bool visible) • void setMenu(QMenu *menu) • void setMenuRole(QAction::MenuRole menuRole) • void setPriority(QAction::Priority priority) • void setSeparator(bool b) • void setShortcut(QKeySequence) • void setShortcutContext(Qt::ShortcutContext context) • void setShortcuts(QKeySequence::StandardKey key) • void setStatusTip(QString) • void setText(QString) • void setToolTip(QString) • void setWhatsThis(QString) • QKeySequence shortcut(void) • int shortcutContext(void) • bool showStatusText(QWidget *widget) • QString statusTip(void) • QString text(void) • QString toolTip(void) • QString whatsThis(void) • void hover(void) • void setChecked(bool) • void setDisabled(bool) • void setEnabled(bool) • void setVisible(bool) • void toggle(void) • void trigger(void) • void setClickEvent(const char *) • const char *getClickEvent(void) 87.9. QAction Class 986
  • 9.
    Ring Documentation, Release1.9 87.10 QAllEvents Class Parameters : QWidget * Parent Class : QWidget • void accept(void) • void ignore(void) • int getKeyCode(void) • QString getKeyText(void) • int getModifiers(void) • int getx(void) • int gety(void) • int getglobalx(void) • int getglobaly(void) • int getbutton(void) • int getbuttons(void) • void setKeyPressEvent(const char *cStr) • void setMouseButtonPressEvent(const char *cStr) • void setMouseButtonReleaseEvent(const char *cStr) • void setMouseButtonDblClickEvent(const char *cStr) • void setMouseMoveEvent(const char *cStr) • void setCloseEvent(const char *cStr) • void setContextMenuEvent(const char *cStr) • void setDragEnterEvent(const char *cStr) • void setDragLeaveEvent(const char *cStr) • void setDragMoveEvent(const char *cStr) • void setDropEvent(const char *cStr) • void setEnterEvent(const char *cStr) • void setFocusInEvent(const char *cStr) • void setFocusOutEvent(const char *cStr) • void setKeyReleaseEvent(const char *cStr) • void setLeaveEvent(const char *cStr) • void setNonClientAreaMouseButtonDblClickEvent(const char *cStr) • void setNonClientAreaMouseButtonPressEvent(const char *cStr) • void setNonClientAreaMouseButtonReleaseEvent(const char *cStr) • void setNonClientAreaMouseMoveEvent(const char *cStr) • void setMoveEvent(const char *cStr) 87.10. QAllEvents Class 987
  • 10.
    Ring Documentation, Release1.9 • void setResizeEvent(const char *cStr) • void setWindowActivateEvent(const char *cStr) • void setWindowBlockedEvent(const char *cStr) • void setWindowDeactivateEvent(const char *cStr) • void setWindowStateChangeEvent(const char *cStr) • void setWindowUnblockedEvent(const char *cStr) • void setPaintEvent(const char *cStr) • void setChildAddedEvent(const char *cStr) • void setChildPolishedEvent(const char *cStr) • void setChildRemovedEvent(const char *cStr) • const char *getKeyPressEvent(void) • const char *getMouseButtonPressEvent(void) • const char *getMouseButtonReleaseEvent(void) • const char *getMouseButtonDblClickEvent(void) • const char *getMouseMoveEvent(void) • const char *getCloseEvent(void) • const char *getContextMenuEvent(void) • const char *getDragEnterEvent(void) • const char *getDragLeaveEvent(void) • const char *getDragMoveEvent(void) • const char *getDropEvent(void) • const char *getEnterEvent(void) • const char *getFocusInEvent(void) • const char *getFocusOutEvent(void) • const char *getKeyReleaseEvent(void) • const char *getLeaveEvent(void) • const char *getNonClientAreaMouseButtonDblClickEvent(void) • const char *getNonClientAreaMouseButtonPressEvent(void) • const char *getNonClientAreaMouseButtonReleaseEvent(void) • const char *getNonClientAreaMouseMoveEvent(void) • const char *getMoveEvent(void) • const char *getResizeEvent(void) • const char *getWindowActivateEvent(void) • const char *getWindowBlockedEvent(void) • const char *getWindowDeactivateEvent(void) • const char *getWindowStateChangeEvent(void) 87.10. QAllEvents Class 988