Enumerations

Qxt Namespace Reference

The Qxt Namespace. More...

Enumerations

enum  Rotation { NoRotation = 0, UpsideDown = 180, Clockwise = 90, CounterClockwise = 270 }
enum  DecorationStyle { NoDecoration, Buttonlike, Menulike }
enum  ErrorCode {
  NoError, UnknownError, LogicalError, Bug,
  UnexpectedEndOfFunction, NotImplemented, CodecError, NotInitialised,
  EndOfFile, FileIOError, FormatError, DeviceError,
  SDLError, InsufficientMemory, SeeErrorString, UnexpectedNullParameter,
  ClientTimeout, SocketIOError, ParserError, HeaderTooLong,
  Auth, Overflow
}
enum  QxtItemDataRole { ItemStartTimeRole = Qt::UserRole + 1, ItemDurationRole = ItemStartTimeRole + 1, UserRole = ItemDurationRole + 23 }
enum  Timeunit {
  Second, Minute, Hour, Day,
  Week, Month, Year
}

Detailed Description

The Qxt Namespace.

The Qxt Namespace


Enumeration Type Documentation

This enum describes the decoration style.

Enumerator:
NoDecoration 

No decoration

Buttonlike 

A style like in Qt Designer's Widget Box.

Menulike 

A menu alike style.

Definition at line 80 of file qxtnamespace.h.

The error Code dropped by QxtError

Enumerator:
NoError 

everything fine

UnknownError 

a not defined error

LogicalError 

something happened that makes no sense (e.g. you tryed to compare apples and bananas)

Bug 

that should not happen. please report any ocurence of it.

UnexpectedEndOfFunction 

suddenly the function returned where it should not. please report this behaiviour

NotImplemented 

the feature you requested has not been implemented for this situation. this could also mean you are trying to compare apples and bananas.

CodecError 

Something went wrong with some codec. Please check if your codec is supported

NotInitialised 

Somone tryed to call a function of an object that needs to be start() ed or something like it.

EndOfFile 

The end of the Input has been reached. There is no more data.

FileIOError 

File Input/Output Error

FormatError 

The Format of the input is corupted or not supported.

DeviceError 

The Device of the Computer reported failure or we are not able to comunicate with it.

SDLError 

SDL reported an error

InsufficientMemory 

Not enough memory to perform the action.

SeeErrorString 

The Error has no definition here, but the Error String should tell you more. This is mostly used for third party errors.

UnexpectedNullParameter 

NULL was passed where it shouldn't.

ClientTimeout 

The Client didn't answer within the expected time rang.

SocketIOError 

Socket Input/Output Error

ParserError 

Unable to parse the requested string or file.

HeaderTooLong 

The Header that was passed for parsing was too long.

Auth 

Authentication failed.

Overflow 

Overflow protection triggered.

Definition at line 92 of file qxtnamespace.h.

Data roles for qxt models/views

Enumerator:
ItemStartTimeRole 

The starttime of a item in timebased views

ItemDurationRole 

The duration of a item in timebased views

UserRole 

The first role that can be used for application-specific purposes.

Definition at line 123 of file qxtnamespace.h.

    {
        ItemStartTimeRole  = Qt::UserRole + 1,        
        ItemDurationRole   = ItemStartTimeRole + 1,   
        UserRole           = ItemDurationRole + 23    
    };

This enum describes the rotation.

Enumerator:
NoRotation 

No rotation.

UpsideDown 

Upside down (180 degrees).

Clockwise 

Clockwise (90 degrees).

CounterClockwise 

CounterClockwise (-90 degrees).

Definition at line 66 of file qxtnamespace.h.

    {
        NoRotation  = 0,  
        UpsideDown  = 180,  
        Clockwise  = 90,  
        CounterClockwise = 270  
    };
Enumerator:
Second 
Minute 
Hour 
Day 
Week 
Month 
Year 

Definition at line 133 of file qxtnamespace.h.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines