Home · Modules · Classes · Namespaces · Functions

Qxt Namespace Reference
[QxtCore module]

The Qxt namespace contains miscellaneous identifiers used throughout the Qxt library. More...

    #include <Qxt>

Types


Detailed Description

The Qxt namespace contains miscellaneous identifiers used throughout the Qxt library.


Type Documentation

enum Qxt::DecorationStyle

This enum describes the decoration style.

ConstantValueDescription
Qxt::NoDecoration0No decoration.
Qxt::Buttonlike1A style like in Qt Designer's Widget Box.
Qxt::Menulike2A menu alike style.

enum Qxt::ErrorCode

The error Code dropped by QxtError

ConstantValueDescription
Qxt::NoError0Everything fine.
Qxt::UnknownError1An unknown error.
Qxt::LogicalError2Something happened that makes no sense (e.g. you tryed to compare apples and bananas).
Qxt::Bug3That should not happen. please report any ocurence of it.
Qxt::UnexpectedEndOfFunction4Suddenly the function returned where it should not. please report this behaiviour.
Qxt::NotImplemented5The feature you requested has not been implemented for this situation. this could also mean you are trying to compare apples and bananas.
Qxt::CodecError6Something went wrong with some codec. Please check if your codec is supported.
Qxt::NotInitialised7Somone tryed to call a function of an object that needs to be start() ed or something like it.
Qxt::EndOfFile8The end of the Input has been reached. There is no more data.
Qxt::FileIOError9File Input/Output Error.
Qxt::FormatError10The Format of the input is corupted or not supported.
Qxt::DeviceError11The Device of the Computer reported failure or we are not able to comunicate with it.
Qxt::SDLError12SDL reported an error.
Qxt::InsufficientMemory13Not enough memory to perform the action.
Qxt::SeeErrorString14The Error has no definition here, but the Error String should tell you more. This is mostly used for third party errors.
Qxt::UnexpectedNullParameter15NULL was passed where it shouldn't.
Qxt::ClientTimeout16The Client didn't answer within the expected time rang.
Qxt::SocketIOError17Socket Input/Output Error.
Qxt::ParserError18Unable to parse the requested string or file.
Qxt::HeaderTooLong19The Header that was passed for parsing was too long.
Qxt::Auth20Authentication failed.
Qxt::Overflow21Overflow protection triggered.

enum Qxt::QxtItemDataRole

Data roles for qxt models/views

ConstantValueDescription
Qxt::ItemStartTimeRoleQt::UserRole + 1The starttime of a item in timebased views.
Qxt::ItemDurationRoleItemStartTimeRole + 1The duration of a item in timebased views.
Qxt::UserRoleItemDurationRole + 23The first role that can be used for application-specific purposes.

enum Qxt::Rotation

This enum describes the rotation.

ConstantValueDescription
Qxt::NoRotation0No rotation.
Qxt::UpsideDown180Upside down (180 degrees).
Qxt::Clockwise90Clockwise (90 degrees).
Qxt::CounterClockwise270CounterClockwise (-90 degrees).

enum Qxt::Timeunit

Time units

ConstantValueDescription
Qxt::Second0A second
Qxt::Minute1A minute
Qxt::Hour2An hour
Qxt::Day3A day
Qxt::Week4A week
Qxt::Month5A month
Qxt::Year6A year


Copyright © 2007-2010 Qxt Foundation
Qxt 0.6.1