SlideShare a Scribd company logo
Ring Documentation, Release 1.10
Operation Description
• ICO_TRY
Start try region
• ICO_DONE
End try region
(Duplicate and Range)
Operation Description
• ICO_DUPLICATE
Duplicate stack value
• ICO_RANGE
Create list from value to value
(OOP)
Operation Description
• ICO_NEWOBJ
Create new object, get class name from the IR, push ob-
ject pointer to the stack.
• ICO_SETSCOPE
Called after creating new object, set the active scope to
be the object scope.
• ICO_LOADSUBADDRESS
Get object attribute, push the pointer to the stack.
• ICO_LOADMETHOD
Find object method
• ICO_AFTERCALLMETHOD
Used after calling a method - normal case
• ICO_AFTERCALLMETHOD2
Used after calling a method - second case
• ICO_NEWCLASS
Start new class region
• ICO_BRACESTART
Open brace
• ICO_BRACEEND
End brace
• ICO_IMPORT
Import package
• ICO_PRIVATE
start private attributes region
• ICO_SETPROPERTY
set attribute value - check for setter.
• ICO_CALLCLASSINIT
call call init() method.
(Other)
88.7. Virtual Machine (VM) Instructions 998
Ring Documentation, Release 1.10
Operation Description
• ICO_SETREFERENCE
Copy by reference
• ICO_KILLREFERENCE
Remove reference
• ICO_ASSIGNMENTPOINTER
Determine the left side variable
• ICO_BEFOREEQUAL
Determine operators like += , -= , ... etc
(Bitwise Operators)
Operation Description
• ICO_BITAND
Stack[nSize-1] = Stack[nSize-1] & Stack[nSize] , POP
stack[nSize]
• ICO_BITOR
Stack[nSize-1] = Stack[nSize-1] | Stack[nSize] , POP
stack[nSize]
• ICO_BITXOR
Stack[nSize-1] = Stack[nSize-1] ^ Stack[nSize] , POP
stack[nSize]
• ICO_BITNOT
Stack[nSize] = ! Stack[nSize]
• ICO_BITSHL
Stack[nSize-1] = Stack[nSize-1] << Stack[nSize] , POP
stack[nSize]
• ICO_BITSHR
Stack[nSize-1] = Stack[nSize-1] >> Stack[nSize] , POP
stack[nSize]
(For Step)
Operation Description
• ICO_STEPNUMBER
Determine step number in for loop
• ICO_POPSTEP
POP step number from steps stack
• ICO_LOADAFIRST
Load the first address of variable name
(Custom Global Scope)
Operation Description
• ICO_NEWGLOBALSCOPE
Start new custom global scope - used by ‘load package’
command
• ICO_ENDGLOBALSCOPE
End of custom global scope - used by ‘load package’
command
• ICO_SETGLOBALSCOPE
Set the current global scope
88.7. Virtual Machine (VM) Instructions 999
CHAPTER
EIGHTYNINE
RINGQT CLASSES REFERENCE
89.1 CodeEditor Class
C++ Reference : http://doc.qt.io/qt-5/CodeEditor.html
Parameters : QWidget *
Parent Class : QPlainTextEdit
• void setCompleter(QCompleter *c)
• QCompleter *completer(void)
• void setLineNumbersAreaColor(QColor oColor)
• void setLineNumbersAreaBackColor(QColor oColor)
89.2 QAbstractButton Class
C++ Reference : http://doc.qt.io/qt-5/QAbstractButton.html
Parameters : QWidget *parent
Parent Class : QWidget
• bool autoExclusive(void)
• bool autoRepeat(void)
• int autoRepeatDelay(void)
• int autoRepeatInterval(void)
• QButtonGroup *group(void)
• QIcon icon(void)
• QSize iconSize(void)
• bool isCheckable(void)
• bool isChecked(void)
• bool isDown(void)
• void setAutoExclusive(bool)
• void setAutoRepeat(bool)
• void setAutoRepeatDelay(int)
1000
Ring Documentation, Release 1.10
• 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)
89.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)
89.3. QAbstractItemView Class 1001
Ring Documentation, Release 1.10
• 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)
89.3. QAbstractItemView Class 1002
Ring Documentation, Release 1.10
• int verticalScrollMode(void)
• QRect visualRect(QModelIndex)
• void clearSelection(void)
• void edit(QModelIndex)
• void scrollToBottom(void)
• void scrollToTop(void)
• void setCurrentIndex(QModelIndex)
• void update(QModelIndex)
89.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)
89.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)
89.4. QAbstractPrintDialog Class 1003
Ring Documentation, Release 1.10
• 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)
89.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)
89.6. QAbstractSlider Class 1004
Ring Documentation, Release 1.10
• void setRange(int min, int max)
• void setValue(int)
89.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)
89.7. QAbstractSocket Class 1005
Ring Documentation, Release 1.10
• 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)
89.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)
89.8. QAbstractSpinBox Class 1006
Ring Documentation, Release 1.10
• 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)
89.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)
89.9. QAction Class 1007

