SlideShare a Scribd company logo
1 of 10
Download to read offline
Ring Documentation, Release 1.2
• bool isReadOnly(void)
• bool lazyChildCount(void)
• QModelIndex mkdir(QModelIndex parent, QString name)
• QStringList nameFilters(void)
• bool remove(QModelIndex index)
• bool resolveSymlinks(void)
• bool rmdir(QModelIndex index)
• void setFilter(QDir::Filter filters)
• void setIconProvider(QFileIconProvider *provider)
• void setLazyChildCount(bool enable)
• void setNameFilters(QStringList filters)
• void setReadOnly(bool enable)
• void setResolveSymlinks(bool enable)
• void setSorting(QDir::SortFlag sort)
• int sorting(void)
• void refresh(QModelIndex parent)
62.74 QFontDialog Class
C++ Reference : http://doc.qt.io/qt-5/QFontDialog.html
Parameters : void
Parent Class : QDialog
• QFont currentFont(void)
• void open(QObject *receiver, const char *member)
• int options(void)
• QFont selectedFont(void)
• void setCurrentFont(QFont)
• void setOption(QFontDialog::FontDialogOption option, bool on)
• void setOptions(QFontDialog::FontDialogOption options)
• bool testOption(QFontDialog::FontDialogOption option)
• int getfont(void)
62.75 QDialog Class
C++ Reference : http://doc.qt.io/qt-5/QDialog.html
Parameters : QWidget *parent
Parent Class : QWidget
62.74. QFontDialog Class 690
Ring Documentation, Release 1.2
• bool isSizeGripEnabled(void)
• int result(void)
• void setModal(bool modal)
• void setResult(int i)
• void setSizeGripEnabled(bool)
• void accept(void)
• void done(int r) # In RingQt use : void donedialog(int r)
• int exec(void)
• void open(void)
• void reject(void)
62.76 QTextCursor Class
C++ Reference : http://doc.qt.io/qt-5/QTextCursor.html
Parameters : void
• int anchor(void)
• bool atBlockEnd(void)
• bool atBlockStart(void)
• bool atEnd(void)
• bool atStart(void)
• void beginEditBlock(void)
• QTextBlock block(void)
• QTextCharFormat blockCharFormat(void)
• QTextBlockFormat blockFormat(void)
• int blockNumber(void)
• QTextCharFormat charFormat(void)
• void clearSelection(void)
• int columnNumber(void)
• QTextList *createList(QTextListFormat)
• QTextFrame *currentFrame(void)
• QTextList *currentList(void)
• QTextTable *currentTable(void)
• void deleteChar(void)
• void deletePreviousChar(void)
• QTextDocument *document(void)
• void endEditBlock(void)
62.76. QTextCursor Class 691
Ring Documentation, Release 1.2
• bool hasComplexSelection(void)
• bool hasSelection(void)
• void insertBlock(void)
• void insertFragment(QTextDocumentFragment)
• QTextFrame *insertFrame(QTextFrameFormat)
• void insertHtml(QString)
• void insertImage(QTextImageFormat)
• QTextList *insertList(QTextListFormat)
• QTextTable * insertTable(int rows, int columns, QTextTableFormat)
• void insertText(QString)
• bool isCopyOf(QTextCursor)
• bool isNull(void)
• void joinPreviousEditBlock(void)
• bool keepPositionOnInsert(void)
• void mergeBlockCharFormat(QTextCharFormat)
• void mergeBlockFormat(QTextBlockFormat)
• void mergeCharFormat(QTextCharFormat)
• bool movePosition(QTextCursor::MoveOperation operation, QTextCursor::MoveMode mode, int n)
• int position(void)
• int positionInBlock(void)
• void removeSelectedText(void)
• void select(QTextCursor::SelectionType selection)
• void selectedTableCells(int *firstRow, int *numRows, int *firstColumn, int *numColumns)
• QString selectedText(void)
• QTextDocumentFragment selection(void)
• int selectionEnd(void)
• int selectionStart(void)
• void setBlockCharFormat(QTextCharFormat)
• void setBlockFormat(QTextBlockFormat)
• void setCharFormat(QTextCharFormat)
• void setKeepPositionOnInsert(bool b)
• void setPosition(int pos, QTextCursor::MoveMode m)
• void setVerticalMovementX(int x)
• void setVisualNavigation(bool b)
• int verticalMovementX(void)
• bool visualNavigation(void)
62.76. QTextCursor Class 692
Ring Documentation, Release 1.2
62.77 QColorDialog Class
C++ Reference : http://doc.qt.io/qt-5/QColorDialog.html
Parameters : void
Parent Class : QDialog
• QColor currentColor(void)
• void open(void)
• int options(void)
• QColor selectedColor(void)
• void setCurrentColor(QColor)
• void setOption(QColorDialog::ColorDialogOption option, bool on )
• void setOptions(QColorDialog::ColorDialogOption options)
• bool testOption(QColorDialog::ColorDialogOption option)
• QColor customColor(int index)
• int customCount(void)
• void setCustomColor(int index, int color)
• void setStandardColor(int index, int color)
• int getcolor(void)
62.78 QStringList Class
C++ Reference : http://doc.qt.io/qt-5/QStringList.html
Parameters : void
• QString join(QString)
• void sort(void)
• int removeDuplicates(void)
• QStringList filter(QString, Qt::CaseSensitivity)
• QStringList replaceInStrings(QString,QString, Qt::CaseSensitivity)
• void append(QString)
• QString at(int)
• QString back(void)
• void clear(void)
• bool contains(QString)
• int count(void)
• bool empty(void)
• bool endsWith(QString)
• QString first(void)
62.77. QColorDialog Class 693
Ring Documentation, Release 1.2
• QString front(void)
• int indexOf(QString, int)
• void insert(int, QString)
• bool isEmpty(void)
• QString last(void)
• int lastIndexOf(QString,int)
• int length(void)
• void move(int,int)
• void pop_back(void)
• void pop_front(void)
• void prepend(QString)
• void push_back(QString)
• void push_front(QString)
• int removeAll(QString)
• void removeAt(int)
• void removeFirst(void)
• void removeLast(void)
• bool removeOne(QString)
• void replace(int,QString)
• void reserve(int)
• int size(void)
• bool startsWith(QString)
• void swap(int,int)
• QString takeAt(int)
• QString takeFirst(void)
• QString takeLast(void)
• QString value(int)
62.79 QKeySequence Class
C++ Reference : http://doc.qt.io/qt-5/QKeySequence.html
Parameters : QString
62.79. QKeySequence Class 694
Ring Documentation, Release 1.2
62.80 QLCDNumber Class
C++ Reference : http://doc.qt.io/qt-5/QLCDNumber.html
Parameters : QWidget *
Parent Class : QFrame
• bool checkOverflow(double num)
• int digitCount(void)
• int intValue(void)
• int mode(void)
• int segmentStyle(void)
• void setDigitCount(int numDigits)
• void setMode(QLCDNumber::Mode)
• void setSegmentStyle(QLCDNumber::SegmentStyle)
• bool smallDecimalPoint(void)
• double value(void)
• void display(double)
• void setBinMode(void)
• void setDecMode(void)
• void setHexMode(void)
• void setOctMode(void)
• void setSmallDecimalPoint(bool)
62.81 QInputDialog Class
C++ Reference : http://doc.qt.io/qt-5/QInputDialog.html
Parameters : QWidget *
Parent Class : QDialog
• QString cancelButtonText(void)
• QStringList comboBoxItems(void)
• int doubleDecimals(void)
• double doubleMaximum(void)
• double doubleMinimum(void)
• double doubleValue(void)
• int inputMode(void)
• int intMaximum(void)
• int intMinimum(void)
• int intStep(void)
62.80. QLCDNumber Class 695
Ring Documentation, Release 1.2
• int intValue(void)
• bool isComboBoxEditable(void)
• QString labelText(void)
• QString okButtonText(void)
• void open(QObject *receiver, const char *member)
• int options(void)
• void setCancelButtonText(QString)
• void setComboBoxEditable(bool editable)
• void setComboBoxItems(QStringList)
• void setDoubleDecimals(int decimals)
• void setDoubleMaximum(double max)
• void setDoubleMinimum(double min)
• void setDoubleRange(double min, double max)
• void setDoubleValue(double value)
• void setInputMode(QInputDialog::InputMode mode)
• void setIntMaximum(int max)
• void setIntMinimum(int min)
• void setIntRange(int min, int max)
• void setIntStep(int step)
• void setIntValue(int value)
• void setLabelText(QString)
• void setOkButtonText(QString)
• void setOption(QInputDialog::InputDialogOption option, bool on)
• void setOptions(QInputDialog::InputDialogOption options)
• void setTextEchoMode(QLineEdit::EchoMode mode)
• void setTextValue(QString)
• bool testOption(QInputDialog::InputDialogOption option)
• int textEchoMode(void)
• QString textValue(void)
• double getDouble(QWidget *parent,QString,QString, double value, double min, double max , int decimals, bool
*ok, Qt::WindowType flags)
• int getInt(QWidget *parent,QString,QString, int value, int min, int max, int step, bool *ok, Qt::WindowType
flags)
62.81. QInputDialog Class 696
Ring Documentation, Release 1.2
62.82 QAllEvents Class
Parameters : QWidget *
Parent Class : QWidget
• void accept(void)
• void ignore(void)
• int getKeyCode(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)
• void setResizeEvent(const char *cStr)
• void setWindowActivateEvent(const char *cStr)
62.82. QAllEvents Class 697
Ring Documentation, Release 1.2
• void setWindowBlockedEvent(const char *cStr)
• void setWindowDeactivateEvent(const char *cStr)
• void setWindowStateChangeEvent(const char *cStr)
• void setWindowUnblockedEvent(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)
• const char *getWindowUnblockedEvent(void)
• void setEventOutput(bool x)
• QObject *getParentObject(void)
• QWidget *getParentWidget(void)
62.82. QAllEvents Class 698
Ring Documentation, Release 1.2
62.83 QDesktopWidget Class
C++ Reference : http://doc.qt.io/qt-5/QDesktopWidget.html
Parameters : void
Parent Class : QWidget
• QRect availableGeometry(int screen)
• bool isVirtualDesktop(void)
• int primaryScreen(void)
• QWidget *screen(int screen)
• int screenCount(void)
• QRect screenGeometry(int screen)
• int screenNumber(QWidget *widget)
62.84 QRect Class
C++ Reference : http://doc.qt.io/qt-5/QRect.html
Parameters : void
• void adjust(int dx1, int dy1, int dx2, int dy2)
• QRect adjusted(int dx1, int dy1, int dx2, int dy2)
• int bottom(void)
• QPoint bottomLeft(void)
• QPoint bottomRight(void)
• QPoint center(void)
• bool contains(int x, int y, bool proper)
• void getCoords(int *x1, int *y1, int *x2, int *y2)
• void getRect(int *x, int *y, int *width, int *height)
• int height(void)
• QRect intersected(QRect)
• bool intersects(QRect)
• bool isEmpty(void)
• bool isNull(void)
• bool isValid(void)
• int left(void)
• void moveBottom(int y)
• void moveBottomLeft(QPoint)
• void moveBottomRight(QPoint)
• void moveCenter(QPoint)
62.83. QDesktopWidget Class 699

