SlideShare a Scribd company logo
Ring Documentation, Release 1.3
• int getInt(QWidget *parent,QString,QString, int value, int min, int max, int step, bool *ok, Qt::WindowType
flags)
67.87 QAllEvents Class
Parameters : QWidget *
Parent Class : QWidget
• void accept(void)
• void ignore(void)
• int getKeyCode(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)
67.87. QAllEvents Class 728
Ring Documentation, Release 1.3
• void setMoveEvent(const char *cStr)
• 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)
• 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)
• const char *getPaintEvent(void)
67.87. QAllEvents Class 729
Ring Documentation, Release 1.3
• void setEventOutput(bool x)
• QObject *getParentObject(void)
• QWidget *getParentWidget(void)
67.88 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)
67.89 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)
67.88. QDesktopWidget Class 730
Ring Documentation, Release 1.3
• void moveBottom(int y)
• void moveBottomLeft(QPoint)
• void moveBottomRight(QPoint)
• void moveCenter(QPoint)
• void moveLeft(int x)
• void moveRight(int x)
• void moveTo(int x, int y)
• void moveTop(int y)
• void moveTopLeft(QPoint)
• void moveTopRight(QPoint)
• QRect normalized(void)
• int right(void)
• void setBottom(int y)
• void setBottomLeft(QPoint)
• void setBottomRight(QPoint)
• void setCoords(int x1, int y1, int x2, int y2)
• void setHeight(int height)
• void setLeft(int x)
• void setRect(int x, int y, int width, int height)
• void setRight(int x)
• void setSize(QSize)
• void setTop(int y)
• void setTopLeft(QPoint)
• void setTopRight(QPoint)
• void setWidth(int width)
• void setX(int x)
• void setY(int y)
• QSize size(void)
• int top(void)
• QPoint topLeft(void)
• QPoint topRight(void)
• void translate(int dx, int dy)
• QRect translated(int dx, int dy)
• QRect united(QRect)
• int width(void)
• int x(void)
67.89. QRect Class 731
Ring Documentation, Release 1.3
• int y(void)
67.90 QTextDocument Class
C++ Reference : http://doc.qt.io/qt-5/QTextDocument.html
Parameters : void
Parent Class : QObject
• void addResource(int type,QUrl name, QVariant resource)
• void adjustSize(void)
• QVector<QTextFormat> allFormats(void)
• int availableRedoSteps(void)
• int availableUndoSteps(void)
• QTextBlock begin(void)
• int blockCount(void)
• QChar characterAt(int pos)
• int characterCount(void)
• void clearUndoRedoStacks(QTextDocument::Stacks stacksToClear )
• QTextDocument *clone(QObject *parent )
• int defaultCursorMoveStyle(void)
• QFont defaultFont(void)
• QString defaultStyleSheet(void)
• QTextOption defaultTextOption(void)
• QAbstractTextDocumentLayout *documentLayout(void)
• double documentMargin(void)
• void drawContents(QPainter *p, QRectF rect)
• QTextBlock end(void) # In RingQt use : QTextBlock enddoc(void)
• QTextCursor find(QString subString, QTextCursor cursor, QTextDocument::FindFlag options )
• QTextBlock findBlock(int pos)
• QTextBlock findBlockByLineNumber(int lineNumber)
• QTextBlock findBlockByNumber(int blockNumber)
• QTextBlock firstBlock(void)
• double idealWidth(void)
• double indentWidth(void)
• bool isEmpty(void)
• bool isModified(void)
• bool isRedoAvailable(void)
67.90. QTextDocument Class 732
Ring Documentation, Release 1.3
• bool isUndoAvailable(void)
• bool isUndoRedoEnabled(void)
• QTextBlock lastBlock(void)
• int lineCount(void)
• void markContentsDirty(int position, int length)
• int maximumBlockCount(void)
• QString metaInformation(QTextDocument::MetaInformation info)
• QTextObject *object(int objectIndex)
• QTextObject *objectForFormat(QTextFormat f)
• int pageCount(void)
• QSizeF pageSize(void)
• void print(QPrinter *printer)
• void redo(QTextCursor *cursor)
• QVariant resource(int type, QUrl name)
• int revision(void)
• QTextFrame *rootFrame(void)
• void setDefaultCursorMoveStyle(Qt::CursorMoveStyle style)
• void setDefaultFont(QFont font)
• void setDefaultStyleSheet(QString sheet)
• void setDefaultTextOption(QTextOption option)
• void setDocumentLayout(QAbstractTextDocumentLayout * layout)
• void setDocumentMargin(double margin)
• void setHtml(QString html)
• void setIndentWidth(double width)
• void setMaximumBlockCount(int maximum)
• void setMetaInformation(QTextDocument::MetaInformation info, QString string)
• void setPageSize(QSizeF size)
• void setPlainText(QString text)
• void setTextWidth(double width)
• void setUndoRedoEnabled(bool enable)
• void setUseDesignMetrics(bool b)
• QSizeF size(void)
• qreal textWidth(void)
• QString toHtml(QByteArray encoding)
• QString toPlainText(void)
• void undo(QTextCursor *cursor)
67.90. QTextDocument Class 733
Ring Documentation, Release 1.3
• bool useDesignMetrics(void)
• void setModified(bool m)
67.91 QTextBlock Class
C++ Reference : http://doc.qt.io/qt-5/QTextBlock.html
Parameters : void
• int blockFormatIndex(void)
• int blockNumber(void)
• QTextCharFormat charFormat(void)
• int charFormatIndex(void)
• void clearLayout(void)
• bool contains(int position)
• QTextDocument *document(void)
• bool isValid(void)
• bool isVisible(void)
• QTextLayout * layout(void)
• int length(void)
• int lineCount(void)
• QTextBlock next(void) # In RingQt use : QTextBlock nextblock(void)
• int position(void)
• QTextBlock previous(void)
• int revision(void)
• void setLineCount(int count)
• void setRevision(int rev)
• void setUserData(QTextBlockUserData * data)
• void setUserState(int state)
• void setVisible(bool visible)
• QString text(void)
• int textDirection(void)
• QTextList * textList(void)
• QTextBlockUserData * userData(void)
• int userState(void)
67.91. QTextBlock Class 734
Ring Documentation, Release 1.3
67.92 QTime Class
C++ Reference : http://doc.qt.io/qt-5/QTime.html
Parameters : void
• QTime addMSecs(int ms)
• QTime addSecs(int s)
• int elapsed(void)
• int hour(void)
• bool isNull(void)
• bool isValid(void)
• int minute(void)
• int msec(void)
• int msecsSinceStartOfDay(void)
• int msecsTo(QTime)
• int restart(void)
• int second(void)
• int secsTo(QTime)
• bool setHMS(int h, int m, int s, int ms)
• void start(void)
• QString toString(QString)
• QTime currentTime(void)
• QTime fromMSecsSinceStartOfDay(int msecs)
• QTime fromString(QString,QString)
67.93 QListWidgetItem Class
C++ Reference : http://doc.qt.io/qt-5/QListWidgetItem.html
Parameters : void
• QBrush background(void)
• Qt::CheckState checkState(void)
• Qt::ItemFlags flags(void)
• QFont font(void)
• QBrush foreground(void)
• QIcon icon(void)
• bool isHidden(void)
• bool isSelected(void)
• QListWidget *listWidget(void)
67.92. QTime Class 735
Ring Documentation, Release 1.3
• void setBackground(QBrush brush)
• void setCheckState(Qt::CheckState state)
• void setFlags(Qt::ItemFlags flags)
• void setFont(QFont font)
• void setForeground(QBrush brush)
• void setHidden(bool hide)
• void setIcon(QIcon icon)
• void setSelected(bool select)
• void setSizeHint(QSize size)
• void setStatusTip(QString statusTip)
• void setText(QString text)
• void setTextAlignment(int alignment)
• void setToolTip(QString toolTip)
• void setWhatsThis(QString whatsThis)
• QSize sizeHint(void)
• QString statusTip(void)
• QString text(void)
• int textAlignment(void)
• QString toolTip(void)
• int type(void)
• QString whatsThis(void)
67.94 QSystemTrayIcon Class
C++ Reference : http://doc.qt.io/qt-5/QSystemTrayIcon.html
Parameters : void
• QMenu *contextMenu(void)
• QRect geometry(void)
• QIcon icon(void)
• bool isVisible(void)
• void setContextMenu(QMenu *menu)
• void setIcon(QIcon)
• void setToolTip(QString)
• QString toolTip(void)
• void hide(void)
• void setVisible(bool visible)
67.94. QSystemTrayIcon Class 736
Ring Documentation, Release 1.3
• void show(void)
• void showMessage(QString, QString, QSystemTrayIcon::MessageIcon, int millisecondsTimeoutHint)
• bool isSystemTrayAvailable(void)
• bool supportsMessages(void)
67.95 QDate Class
C++ Reference : http://doc.qt.io/qt-5/QDate.html
Parameters : void
• QDate addDays(int ndays)
• QDate addMonths(int nmonths)
• QDate addYears(int nyears)
• int day(void)
• int dayOfWeek(void)
• int dayOfYear(void)
• int daysInMonth(void)
• int daysInYear(void)
• int daysTo(QDate)
• void getDate(int * year, int * month, int * day)
• bool isNull(void)
• bool isValid(void)
• int month(void)
• bool setDate(int year, int month, int day)
• int toJulianDay(void)
• QString toString(QString)
• int weekNumber(int * yearNumber)
• int year(void)
• QDate currentDate(void)
• QDate fromJulianDay(int jd)
• QDate fromString(QString, QString)
• bool isLeapYear(int year)
• QString longDayName(int weekday)
• QString longMonthName(int month)
• QString shortDayName(int weekday)
• QString shortMonthName(int month)
67.95. QDate Class 737

