1
//=============================================================================
3
// File : OptionsWidget_uparser.cpp
4
// Creation date : Sat Oct 27 16:32:26 2001 GMT by Szymon Stefanek
6
// This file is part of the KVIrc irc client distribution
7
// Copyright (C) 2001-2010 Szymon Stefanek (pragma at kvirc dot net)
9
// This program is FREE software. You can redistribute it and/or
10
// modify it under the terms of the GNU General Public License
11
// as published by the Free Software Foundation; either version 2
12
// of the License, or (at your opinion) any later version.
14
// This program is distributed in the HOPE that it will be USEFUL,
15
// but WITHOUT ANY WARRANTY; without even the implied warranty of
16
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
17
// See the GNU General Public License for more details.
19
// You should have received a copy of the GNU General Public License
20
// along with this program. If not, write to the Free Software Foundation,
21
// Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
23
//=============================================================================
25
#include "OptionsWidget_uparser.h"
27
#include "KviOptions.h"
28
#include "KviLocale.h"
34
OptionsWidget_uparser::OptionsWidget_uparser(QWidget * parent)
35
: KviOptionsWidget(parent,"uparser_options_widget")
41
addBoolSelector(0,0,0,0,__tr2qs_ctx("Disable parser warnings","options"),KviOption_boolAvoidParserWarnings);
42
addBoolSelector(0,1,0,1,__tr2qs_ctx("Disable broken event handlers","options"),KviOption_boolDisableBrokenEventHandlers);
43
addBoolSelector(0,2,0,2,__tr2qs_ctx("Kill broken timers","options"),KviOption_boolKillBrokenTimers);
44
addBoolSelector(0,3,0,3,__tr2qs_ctx("Send unknown commands as /RAW","options"),KviOption_boolSendUnknownCommandsAsRaw);
46
addSeparator(0,4,0,4);
48
addBoolSelector(0,5,0,5,__tr2qs_ctx("Automatically unload unused modules","options"),KviOption_boolCleanupUnusedModules);
49
addBoolSelector(0,6,0,6,__tr2qs_ctx("Ignore module versions (dangerous)","options"),KviOption_boolIgnoreModuleVersions);
51
addSeparator(0,7,0,7);
53
b = addBoolSelector(0,8,0,8,__tr2qs_ctx("Relay errors and warnings to debug window","options"),KviOption_boolScriptErrorsToDebugWindow);
55
__tr2qs_ctx("<center>This option will show the script errors and warnings " \
56
"also in the special debug window. This makes tracking of scripts that might " \
57
"be running in several windows far easier. The messages in the debug window " \
58
"also contain a deeper call stack which will help you identifying the " \
59
"scripting problems.</center>","options")
61
addBoolSelector(0,9,0,9,__tr2qs_ctx("Create minimized debug window","options"),KviOption_boolShowMinimizedDebugWindow);
63
addRowSpacer(0,10,0,10);
66
OptionsWidget_uparser::~OptionsWidget_uparser()
71
#ifndef COMPILE_USE_STANDALONE_MOC_SOURCES
72
#include "m_OptionsWidget_uparser.moc"
73
#endif //!COMPILE_USE_STANDALONE_MOC_SOURCES