labplot  2.8.2
About: LabPlot is an application for plotting and analysis of 2D and 3D functions and data. It is a complete rewrite of LabPlot1 and lacks in the first release a lot of features available in the predecessor. On the other hand, the GUI and the usability is more superior.
  Fossies Dox: labplot-2.8.2.tar.gz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

qxtnamespace.h
Go to the documentation of this file.
1 
2 /****************************************************************************
3 ** Copyright (c) 2006 - 2011, the LibQxt project.
4 ** See the Qxt AUTHORS file for a list of authors and copyright holders.
5 ** All rights reserved.
6 **
7 ** Redistribution and use in source and binary forms, with or without
8 ** modification, are permitted provided that the following conditions are met:
9 ** * Redistributions of source code must retain the above copyright
10 ** notice, this list of conditions and the following disclaimer.
11 ** * Redistributions in binary form must reproduce the above copyright
12 ** notice, this list of conditions and the following disclaimer in the
13 ** documentation and/or other materials provided with the distribution.
14 ** * Neither the name of the LibQxt project nor the
15 ** names of its contributors may be used to endorse or promote products
16 ** derived from this software without specific prior written permission.
17 **
18 ** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
19 ** ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
20 ** WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
21 ** DISCLAIMED. IN NO EVENT SHALL <COPYRIGHT HOLDER> BE LIABLE FOR ANY
22 ** DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
23 ** (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
24 ** LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
25 ** ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
26 ** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
27 ** SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
28 **
29 ** <http://libqxt.org> <foundation@libqxt.org>
30 *****************************************************************************/
31 
32 #ifndef QXTNAMESPACE_H
33 #define QXTNAMESPACE_H
34 
35 #include "qxtglobal.h"
36 
37 #if (defined BUILD_QXT | defined Q_MOC_RUN) && !defined(QXT_DOXYGEN_RUN)
38 #include <QObject>
39 
40 class QXT_CORE_EXPORT Qxt : public QObject {
41  Q_OBJECT
42  Q_ENUMS(Rotation)
43  Q_ENUMS(DecorationStyle)
44  Q_ENUMS(ErrorCode)
45 
46 public:
47 #else
48 namespace Qxt {
49 #endif
50  enum Rotation {
52  UpsideDown = 180,
53  Clockwise = 90,
54  CounterClockwise = 270
55  };
56 
60  Menulike
61  };
62 
63  enum ErrorCode {
67  Bug,
85  Overflow
86  };
87 
92  };
93 
94  enum Timeunit {
98  Day,
101  Year
102  };
103 };
104 
105 #endif // QXTNAMESPACE_H
DecorationStyle
Definition: qxtnamespace.h:57
@ Buttonlike
Definition: qxtnamespace.h:59
@ Menulike
Definition: qxtnamespace.h:60
@ NoDecoration
Definition: qxtnamespace.h:58
Timeunit
Definition: qxtnamespace.h:94
@ Year
Definition: qxtnamespace.h:101
@ Week
Definition: qxtnamespace.h:99
@ Minute
Definition: qxtnamespace.h:96
@ Day
Definition: qxtnamespace.h:98
@ Hour
Definition: qxtnamespace.h:97
@ Month
Definition: qxtnamespace.h:100
@ Second
Definition: qxtnamespace.h:95
QxtItemDataRole
Definition: qxtnamespace.h:88
@ ItemStartTimeRole
Definition: qxtnamespace.h:89
@ ItemDurationRole
Definition: qxtnamespace.h:90
@ UserRole
Definition: qxtnamespace.h:91
ErrorCode
Definition: qxtnamespace.h:63
@ FormatError
Definition: qxtnamespace.h:74
@ Overflow
Definition: qxtnamespace.h:85
@ EndOfFile
Definition: qxtnamespace.h:72
@ NotImplemented
Definition: qxtnamespace.h:69
@ Bug
Definition: qxtnamespace.h:67
@ FileIOError
Definition: qxtnamespace.h:73
@ Auth
Definition: qxtnamespace.h:84
@ LogicalError
Definition: qxtnamespace.h:66
@ UnexpectedEndOfFunction
Definition: qxtnamespace.h:68
@ NoError
Definition: qxtnamespace.h:64
@ HeaderTooLong
Definition: qxtnamespace.h:83
@ InsufficientMemory
Definition: qxtnamespace.h:77
@ SDLError
Definition: qxtnamespace.h:76
@ NotInitialised
Definition: qxtnamespace.h:71
@ ClientTimeout
Definition: qxtnamespace.h:80
@ SeeErrorString
Definition: qxtnamespace.h:78
@ ParserError
Definition: qxtnamespace.h:82
@ UnexpectedNullParameter
Definition: qxtnamespace.h:79
@ DeviceError
Definition: qxtnamespace.h:75
@ UnknownError
Definition: qxtnamespace.h:65
@ CodecError
Definition: qxtnamespace.h:70
@ SocketIOError
Definition: qxtnamespace.h:81
Rotation
Definition: qxtnamespace.h:50
@ NoRotation
Definition: qxtnamespace.h:51
@ CounterClockwise
Definition: qxtnamespace.h:54
@ Clockwise
Definition: qxtnamespace.h:53
@ UpsideDown
Definition: qxtnamespace.h:52
#define QXT_CORE_EXPORT
Definition: qxtglobal.h:58