More Related Content

What's hot

What's hot (20)

The Ring programming language version 1.8 book - Part 108 of 202
The Ring programming language version 1.8 book - Part 108 of 202The Ring programming language version 1.8 book - Part 108 of 202
The Ring programming language version 1.8 book - Part 108 of 202
 
The Ring programming language version 1.7 book - Part 99 of 196
The Ring programming language version 1.7 book - Part 99 of 196The Ring programming language version 1.7 book - Part 99 of 196
The Ring programming language version 1.7 book - Part 99 of 196
 
The Ring programming language version 1.3 book - Part 76 of 88
The Ring programming language version 1.3 book - Part 76 of 88The Ring programming language version 1.3 book - Part 76 of 88
The Ring programming language version 1.3 book - Part 76 of 88
 
The Ring programming language version 1.5.1 book - Part 167 of 180
The Ring programming language version 1.5.1 book - Part 167 of 180 The Ring programming language version 1.5.1 book - Part 167 of 180
The Ring programming language version 1.5.1 book - Part 167 of 180
 
The Ring programming language version 1.6 book - Part 170 of 189
The Ring programming language version 1.6 book - Part 170 of 189The Ring programming language version 1.6 book - Part 170 of 189
The Ring programming language version 1.6 book - Part 170 of 189
 