More Related Content

PDF
The Ring programming language version 1.6 book - Part 178 of 189
PDF
The Ring programming language version 1.8 book - Part 105 of 202
PDF
The Ring programming language version 1.10 book - Part 116 of 212
PDF
The Ring programming language version 1.6 book - Part 176 of 189
PDF
The Ring programming language version 1.5.1 book - Part 170 of 180
PDF
The Ring programming language version 1.7 book - Part 105 of 196
PDF
The Ring programming language version 1.9 book - Part 103 of 210
PDF
The Ring programming language version 1.10 book - Part 125 of 212
The Ring programming language version 1.6 book - Part 178 of 189
The Ring programming language version 1.8 book - Part 105 of 202
The Ring programming language version 1.10 book - Part 116 of 212
The Ring programming language version 1.6 book - Part 176 of 189
The Ring programming language version 1.5.1 book - Part 170 of 180
The Ring programming language version 1.7 book - Part 105 of 196
The Ring programming language version 1.9 book - Part 103 of 210
The Ring programming language version 1.10 book - Part 125 of 212

What's hot (20)

PDF
The Ring programming language version 1.9 book - Part 111 of 210
PDF
The Ring programming language version 1.7 book - Part 101 of 196
PDF
The Ring programming language version 1.10 book - Part 114 of 212
PDF
The Ring programming language version 1.5.2 book - Part 171 of 181
PDF
The Ring programming language version 1.4.1 book - Part 28 of 31
PDF
The Ring programming language version 1.5.1 book - Part 172 of 180
PDF
Writing native bindings to node.js in C++
PDF
The Ring programming language version 1.10 book - Part 106 of 212
PDF
Arc of developer part1
PDF
I os 04
PDF
Compose Async with RxJS
PDF
Testing (eng)
PDF
The Ring programming language version 1.6 book - Part 86 of 189
PDF
Android UI Development: Tips, Tricks, and Techniques
PDF
Tilting at Windmills with ctypes and cygwinreg
PDF
The Ring programming language version 1.2 book - Part 56 of 84
PDF
The Ring programming language version 1.7 book - Part 112 of 196
PDF
The Ring programming language version 1.9 book - Part 16 of 210
PDF
The Ring programming language version 1.7 book - Part 98 of 196
The Ring programming language version 1.9 book - Part 111 of 210
The Ring programming language version 1.7 book - Part 101 of 196
The Ring programming language version 1.10 book - Part 114 of 212
The Ring programming language version 1.5.2 book - Part 171 of 181
The Ring programming language version 1.4.1 book - Part 28 of 31
The Ring programming language version 1.5.1 book - Part 172 of 180
Writing native bindings to node.js in C++
The Ring programming language version 1.10 book - Part 106 of 212
Arc of developer part1
I os 04
Compose Async with RxJS
Testing (eng)
The Ring programming language version 1.6 book - Part 86 of 189
Android UI Development: Tips, Tricks, and Techniques
Tilting at Windmills with ctypes and cygwinreg
The Ring programming language version 1.2 book - Part 56 of 84
The Ring programming language version 1.7 book - Part 112 of 196
The Ring programming language version 1.9 book - Part 16 of 210
The Ring programming language version 1.7 book - Part 98 of 196
Ad

Similar to The Ring programming language version 1.10 book - Part 104 of 212 (20)