More Related Content

PDF
The Ring programming language version 1.2 book - Part 72 of 84
PDF
The Ring programming language version 1.2 book - Part 71 of 84
PDF
The Ring programming language version 1.2 book - Part 73 of 84
PDF
The Ring programming language version 1.2 book - Part 70 of 84
PDF
The Ring programming language version 1.2 book - Part 74 of 84
PDF
The Ring programming language version 1.2 book - Part 65 of 84
PDF
The Ring programming language version 1.10 book - Part 108 of 212
PDF
The Ring programming language version 1.5.3 book - Part 177 of 194
The Ring programming language version 1.2 book - Part 72 of 84
The Ring programming language version 1.2 book - Part 71 of 84
The Ring programming language version 1.2 book - Part 73 of 84
The Ring programming language version 1.2 book - Part 70 of 84
The Ring programming language version 1.2 book - Part 74 of 84
The Ring programming language version 1.2 book - Part 65 of 84
The Ring programming language version 1.10 book - Part 108 of 212
The Ring programming language version 1.5.3 book - Part 177 of 194

What's hot (20)

PDF
The Ring programming language version 1.5 book - Part 29 of 31
PDF
The Ring programming language version 1.7 book - Part 95 of 196
PDF
The Ring programming language version 1.5.2 book - Part 162 of 181
PDF
The Ring programming language version 1.8 book - Part 104 of 202
PDF
The Ring programming language version 1.6 book - Part 174 of 189
PDF
The Ring programming language version 1.8 book - Part 103 of 202
PDF
The Ring programming language version 1.3 book - Part 72 of 88
PDF
The Ring programming language version 1.7 book - Part 111 of 196
PDF
The Ring programming language version 1.8 book - Part 113 of 202
PDF
The Ring programming language version 1.5.4 book - Part 171 of 185
PDF
The Ring programming language version 1.5.1 book - Part 159 of 180
PDF
The Ring programming language version 1.10 book - Part 122 of 212
PDF
The Ring programming language version 1.9 book - Part 110 of 210
PDF
The Ring programming language version 1.8 book - Part 108 of 202
PDF
The Ring programming language version 1.7 book - Part 99 of 196
PDF
The Ring programming language version 1.5.3 book - Part 181 of 194
PDF
The Ring programming language version 1.7 book - Part 100 of 196
PDF
The Ring programming language version 1.6 book - Part 171 of 189
PDF
The Ring programming language version 1.5.2 book - Part 168 of 181
PDF
The Ring programming language version 1.6 book - Part 180 of 189
The Ring programming language version 1.5 book - Part 29 of 31
The Ring programming language version 1.7 book - Part 95 of 196
The Ring programming language version 1.5.2 book - Part 162 of 181
The Ring programming language version 1.8 book - Part 104 of 202
The Ring programming language version 1.6 book - Part 174 of 189
The Ring programming language version 1.8 book - Part 103 of 202
The Ring programming language version 1.3 book - Part 72 of 88
The Ring programming language version 1.7 book - Part 111 of 196
The Ring programming language version 1.8 book - Part 113 of 202
The Ring programming language version 1.5.4 book - Part 171 of 185
The Ring programming language version 1.5.1 book - Part 159 of 180
The Ring programming language version 1.10 book - Part 122 of 212
The Ring programming language version 1.9 book - Part 110 of 210
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.5.3 book - Part 181 of 194
The Ring programming language version 1.7 book - Part 100 of 196
The Ring programming language version 1.6 book - Part 171 of 189
The Ring programming language version 1.5.2 book - Part 168 of 181
The Ring programming language version 1.6 book - Part 180 of 189
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
Ad