The Ring programming language version 1.4.1 book - Part 27 of 31
The Ring programming language version 1.4.1 book - Part 27 of 31The Ring programming language version 1.4.1 book - Part 27 of 31
The Ring programming language version 1.4.1 book - Part 27 of 31
 
The Ring programming language version 1.6 book - Part 171 of 189
The Ring programming language version 1.6 book - Part 171 of 189The Ring programming language version 1.6 book - Part 171 of 189
The Ring programming language version 1.6 book - Part 171 of 189
 
The Ring programming language version 1.10 book - Part 108 of 212
The Ring programming language version 1.10 book - Part 108 of 212The Ring programming language version 1.10 book - Part 108 of 212
The Ring programming language version 1.10 book - Part 108 of 212
 
The Ring programming language version 1.5.2 book - Part 168 of 181
The Ring programming language version 1.5.2 book - Part 168 of 181The Ring programming language version 1.5.2 book - Part 168 of 181
The Ring programming language version 1.5.2 book - Part 168 of 181
 
The Ring programming language version 1.8 book - Part 113 of 202
The Ring programming language version 1.8 book - Part 113 of 202The Ring programming language version 1.8 book - Part 113 of 202
The Ring programming language version 1.8 book - Part 113 of 202
 
The Ring programming language version 1.7 book - Part 109 of 196
The Ring programming language version 1.7 book - Part 109 of 196The Ring programming language version 1.7 book - Part 109 of 196
The Ring programming language version 1.7 book - Part 109 of 196
 