PDF
The Ring programming language version 1.4 book - Part 28 of 30
PDF
The Ring programming language version 1.9 book - Part 108 of 210
PDF
The Ring programming language version 1.2 book - Part 76 of 84
PDF
The Ring programming language version 1.9 book - Part 104 of 210
PDF
Best Practices in Qt Quick/QML - Part III
 
PDF
The Ring programming language version 1.7 book - Part 88 of 196
PPTX
Best Practices in Qt Quick/QML - Part I
 
PDF
The Ring programming language version 1.3 book - Part 85 of 88
PDF
Petri Niemi Qt Advanced Part 1
PDF
The Ring programming language version 1.5.3 book - Part 92 of 184
PDF
The Ring programming language version 1.9 book - Part 114 of 210
PPTX
Quickly Testing Qt Desktop Applications
PDF
The Ring programming language version 1.10 book - Part 98 of 212
PDF
Unit Testing: Special Cases
PDF
iOS for ERREST - alternative version
PDF
The Ring programming language version 1.5.2 book - Part 159 of 181
PDF
Qt & Webkit
PDF
Qt Application Programming with C++ - Part 2
PPTX
Tricks to Making a Realtime SurfaceView Actually Perform in Realtime - Maarte...
PDF
The Ring programming language version 1.3 book - Part 63 of 88
The Ring programming language version 1.4 book - Part 28 of 30
The Ring programming language version 1.9 book - Part 108 of 210
The Ring programming language version 1.2 book - Part 76 of 84
The Ring programming language version 1.9 book - Part 104 of 210
Best Practices in Qt Quick/QML - Part III
 
The Ring programming language version 1.7 book - Part 88 of 196
Best Practices in Qt Quick/QML - Part I
 
The Ring programming language version 1.3 book - Part 85 of 88
Petri Niemi Qt Advanced Part 1
The Ring programming language version 1.5.3 book - Part 92 of 184
The Ring programming language version 1.9 book - Part 114 of 210
Quickly Testing Qt Desktop Applications
The Ring programming language version 1.10 book - Part 98 of 212
Unit Testing: Special Cases
iOS for ERREST - alternative version
The Ring programming language version 1.5.2 book - Part 159 of 181
Qt & Webkit
Qt Application Programming with C++ - Part 2
Tricks to Making a Realtime SurfaceView Actually Perform in Realtime - Maarte...
The Ring programming language version 1.3 book - Part 63 of 88
Ad

More from Mahmoud Samir Fayed (20)

PDF
The Ring programming language version 1.10 book - Part 212 of 212
PDF
The Ring programming language version 1.10 book - Part 211 of 212
PDF
The Ring programming language version 1.10 book - Part 210 of 212
PDF
The Ring programming language version 1.10 book - Part 208 of 212
PDF
The Ring programming language version 1.10 book - Part 207 of 212
PDF
The Ring programming language version 1.10 book - Part 205 of 212
PDF
The Ring programming language version 1.10 book - Part 206 of 212
PDF
The Ring programming language version 1.10 book - Part 204 of 212
PDF
The Ring programming language version 1.10 book - Part 203 of 212
PDF
The Ring programming language version 1.10 book - Part 202 of 212
PDF
The Ring programming language version 1.10 book - Part 201 of 212
PDF
The Ring programming language version 1.10 book - Part 200 of 212
PDF
The Ring programming language version 1.10 book - Part 199 of 212
PDF
The Ring programming language version 1.10 book - Part 198 of 212
PDF
The Ring programming language version 1.10 book - Part 197 of 212
PDF
The Ring programming language version 1.10 book - Part 196 of 212
PDF
The Ring programming language version 1.10 book - Part 195 of 212
PDF
The Ring programming language version 1.10 book - Part 194 of 212
PDF
The Ring programming language version 1.10 book - Part 193 of 212
PDF
The Ring programming language version 1.10 book - Part 192 of 212
The Ring programming language version 1.10 book - Part 212 of 212
The Ring programming language version 1.10 book - Part 211 of 212
The Ring programming language version 1.10 book - Part 210 of 212
The Ring programming language version 1.10 book - Part 208 of 212
The Ring programming language version 1.10 book - Part 207 of 212
The Ring programming language version 1.10 book - Part 205 of 212
The Ring programming language version 1.10 book - Part 206 of 212
The Ring programming language version 1.10 book - Part 204 of 212
The Ring programming language version 1.10 book - Part 203 of 212
The Ring programming language version 1.10 book - Part 202 of 212
The Ring programming language version 1.10 book - Part 201 of 212
The Ring programming language version 1.10 book - Part 200 of 212
The Ring programming language version 1.10 book - Part 199 of 212
The Ring programming language version 1.10 book - Part 198 of 212
The Ring programming language version 1.10 book - Part 197 of 212
The Ring programming language version 1.10 book - Part 196 of 212
The Ring programming language version 1.10 book - Part 195 of 212
The Ring programming language version 1.10 book - Part 194 of 212
The Ring programming language version 1.10 book - Part 193 of 212
The Ring programming language version 1.10 book - Part 192 of 212

