(Created page with '= Url = Represents a local or remote address. To create a new Url (or assign to an existing one), use the following syntax: <code javascript>var url = new Url("http://kde.org")<...') |
Neverendingo (Talk | contribs) m (Text replace - "</code>" to "</syntaxhighlight>") |
||
| (One intermediate revision by one user not shown) | |||
| Line 2: | Line 2: | ||
Represents a local or remote address. To create a new Url (or assign to an existing one), use the following syntax: | Represents a local or remote address. To create a new Url (or assign to an existing one), use the following syntax: | ||
| − | < | + | <syntaxhighlight lang="javascript">var url = new Url("http://kde.org")</syntaxhighlight> |
Read-only properties: | Read-only properties: | ||
Contents |
Represents a local or remote address. To create a new Url (or assign to an existing one), use the following syntax:
var url = new Url("http://kde.org")
Read-only properties:
Read-write properties (each representing a portion of the full URL):
This class provides an array of bytes. This is often used by data centric objects, such as the Job classes returned by getUrl.
Read-only properties:
Functions:
This class represents an item on the canvas. Support is only provided so that GraphicsItem objects returned or taken by other objects work. There is no meaningful API provided directly in the JavaScript runtime for these objects and they should not need to be used directly.
The QSizePolicy class is a layout attribute describing horizontal and vertical resizing policy. This can be set on any graphics widget that you have using the enums provided for this (QtSizePolicy ), for example:
button = new PushButton(); button.sizePolicy = QSizePolicy(QSizePolicyMaximum, QSizePolicyFixed);
This is useful when your widgets are being laid out by a layout (specially the anchor layout).