The Ring programming language version 1.5.2 book - Part 163 of 181
The Ring programming language version 1.5.2 book - Part 163 of 181The Ring programming language version 1.5.2 book - Part 163 of 181
The Ring programming language version 1.5.2 book - Part 163 of 181
 
The Ring programming language version 1.9 book - Part 109 of 210
The Ring programming language version 1.9 book - Part 109 of 210The Ring programming language version 1.9 book - Part 109 of 210
The Ring programming language version 1.9 book - Part 109 of 210
 
The Ring programming language version 1.2 book - Part 75 of 84
The Ring programming language version 1.2 book - Part 75 of 84The Ring programming language version 1.2 book - Part 75 of 84
The Ring programming language version 1.2 book - Part 75 of 84
 
The Ring programming language version 1.5.3 book - Part 183 of 194
The Ring programming language version 1.5.3 book - Part 183 of 194The Ring programming language version 1.5.3 book - Part 183 of 194
The Ring programming language version 1.5.3 book - Part 183 of 194
 
The Ring programming language version 1.6 book - Part 175 of 189
The Ring programming language version 1.6 book - Part 175 of 189The Ring programming language version 1.6 book - Part 175 of 189
The Ring programming language version 1.6 book - Part 175 of 189
 
The Ring programming language version 1.9 book - Part 117 of 210
The Ring programming language version 1.9 book - Part 117 of 210The Ring programming language version 1.9 book - Part 117 of 210
The Ring programming language version 1.9 book - Part 117 of 210
 
The Ring programming language version 1.5.1 book - Part 159 of 180
The Ring programming language version 1.5.1 book - Part 159 of 180 The Ring programming language version 1.5.1 book - Part 159 of 180
The Ring programming language version 1.5.1 book - Part 159 of 180
 
The Ring programming language version 1.5 book - Part 29 of 31
The Ring programming language version 1.5 book - Part 29 of 31The Ring programming language version 1.5 book - Part 29 of 31
The Ring programming language version 1.5 book - Part 29 of 31
 
