OpenWalnut  1.5.0dev
WQtNetworkColors.h
1 //---------------------------------------------------------------------------
2 //
3 // Project: OpenWalnut ( http://www.openwalnut.org )
4 //
5 // Copyright 2009 OpenWalnut Community, BSV@Uni-Leipzig and CNCF@MPI-CBS
6 // For more information see http://www.openwalnut.org/copying
7 //
8 // This file is part of OpenWalnut.
9 //
10 // OpenWalnut is free software: you can redistribute it and/or modify
11 // it under the terms of the GNU Lesser General Public License as published by
12 // the Free Software Foundation, either version 3 of the License, or
13 // (at your option) any later version.
14 //
15 // OpenWalnut is distributed in the hope that it will be useful,
16 // but WITHOUT ANY WARRANTY; without even the implied warranty of
17 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 // GNU Lesser General Public License for more details.
19 //
20 // You should have received a copy of the GNU Lesser General Public License
21 // along with OpenWalnut. If not, see <http://www.gnu.org/licenses/>.
22 //
23 //---------------------------------------------------------------------------
24 
25 #ifndef WQTNETWORKCOLORS_H
26 #define WQTNETWORKCOLORS_H
27 
28 #include <QColor>
29 
30 // This file defines several commonly used colors
31 namespace WQtNetworkColors
32 {
33  /**
34  * Color for source modules
35  */
36  const QColor SourceModule = QColor( 25, 100, 156 );
37 
38  /**
39  * Color for sink modules
40  */
41  const QColor SinkModule = QColor( 25, 156, 25 );
42 
43  /**
44  * Color for modules without in and out
45  */
46  const QColor StandaloneModule = QColor( 235, 147, 62 );
47 
48  /**
49  * Color for all other kinds of modules
50  */
51  const QColor Module = QColor( 128, 128, 128 );
52 
53  /**
54  * Color used for output connectors
55  */
56  const QColor OutputConnector = QColor( 255, 255, 255 );
57 
58  /**
59  * Color used for input connectors
60  */
61  const QColor InputConnector = QColor( 255, 255, 255 );
62 
63  /**
64  * Color for an active module's activator
65  */
66  const QColor ActivatorActive = QColor( 255, 255, 255 );
67 
68  /**
69  * Color for an inactive module's activator
70  */
71  const QColor ActivatorInactive = QColor( 0, 0, 0 );
72 
73  /**
74  * Color for crashed modules
75  */
76  const QColor ModuleCrashed = QColor( 215, 37, 46 );
77 
78  /**
79  * Color of the busy indicator.
80  */
81  const QColor BusyIndicator = QColor( 255, 45, 45 );
82 
83  /**
84  * Color of the busy indicator background.
85  */
86  const QColor BusyIndicatorBackground = QColor( 255, 255, 255 );
87 }
88 
89 #endif // WQTNETWORKCOLORS_H
90