KVIrc  4.9.2
DeveloperAPIs
NotifierSettings.h
Go to the documentation of this file.
1 #ifndef _NOTIFIER_SETTINGS_H_
2 #define _NOTIFIER_SETTINGS_H_
3 //=============================================================================
4 //
5 // File : NotifierSettings.h
6 // Creation date : Thu 30 Dev 2004 21:21:33 by Iacopo Palazzi
7 //
8 // This file is part of the Notifier - KVIrc Distribution distribution
9 // Copyright (C) 2004-2008 Iacopo Palazzi < iakko(at)siena(dot)linux(dot)it >
10 //
11 // This program is FREE software. You can redistribute it and/or
12 // modify it under the terms of the GNU General Public License
13 // as published by the Free Software Foundation; either version 2
14 // of the License, or (at your option) any later version.
15 //
16 // This program is distributed in the HOPE that it will be USEFUL,
17 // but WITHOUT ANY WARRANTY; without even the implied warranty of
18 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
19 // See the GNU General Public License for more details.
20 //
21 // You should have received a copy of the GNU General Public License
22 // along with this program. If not, write to the Free Software Foundation,
23 // Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
24 //
25 //=============================================================================
26 
27 // Global settings for KviNotifier
28 
29 #define WDG_MIN_WIDTH 370
30 #define WDG_MIN_HEIGHT 160
31 #define WDG_BORDER_THICKNESS 5
32 #define SPACING 2
33 
34 #define WDG_ICON_OUT 0
35 #define WDG_ICON_OVER 1
36 #define WDG_ICON_CLICKED 2
37 #define WDG_ICON_ON 3
38 #define WDG_ICON_OFF 4
39 
40 #define NTF_TABS_FONT_BASELINE 8
41 
42 #define MAX_MESSAGES_IN_WINDOW 20
43 // keep hidden messages for 600 seconds : 10 min
44 #define MAX_MESSAGE_LIFETIME 600
45 
46 #define OPACITY_STEP 0.07
47 
48 #define NUM_OLD_COLORS 6
49 
50 #define WDG_UPSX 1
51 #define WDG_UP 2
52 #define WDG_UPDX 3
53 #define WDG_DWNSX 4
54 #define WDG_DWN 5
55 #define WDG_DWNDX 6
56 #define WDG_SX 7
57 #define WDG_DX 8
58 
59 #define m_mac_bkgColor QColor(236, 233, 216) // Light-brown color of notifier background widget
60 
61 enum State
62 {
69 };
71 {
75 };
76 
77 #endif //_NOTIFIER_SETTINGS_H_
Definition: NotifierSettings.h:65
State
Definition: NotifierSettings.h:61
Definition: NotifierSettings.h:74
Definition: NotifierSettings.h:73
Definition: NotifierSettings.h:72
Definition: NotifierSettings.h:68
Definition: NotifierSettings.h:66
Definition: NotifierSettings.h:63
TabState
Definition: NotifierSettings.h:70
Definition: NotifierSettings.h:64
Definition: NotifierSettings.h:67