The Ring programming language version 1.8 book - Part 111 of 202
The Ring programming language version 1.8 book - Part 111 of 202The Ring programming language version 1.8 book - Part 111 of 202
The Ring programming language version 1.8 book - Part 111 of 202
 

Viewers also liked

Viewers also liked (16)

Bachelor_thesis
Bachelor_thesisBachelor_thesis
Bachelor_thesis
 
Try Cloud Spanner
Try Cloud SpannerTry Cloud Spanner
Try Cloud Spanner
 
Article_Subclones_BIG
Article_Subclones_BIGArticle_Subclones_BIG
Article_Subclones_BIG
 
The Ring programming language version 1.2 book - Part 67 of 84
The Ring programming language version 1.2 book - Part 67 of 84The Ring programming language version 1.2 book - Part 67 of 84
The Ring programming language version 1.2 book - Part 67 of 84
 
The Ring programming language version 1.2 book - Part 64 of 84
The Ring programming language version 1.2 book - Part 64 of 84The Ring programming language version 1.2 book - Part 64 of 84
The Ring programming language version 1.2 book - Part 64 of 84
 
The Ring programming language version 1.2 book - Part 66 of 84
The Ring programming language version 1.2 book - Part 66 of 84The Ring programming language version 1.2 book - Part 66 of 84
The Ring programming language version 1.2 book - Part 66 of 84
 
The Ring programming language version 1.2 book - Part 68 of 84
The Ring programming language version 1.2 book - Part 68 of 84The Ring programming language version 1.2 book - Part 68 of 84
The Ring programming language version 1.2 book - Part 68 of 84
 
venkat resume
venkat resumevenkat resume
venkat resume
 
The Ring programming language version 1.2 book - Part 57 of 84
The Ring programming language version 1.2 book - Part 57 of 84The Ring programming language version 1.2 book - Part 57 of 84
The Ring programming language version 1.2 book - Part 57 of 84
 
The Ring programming language version 1.2 book - Part 76 of 84
The Ring programming language version 1.2 book - Part 76 of 84The Ring programming language version 1.2 book - Part 76 of 84
The Ring programming language version 1.2 book - Part 76 of 84
 
The Ring programming language version 1.2 book - Part 58 of 84
The Ring programming language version 1.2 book - Part 58 of 84The Ring programming language version 1.2 book - Part 58 of 84
The Ring programming language version 1.2 book - Part 58 of 84
 
The Ring programming language version 1.2 book - Part 55 of 84
The Ring programming language version 1.2 book - Part 55 of 84The Ring programming language version 1.2 book - Part 55 of 84
The Ring programming language version 1.2 book - Part 55 of 84
 
The Ring programming language version 1.2 book - Part 59 of 84
The Ring programming language version 1.2 book - Part 59 of 84The Ring programming language version 1.2 book - Part 59 of 84
The Ring programming language version 1.2 book - Part 59 of 84
 
The Ring programming language version 1.2 book - Part 54 of 84
The Ring programming language version 1.2 book - Part 54 of 84The Ring programming language version 1.2 book - Part 54 of 84
The Ring programming language version 1.2 book - Part 54 of 84
 
The Ring programming language version 1.2 book - Part 52 of 84
The Ring programming language version 1.2 book - Part 52 of 84The Ring programming language version 1.2 book - Part 52 of 84
The Ring programming language version 1.2 book - Part 52 of 84
 
The Ring programming language version 1.2 book - Part 53 of 84
The Ring programming language version 1.2 book - Part 53 of 84The Ring programming language version 1.2 book - Part 53 of 84
The Ring programming language version 1.2 book - Part 53 of 84
 

More from Mahmoud Samir Fayed

More from Mahmoud Samir Fayed (20)

