| Home · Modules · Classes · Namespaces · Functions |
The Qxt namespace contains miscellaneous identifiers used throughout the Qxt library. More...
#include <Qxt>
The Qxt namespace contains miscellaneous identifiers used throughout the Qxt library.
This enum describes the decoration style.
| Constant | Value | Description |
|---|---|---|
| Qxt::NoDecoration | 0 | No decoration. |
| Qxt::Buttonlike | 1 | A style like in Qt Designer's Widget Box. |
| Qxt::Menulike | 2 | A menu alike style. |
The error Code dropped by QxtError
| Constant | Value | Description |
|---|---|---|
| Qxt::NoError | 0 | Everything fine. |
| Qxt::UnknownError | 1 | An unknown error. |
| Qxt::LogicalError | 2 | Something happened that makes no sense (e.g. you tryed to compare apples and bananas). |
| Qxt::Bug | 3 | That should not happen. please report any ocurence of it. |
| Qxt::UnexpectedEndOfFunction | 4 | Suddenly the function returned where it should not. please report this behaiviour. |
| Qxt::NotImplemented | 5 | The feature you requested has not been implemented for this situation. this could also mean you are trying to compare apples and bananas. |
| Qxt::CodecError | 6 | Something went wrong with some codec. Please check if your codec is supported. |
| Qxt::NotInitialised | 7 | Somone tryed to call a function of an object that needs to be start() ed or something like it. |
| Qxt::EndOfFile | 8 | The end of the Input has been reached. There is no more data. |
| Qxt::FileIOError | 9 | File Input/Output Error. |
| Qxt::FormatError | 10 | The Format of the input is corupted or not supported. |
| Qxt::DeviceError | 11 | The Device of the Computer reported failure or we are not able to comunicate with it. |
| Qxt::SDLError | 12 | SDL reported an error. |
| Qxt::InsufficientMemory | 13 | Not enough memory to perform the action. |
| Qxt::SeeErrorString | 14 | The Error has no definition here, but the Error String should tell you more. This is mostly used for third party errors. |
| Qxt::UnexpectedNullParameter | 15 | NULL was passed where it shouldn't. |
| Qxt::ClientTimeout | 16 | The Client didn't answer within the expected time rang. |
| Qxt::SocketIOError | 17 | Socket Input/Output Error. |
| Qxt::ParserError | 18 | Unable to parse the requested string or file. |
| Qxt::HeaderTooLong | 19 | The Header that was passed for parsing was too long. |
| Qxt::Auth | 20 | Authentication failed. |
| Qxt::Overflow | 21 | Overflow protection triggered. |
Data roles for qxt models/views
| Constant | Value | Description |
|---|---|---|
| Qxt::ItemStartTimeRole | Qt::UserRole + 1 | The starttime of a item in timebased views. |
| Qxt::ItemDurationRole | ItemStartTimeRole + 1 | The duration of a item in timebased views. |
| Qxt::UserRole | ItemDurationRole + 23 | The first role that can be used for application-specific purposes. |
This enum describes the rotation.
| Constant | Value | Description |
|---|---|---|
| Qxt::NoRotation | 0 | No rotation. |
| Qxt::UpsideDown | 180 | Upside down (180 degrees). |
| Qxt::Clockwise | 90 | Clockwise (90 degrees). |
| Qxt::CounterClockwise | 270 | CounterClockwise (-90 degrees). |
Time units
| Constant | Value | Description |
|---|---|---|
| Qxt::Second | 0 | A second |
| Qxt::Minute | 1 | A minute |
| Qxt::Hour | 2 | An hour |
| Qxt::Day | 3 | A day |
| Qxt::Week | 4 | A week |
| Qxt::Month | 5 | A month |
| Qxt::Year | 6 | A year |
| Copyright © 2007-2011 Qxt Foundation |
Qxt 0.6.2 |