Recently uploaded (20)

PDF
How to Migrate SBCGlobal Email to Yahoo Easily
PDF
Audit Checklist Design Aligning with ISO, IATF, and Industry Standards — Omne...
PPTX
Operating system designcfffgfgggggggvggggggggg
PPTX
Odoo POS Development Services by CandidRoot Solutions
PDF
AI in Product Development-omnex systems
PPTX
VVF-Customer-Presentation2025-Ver1.9.pptx
PDF
How Creative Agencies Leverage Project Management Software.pdf
PDF
Understanding Forklifts - TECH EHS Solution
PPTX
Reimagine Home Health with the Power of Agentic AI​
PPTX
Transform Your Business with a Software ERP System
PDF
Why TechBuilder is the Future of Pickup and Delivery App Development (1).pdf
PDF
Wondershare Filmora 15 Crack With Activation Key [2025
PDF
Softaken Excel to vCard Converter Software.pdf
PPTX
Essential Infomation Tech presentation.pptx
PDF
medical staffing services at VALiNTRY
PDF
2025 Textile ERP Trends: SAP, Odoo & Oracle
PDF
Internet Downloader Manager (IDM) Crack 6.42 Build 42 Updates Latest 2025
PDF
Upgrade and Innovation Strategies for SAP ERP Customers
PPTX
Introduction to Artificial Intelligence
PDF
PTS Company Brochure 2025 (1).pdf.......
How to Migrate SBCGlobal Email to Yahoo Easily
Audit Checklist Design Aligning with ISO, IATF, and Industry Standards — Omne...
Operating system designcfffgfgggggggvggggggggg
Odoo POS Development Services by CandidRoot Solutions
AI in Product Development-omnex systems
VVF-Customer-Presentation2025-Ver1.9.pptx
How Creative Agencies Leverage Project Management Software.pdf
Understanding Forklifts - TECH EHS Solution
Reimagine Home Health with the Power of Agentic AI​
Transform Your Business with a Software ERP System
Why TechBuilder is the Future of Pickup and Delivery App Development (1).pdf
Wondershare Filmora 15 Crack With Activation Key [2025
Softaken Excel to vCard Converter Software.pdf
Essential Infomation Tech presentation.pptx
medical staffing services at VALiNTRY
2025 Textile ERP Trends: SAP, Odoo & Oracle
Internet Downloader Manager (IDM) Crack 6.42 Build 42 Updates Latest 2025
Upgrade and Innovation Strategies for SAP ERP Customers
Introduction to Artificial Intelligence
PTS Company Brochure 2025 (1).pdf.......

The Ring programming language version 1.10 book - Part 104 of 212

  • 1. Ring Documentation, Release 1.10 Operation Description • ICO_TRY Start try region • ICO_DONE End try region (Duplicate and Range) Operation Description • ICO_DUPLICATE Duplicate stack value • ICO_RANGE Create list from value to value (OOP) Operation Description • ICO_NEWOBJ Create new object, get class name from the IR, push ob- ject pointer to the stack. • ICO_SETSCOPE Called after creating new object, set the active scope to be the object scope. • ICO_LOADSUBADDRESS Get object attribute, push the pointer to the stack. • ICO_LOADMETHOD Find object method • ICO_AFTERCALLMETHOD Used after calling a method - normal case • ICO_AFTERCALLMETHOD2 Used after calling a method - second case • ICO_NEWCLASS Start new class region • ICO_BRACESTART Open brace • ICO_BRACEEND End brace • ICO_IMPORT Import package • ICO_PRIVATE start private attributes region • ICO_SETPROPERTY set attribute value - check for setter. • ICO_CALLCLASSINIT call call init() method. (Other) 88.7. Virtual Machine (VM) Instructions 998
  • 2. Ring Documentation, Release 1.10 Operation Description • ICO_SETREFERENCE Copy by reference • ICO_KILLREFERENCE Remove reference • ICO_ASSIGNMENTPOINTER Determine the left side variable • ICO_BEFOREEQUAL Determine operators like += , -= , ... etc (Bitwise Operators) Operation Description • ICO_BITAND Stack[nSize-1] = Stack[nSize-1] & Stack[nSize] , POP stack[nSize] • ICO_BITOR Stack[nSize-1] = Stack[nSize-1] | Stack[nSize] , POP stack[nSize] • ICO_BITXOR Stack[nSize-1] = Stack[nSize-1] ^ Stack[nSize] , POP stack[nSize] • ICO_BITNOT Stack[nSize] = ! Stack[nSize] • ICO_BITSHL Stack[nSize-1] = Stack[nSize-1] << Stack[nSize] , POP stack[nSize] • ICO_BITSHR Stack[nSize-1] = Stack[nSize-1] >> Stack[nSize] , POP stack[nSize] (For Step) Operation Description • ICO_STEPNUMBER Determine step number in for loop • ICO_POPSTEP POP step number from steps stack • ICO_LOADAFIRST Load the first address of variable name (Custom Global Scope) Operation Description • ICO_NEWGLOBALSCOPE Start new custom global scope - used by ‘load package’ command • ICO_ENDGLOBALSCOPE End of custom global scope - used by ‘load package’ command • ICO_SETGLOBALSCOPE Set the current global scope 88.7. Virtual Machine (VM) Instructions 999
  • 3. CHAPTER EIGHTYNINE RINGQT CLASSES REFERENCE 89.1 CodeEditor Class C++ Reference : http://doc.qt.io/qt-5/CodeEditor.html Parameters : QWidget * Parent Class : QPlainTextEdit • void setCompleter(QCompleter *c) • QCompleter *completer(void) • void setLineNumbersAreaColor(QColor oColor) • void setLineNumbersAreaBackColor(QColor oColor) 89.2 QAbstractButton Class C++ Reference : http://doc.qt.io/qt-5/QAbstractButton.html Parameters : QWidget *parent Parent Class : QWidget • bool autoExclusive(void) • bool autoRepeat(void) • int autoRepeatDelay(void) • int autoRepeatInterval(void) • QButtonGroup *group(void) • QIcon icon(void) • QSize iconSize(void) • bool isCheckable(void) • bool isChecked(void) • bool isDown(void) • void setAutoExclusive(bool) • void setAutoRepeat(bool) • void setAutoRepeatDelay(int) 1000
  • 4. Ring Documentation, Release 1.10 • 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) 89.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) 89.3. QAbstractItemView Class 1001
  • 5. Ring Documentation, Release 1.10 • 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) 89.3. QAbstractItemView Class 1002
  • 6. Ring Documentation, Release 1.10 • int verticalScrollMode(void) • QRect visualRect(QModelIndex) • void clearSelection(void) • void edit(QModelIndex) • void scrollToBottom(void) • void scrollToTop(void) • void setCurrentIndex(QModelIndex) • void update(QModelIndex) 89.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) 89.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) 89.4. QAbstractPrintDialog Class 1003
  • 7. Ring Documentation, Release 1.10 • 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) 89.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) 89.6. QAbstractSlider Class 1004
  • 8. Ring Documentation, Release 1.10 • void setRange(int min, int max) • void setValue(int) 89.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) 89.7. QAbstractSocket Class 1005
  • 9. Ring Documentation, Release 1.10 • 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) 89.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) 89.8. QAbstractSpinBox Class 1006
  • 10. Ring Documentation, Release 1.10 • 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) 89.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) 89.9. QAction Class 1007