The Ring programming language version 1.10 book - Part 212 of 212
The Ring programming language version 1.10 book - Part 212 of 212The Ring programming language version 1.10 book - Part 212 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 211 of 212The Ring programming language version 1.10 book - Part 211 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 210 of 212The Ring programming language version 1.10 book - Part 210 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 208 of 212The Ring programming language version 1.10 book - Part 208 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 207 of 212The Ring programming language version 1.10 book - Part 207 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 205 of 212The Ring programming language version 1.10 book - Part 205 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 206 of 212The Ring programming language version 1.10 book - Part 206 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 204 of 212The Ring programming language version 1.10 book - Part 204 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 203 of 212The Ring programming language version 1.10 book - Part 203 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 202 of 212The Ring programming language version 1.10 book - Part 202 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 201 of 212The Ring programming language version 1.10 book - Part 201 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 200 of 212The Ring programming language version 1.10 book - Part 200 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 199 of 212The Ring programming language version 1.10 book - Part 199 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 198 of 212The Ring programming language version 1.10 book - Part 198 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 197 of 212The Ring programming language version 1.10 book - Part 197 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 196 of 212The Ring programming language version 1.10 book - Part 196 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 195 of 212The Ring programming language version 1.10 book - Part 195 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 194 of 212The Ring programming language version 1.10 book - Part 194 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 193 of 212The Ring programming language version 1.10 book - Part 193 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
The Ring programming language version 1.10 book - Part 192 of 212The Ring programming language version 1.10 book - Part 192 of 212
The Ring programming language version 1.10 book - Part 192 of 212
 