The Ring programming language version 1.3 book - Part 76 of 88

  • 1. Ring Documentation, Release 1.3 • int getInt(QWidget *parent,QString,QString, int value, int min, int max, int step, bool *ok, Qt::WindowType flags) 67.87 QAllEvents Class Parameters : QWidget * Parent Class : QWidget • void accept(void) • void ignore(void) • int getKeyCode(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) 67.87. QAllEvents Class 728
  • 2. Ring Documentation, Release 1.3 • void setMoveEvent(const char *cStr) • 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) • 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) • const char *getPaintEvent(void) 67.87. QAllEvents Class 729
  • 3. Ring Documentation, Release 1.3 • void setEventOutput(bool x) • QObject *getParentObject(void) • QWidget *getParentWidget(void) 67.88 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) 67.89 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) 67.88. QDesktopWidget Class 730
  • 4. Ring Documentation, Release 1.3 • void moveBottom(int y) • void moveBottomLeft(QPoint) • void moveBottomRight(QPoint) • void moveCenter(QPoint) • void moveLeft(int x) • void moveRight(int x) • void moveTo(int x, int y) • void moveTop(int y) • void moveTopLeft(QPoint) • void moveTopRight(QPoint) • QRect normalized(void) • int right(void) • void setBottom(int y) • void setBottomLeft(QPoint) • void setBottomRight(QPoint) • void setCoords(int x1, int y1, int x2, int y2) • void setHeight(int height) • void setLeft(int x) • void setRect(int x, int y, int width, int height) • void setRight(int x) • void setSize(QSize) • void setTop(int y) • void setTopLeft(QPoint) • void setTopRight(QPoint) • void setWidth(int width) • void setX(int x) • void setY(int y) • QSize size(void) • int top(void) • QPoint topLeft(void) • QPoint topRight(void) • void translate(int dx, int dy) • QRect translated(int dx, int dy) • QRect united(QRect) • int width(void) • int x(void) 67.89. QRect Class 731
  • 5. Ring Documentation, Release 1.3 • int y(void) 67.90 QTextDocument Class C++ Reference : http://doc.qt.io/qt-5/QTextDocument.html Parameters : void Parent Class : QObject • void addResource(int type,QUrl name, QVariant resource) • void adjustSize(void) • QVector<QTextFormat> allFormats(void) • int availableRedoSteps(void) • int availableUndoSteps(void) • QTextBlock begin(void) • int blockCount(void) • QChar characterAt(int pos) • int characterCount(void) • void clearUndoRedoStacks(QTextDocument::Stacks stacksToClear ) • QTextDocument *clone(QObject *parent ) • int defaultCursorMoveStyle(void) • QFont defaultFont(void) • QString defaultStyleSheet(void) • QTextOption defaultTextOption(void) • QAbstractTextDocumentLayout *documentLayout(void) • double documentMargin(void) • void drawContents(QPainter *p, QRectF rect) • QTextBlock end(void) # In RingQt use : QTextBlock enddoc(void) • QTextCursor find(QString subString, QTextCursor cursor, QTextDocument::FindFlag options ) • QTextBlock findBlock(int pos) • QTextBlock findBlockByLineNumber(int lineNumber) • QTextBlock findBlockByNumber(int blockNumber) • QTextBlock firstBlock(void) • double idealWidth(void) • double indentWidth(void) • bool isEmpty(void) • bool isModified(void) • bool isRedoAvailable(void) 67.90. QTextDocument Class 732
  • 6. Ring Documentation, Release 1.3 • bool isUndoAvailable(void) • bool isUndoRedoEnabled(void) • QTextBlock lastBlock(void) • int lineCount(void) • void markContentsDirty(int position, int length) • int maximumBlockCount(void) • QString metaInformation(QTextDocument::MetaInformation info) • QTextObject *object(int objectIndex) • QTextObject *objectForFormat(QTextFormat f) • int pageCount(void) • QSizeF pageSize(void) • void print(QPrinter *printer) • void redo(QTextCursor *cursor) • QVariant resource(int type, QUrl name) • int revision(void) • QTextFrame *rootFrame(void) • void setDefaultCursorMoveStyle(Qt::CursorMoveStyle style) • void setDefaultFont(QFont font) • void setDefaultStyleSheet(QString sheet) • void setDefaultTextOption(QTextOption option) • void setDocumentLayout(QAbstractTextDocumentLayout * layout) • void setDocumentMargin(double margin) • void setHtml(QString html) • void setIndentWidth(double width) • void setMaximumBlockCount(int maximum) • void setMetaInformation(QTextDocument::MetaInformation info, QString string) • void setPageSize(QSizeF size) • void setPlainText(QString text) • void setTextWidth(double width) • void setUndoRedoEnabled(bool enable) • void setUseDesignMetrics(bool b) • QSizeF size(void) • qreal textWidth(void) • QString toHtml(QByteArray encoding) • QString toPlainText(void) • void undo(QTextCursor *cursor) 67.90. QTextDocument Class 733
  • 7. Ring Documentation, Release 1.3 • bool useDesignMetrics(void) • void setModified(bool m) 67.91 QTextBlock Class C++ Reference : http://doc.qt.io/qt-5/QTextBlock.html Parameters : void • int blockFormatIndex(void) • int blockNumber(void) • QTextCharFormat charFormat(void) • int charFormatIndex(void) • void clearLayout(void) • bool contains(int position) • QTextDocument *document(void) • bool isValid(void) • bool isVisible(void) • QTextLayout * layout(void) • int length(void) • int lineCount(void) • QTextBlock next(void) # In RingQt use : QTextBlock nextblock(void) • int position(void) • QTextBlock previous(void) • int revision(void) • void setLineCount(int count) • void setRevision(int rev) • void setUserData(QTextBlockUserData * data) • void setUserState(int state) • void setVisible(bool visible) • QString text(void) • int textDirection(void) • QTextList * textList(void) • QTextBlockUserData * userData(void) • int userState(void) 67.91. QTextBlock Class 734
  • 8. Ring Documentation, Release 1.3 67.92 QTime Class C++ Reference : http://doc.qt.io/qt-5/QTime.html Parameters : void • QTime addMSecs(int ms) • QTime addSecs(int s) • int elapsed(void) • int hour(void) • bool isNull(void) • bool isValid(void) • int minute(void) • int msec(void) • int msecsSinceStartOfDay(void) • int msecsTo(QTime) • int restart(void) • int second(void) • int secsTo(QTime) • bool setHMS(int h, int m, int s, int ms) • void start(void) • QString toString(QString) • QTime currentTime(void) • QTime fromMSecsSinceStartOfDay(int msecs) • QTime fromString(QString,QString) 67.93 QListWidgetItem Class C++ Reference : http://doc.qt.io/qt-5/QListWidgetItem.html Parameters : void • QBrush background(void) • Qt::CheckState checkState(void) • Qt::ItemFlags flags(void) • QFont font(void) • QBrush foreground(void) • QIcon icon(void) • bool isHidden(void) • bool isSelected(void) • QListWidget *listWidget(void) 67.92. QTime Class 735
  • 9. Ring Documentation, Release 1.3 • void setBackground(QBrush brush) • void setCheckState(Qt::CheckState state) • void setFlags(Qt::ItemFlags flags) • void setFont(QFont font) • void setForeground(QBrush brush) • void setHidden(bool hide) • void setIcon(QIcon icon) • void setSelected(bool select) • void setSizeHint(QSize size) • void setStatusTip(QString statusTip) • void setText(QString text) • void setTextAlignment(int alignment) • void setToolTip(QString toolTip) • void setWhatsThis(QString whatsThis) • QSize sizeHint(void) • QString statusTip(void) • QString text(void) • int textAlignment(void) • QString toolTip(void) • int type(void) • QString whatsThis(void) 67.94 QSystemTrayIcon Class C++ Reference : http://doc.qt.io/qt-5/QSystemTrayIcon.html Parameters : void • QMenu *contextMenu(void) • QRect geometry(void) • QIcon icon(void) • bool isVisible(void) • void setContextMenu(QMenu *menu) • void setIcon(QIcon) • void setToolTip(QString) • QString toolTip(void) • void hide(void) • void setVisible(bool visible) 67.94. QSystemTrayIcon Class 736
  • 10. Ring Documentation, Release 1.3 • void show(void) • void showMessage(QString, QString, QSystemTrayIcon::MessageIcon, int millisecondsTimeoutHint) • bool isSystemTrayAvailable(void) • bool supportsMessages(void) 67.95 QDate Class C++ Reference : http://doc.qt.io/qt-5/QDate.html Parameters : void • QDate addDays(int ndays) • QDate addMonths(int nmonths) • QDate addYears(int nyears) • int day(void) • int dayOfWeek(void) • int dayOfYear(void) • int daysInMonth(void) • int daysInYear(void) • int daysTo(QDate) • void getDate(int * year, int * month, int * day) • bool isNull(void) • bool isValid(void) • int month(void) • bool setDate(int year, int month, int day) • int toJulianDay(void) • QString toString(QString) • int weekNumber(int * yearNumber) • int year(void) • QDate currentDate(void) • QDate fromJulianDay(int jd) • QDate fromString(QString, QString) • bool isLeapYear(int year) • QString longDayName(int weekday) • QString longMonthName(int month) • QString shortDayName(int weekday) • QString shortMonthName(int month) 67.95. QDate Class 737