The Ring programming language version 1.2 book - Part 72 of 84

  • 1. Ring Documentation, Release 1.2 • bool isReadOnly(void) • bool lazyChildCount(void) • QModelIndex mkdir(QModelIndex parent, QString name) • QStringList nameFilters(void) • bool remove(QModelIndex index) • bool resolveSymlinks(void) • bool rmdir(QModelIndex index) • void setFilter(QDir::Filter filters) • void setIconProvider(QFileIconProvider *provider) • void setLazyChildCount(bool enable) • void setNameFilters(QStringList filters) • void setReadOnly(bool enable) • void setResolveSymlinks(bool enable) • void setSorting(QDir::SortFlag sort) • int sorting(void) • void refresh(QModelIndex parent) 62.74 QFontDialog Class C++ Reference : http://doc.qt.io/qt-5/QFontDialog.html Parameters : void Parent Class : QDialog • QFont currentFont(void) • void open(QObject *receiver, const char *member) • int options(void) • QFont selectedFont(void) • void setCurrentFont(QFont) • void setOption(QFontDialog::FontDialogOption option, bool on) • void setOptions(QFontDialog::FontDialogOption options) • bool testOption(QFontDialog::FontDialogOption option) • int getfont(void) 62.75 QDialog Class C++ Reference : http://doc.qt.io/qt-5/QDialog.html Parameters : QWidget *parent Parent Class : QWidget 62.74. QFontDialog Class 690
  • 2. Ring Documentation, Release 1.2 • bool isSizeGripEnabled(void) • int result(void) • void setModal(bool modal) • void setResult(int i) • void setSizeGripEnabled(bool) • void accept(void) • void done(int r) # In RingQt use : void donedialog(int r) • int exec(void) • void open(void) • void reject(void) 62.76 QTextCursor Class C++ Reference : http://doc.qt.io/qt-5/QTextCursor.html Parameters : void • int anchor(void) • bool atBlockEnd(void) • bool atBlockStart(void) • bool atEnd(void) • bool atStart(void) • void beginEditBlock(void) • QTextBlock block(void) • QTextCharFormat blockCharFormat(void) • QTextBlockFormat blockFormat(void) • int blockNumber(void) • QTextCharFormat charFormat(void) • void clearSelection(void) • int columnNumber(void) • QTextList *createList(QTextListFormat) • QTextFrame *currentFrame(void) • QTextList *currentList(void) • QTextTable *currentTable(void) • void deleteChar(void) • void deletePreviousChar(void) • QTextDocument *document(void) • void endEditBlock(void) 62.76. QTextCursor Class 691
  • 3. Ring Documentation, Release 1.2 • bool hasComplexSelection(void) • bool hasSelection(void) • void insertBlock(void) • void insertFragment(QTextDocumentFragment) • QTextFrame *insertFrame(QTextFrameFormat) • void insertHtml(QString) • void insertImage(QTextImageFormat) • QTextList *insertList(QTextListFormat) • QTextTable * insertTable(int rows, int columns, QTextTableFormat) • void insertText(QString) • bool isCopyOf(QTextCursor) • bool isNull(void) • void joinPreviousEditBlock(void) • bool keepPositionOnInsert(void) • void mergeBlockCharFormat(QTextCharFormat) • void mergeBlockFormat(QTextBlockFormat) • void mergeCharFormat(QTextCharFormat) • bool movePosition(QTextCursor::MoveOperation operation, QTextCursor::MoveMode mode, int n) • int position(void) • int positionInBlock(void) • void removeSelectedText(void) • void select(QTextCursor::SelectionType selection) • void selectedTableCells(int *firstRow, int *numRows, int *firstColumn, int *numColumns) • QString selectedText(void) • QTextDocumentFragment selection(void) • int selectionEnd(void) • int selectionStart(void) • void setBlockCharFormat(QTextCharFormat) • void setBlockFormat(QTextBlockFormat) • void setCharFormat(QTextCharFormat) • void setKeepPositionOnInsert(bool b) • void setPosition(int pos, QTextCursor::MoveMode m) • void setVerticalMovementX(int x) • void setVisualNavigation(bool b) • int verticalMovementX(void) • bool visualNavigation(void) 62.76. QTextCursor Class 692
  • 4. Ring Documentation, Release 1.2 62.77 QColorDialog Class C++ Reference : http://doc.qt.io/qt-5/QColorDialog.html Parameters : void Parent Class : QDialog • QColor currentColor(void) • void open(void) • int options(void) • QColor selectedColor(void) • void setCurrentColor(QColor) • void setOption(QColorDialog::ColorDialogOption option, bool on ) • void setOptions(QColorDialog::ColorDialogOption options) • bool testOption(QColorDialog::ColorDialogOption option) • QColor customColor(int index) • int customCount(void) • void setCustomColor(int index, int color) • void setStandardColor(int index, int color) • int getcolor(void) 62.78 QStringList Class C++ Reference : http://doc.qt.io/qt-5/QStringList.html Parameters : void • QString join(QString) • void sort(void) • int removeDuplicates(void) • QStringList filter(QString, Qt::CaseSensitivity) • QStringList replaceInStrings(QString,QString, Qt::CaseSensitivity) • void append(QString) • QString at(int) • QString back(void) • void clear(void) • bool contains(QString) • int count(void) • bool empty(void) • bool endsWith(QString) • QString first(void) 62.77. QColorDialog Class 693
  • 5. Ring Documentation, Release 1.2 • QString front(void) • int indexOf(QString, int) • void insert(int, QString) • bool isEmpty(void) • QString last(void) • int lastIndexOf(QString,int) • int length(void) • void move(int,int) • void pop_back(void) • void pop_front(void) • void prepend(QString) • void push_back(QString) • void push_front(QString) • int removeAll(QString) • void removeAt(int) • void removeFirst(void) • void removeLast(void) • bool removeOne(QString) • void replace(int,QString) • void reserve(int) • int size(void) • bool startsWith(QString) • void swap(int,int) • QString takeAt(int) • QString takeFirst(void) • QString takeLast(void) • QString value(int) 62.79 QKeySequence Class C++ Reference : http://doc.qt.io/qt-5/QKeySequence.html Parameters : QString 62.79. QKeySequence Class 694
  • 6. Ring Documentation, Release 1.2 62.80 QLCDNumber Class C++ Reference : http://doc.qt.io/qt-5/QLCDNumber.html Parameters : QWidget * Parent Class : QFrame • bool checkOverflow(double num) • int digitCount(void) • int intValue(void) • int mode(void) • int segmentStyle(void) • void setDigitCount(int numDigits) • void setMode(QLCDNumber::Mode) • void setSegmentStyle(QLCDNumber::SegmentStyle) • bool smallDecimalPoint(void) • double value(void) • void display(double) • void setBinMode(void) • void setDecMode(void) • void setHexMode(void) • void setOctMode(void) • void setSmallDecimalPoint(bool) 62.81 QInputDialog Class C++ Reference : http://doc.qt.io/qt-5/QInputDialog.html Parameters : QWidget * Parent Class : QDialog • QString cancelButtonText(void) • QStringList comboBoxItems(void) • int doubleDecimals(void) • double doubleMaximum(void) • double doubleMinimum(void) • double doubleValue(void) • int inputMode(void) • int intMaximum(void) • int intMinimum(void) • int intStep(void) 62.80. QLCDNumber Class 695
  • 7. Ring Documentation, Release 1.2 • int intValue(void) • bool isComboBoxEditable(void) • QString labelText(void) • QString okButtonText(void) • void open(QObject *receiver, const char *member) • int options(void) • void setCancelButtonText(QString) • void setComboBoxEditable(bool editable) • void setComboBoxItems(QStringList) • void setDoubleDecimals(int decimals) • void setDoubleMaximum(double max) • void setDoubleMinimum(double min) • void setDoubleRange(double min, double max) • void setDoubleValue(double value) • void setInputMode(QInputDialog::InputMode mode) • void setIntMaximum(int max) • void setIntMinimum(int min) • void setIntRange(int min, int max) • void setIntStep(int step) • void setIntValue(int value) • void setLabelText(QString) • void setOkButtonText(QString) • void setOption(QInputDialog::InputDialogOption option, bool on) • void setOptions(QInputDialog::InputDialogOption options) • void setTextEchoMode(QLineEdit::EchoMode mode) • void setTextValue(QString) • bool testOption(QInputDialog::InputDialogOption option) • int textEchoMode(void) • QString textValue(void) • double getDouble(QWidget *parent,QString,QString, double value, double min, double max , int decimals, bool *ok, Qt::WindowType flags) • int getInt(QWidget *parent,QString,QString, int value, int min, int max, int step, bool *ok, Qt::WindowType flags) 62.81. QInputDialog Class 696
  • 8. Ring Documentation, Release 1.2 62.82 QAllEvents Class Parameters : QWidget * Parent Class : QWidget • void accept(void) • void ignore(void) • int getKeyCode(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) • void setResizeEvent(const char *cStr) • void setWindowActivateEvent(const char *cStr) 62.82. QAllEvents Class 697
  • 9. Ring Documentation, Release 1.2 • void setWindowBlockedEvent(const char *cStr) • void setWindowDeactivateEvent(const char *cStr) • void setWindowStateChangeEvent(const char *cStr) • void setWindowUnblockedEvent(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) • const char *getWindowUnblockedEvent(void) • void setEventOutput(bool x) • QObject *getParentObject(void) • QWidget *getParentWidget(void) 62.82. QAllEvents Class 698
  • 10. Ring Documentation, Release 1.2 62.83 QDesktopWidget Class C++ Reference : http://doc.qt.io/qt-5/QDesktopWidget.html Parameters : void Parent Class : QWidget • QRect availableGeometry(int screen) • bool isVirtualDesktop(void) • int primaryScreen(void) • QWidget *screen(int screen) • int screenCount(void) • QRect screenGeometry(int screen) • int screenNumber(QWidget *widget) 62.84 QRect Class C++ Reference : http://doc.qt.io/qt-5/QRect.html Parameters : void • void adjust(int dx1, int dy1, int dx2, int dy2) • QRect adjusted(int dx1, int dy1, int dx2, int dy2) • int bottom(void) • QPoint bottomLeft(void) • QPoint bottomRight(void) • QPoint center(void) • bool contains(int x, int y, bool proper) • void getCoords(int *x1, int *y1, int *x2, int *y2) • void getRect(int *x, int *y, int *width, int *height) • int height(void) • QRect intersected(QRect) • bool intersects(QRect) • bool isEmpty(void) • bool isNull(void) • bool isValid(void) • int left(void) • void moveBottom(int y) • void moveBottomLeft(QPoint) • void moveBottomRight(QPoint) • void moveCenter(QPoint) 62.83. QDesktopWidget Class 699