<?xml version="1.0" encoding="UTF-8"?>
<configuration-ui>
	<section name="Kadu" icon="KaduTab">
		<tab name="Kadu">
			<group-box name="Language">
				<combo-box caption="Language" config-section="General" config-item="Language" id="languages"
					   tool-tip="Choose your language" />
			</group-box>

			<group-box name="Updates">
				<check-box caption="Check for updates" config-section="General" config-item="CheckUpdates"
					   tool-tip="Automatically checks whether a new version is available" />
			</group-box>

			<group-box name="Startup" id="startup">
				<check-box caption="Start on startup" config-section="General" config-item="RunOnStartup"
					   tool-tip="Automatically start on system startup" id="startupcb"/>
			</group-box>

		</tab>

		<tab name="Applications">
			<group-box name="WWW browser">
				<combo-box caption="Choose your browser" config-section="Chat" config-item="WebBrowserNo" id="browser"
					   tool-tip="Choose your browser">
					<item value="Specify path" caption="Specify path" />
					<item value="Konqueror" caption="Konqueror" />
					<item value="Opera" caption="Opera" />
					<item value="Opera (new tab)" caption="Opera (new tab)" />
					<item value="Mozilla" caption="Mozilla" />
					<item value="SeaMonkey" caption="SeaMonkey" />
					<item value="Mozilla Firefox" caption="Mozilla Firefox" />
					<item value="Dillo" caption="Dillo" />
					<item value="Galeon" caption="Galeon" />
					<item value="Safari" caption="Safari" />
					<item value="Camino" caption="Camino" />
					<item value="Internet Explorer" caption="Internet Explorer" />
				</combo-box>
				<line-edit caption="Custom browser" config-section="Chat" config-item="WebBrowser" id="browserPath"
					   tool-tip="Write specific path to your browser" />
			</group-box>

			<group-box name="e-mail client">
				<combo-box caption="Choose your e-mail client" config-section="Chat" config-item="EmailClientNo" id="mail"
					   tool-tip="Choose your email client">
					<item value="Specify path" caption="Specify path" />
					<item value="KMail" caption="KMail" />
					<item value="Thunderbird" caption="Thunderbird" />
					<item value="SeaMonkey" caption="SeaMonkey" />
					<item value="Evolution" caption="Evolution" />
					<item value="Mail" caption="Mail" />
					<item value="Outlook Express" caption="Outlook Express" />
                </combo-box>
				<line-edit caption="Custom e-mail client" config-section="Chat" config-item="MailClient" id="mailPath" 
					   tool-tip="Write specific path to your email client" />
			</group-box>
		</tab>
		
		<tab name="Advanced">
			<group-box name="Parser">
				<check-box caption="Allow executing commands by parser" config-section="General" config-item="AllowExecutingFromParser" />
			</group-box>
			<group-box name="Debugging" id="debug">
				<line-edit caption="Debugging mask" config-section="General" config-item="DEBUG_MASK" />
			</group-box>
		</tab>
			
	</section>

	<section name="Account" icon="GeneralTab" >
		<tab name="Gadu-Gadu">
			<group-box name="User data">
				<line-edit caption="UIN" config-section="General" config-item="UIN" />
				<gg-password-edit caption="Password" config-section="General" config-item="Password" />
				<line-edit caption="Nick" config-section="General" config-item="Nick" />
			</group-box>
		</tab>

		<tab name="Server">
			<group-box name="Servers properties">
				<check-box caption="Use default servers" config-section="Network" config-item="isDefServers" id="useDefaultServers" />
				<line-edit caption="IP Addresses" config-section="Network" config-item="Server" tool-tip="You can specify which GG servers to use. Separate every server using semicolon (for example: 91.197.13.26;91.197.13.24;91.197.13.29;91.197.13.6)" id="serverList" />
				<combo-box caption="Port to connect to servers" config-section="Network" config-item="DefaultPort" id="serverPort" >
					<item value="0" caption="Automatic" />
					<item value="8074" caption="8074" />
					<item value="443" caption="443" />
				</combo-box>
			</group-box>

			<group-box name="Proxy Server">
				<check-box caption="Use proxy server" config-section="Network" config-item="UseProxy" id="useProxy" />
				<line-edit caption="Host" config-section="Network" config-item="ProxyHost" id="proxyHost" />
				<line-edit caption="Port" config-section="Network" config-item="ProxyPort" id="proxyPort" />
				<line-edit caption="Username" config-section="Network" config-item="ProxyUser" id="proxyUser" />
				<line-edit caption="Password" config-section="Network" config-item="ProxyPassword" id="proxyPassword" />
			</group-box>
		</tab>
	</section>

	<section name="Contacts" icon="ContactsTab" >
		<tab name="General">
			<group-box name="Filters">
				<check-box caption="Show offline contacts" config-section="General" config-item="ShowOffline" />
				<check-box caption="Show contacts that are blocked" config-section="General" config-item="ShowBlocked" />
				<check-box caption="Show contacts which are blocking me" config-section="General" config-item="ShowBlocking" />
			</group-box>

			<group-box name="Anonymous">
				<check-box caption="Ignore messages from anonymous users" config-section="Chat" config-item="IgnoreAnonymousUsers" id="ignoreMessagesFromAnonymous" />
				<check-box caption="Ignore messages from anonymous users also in conferences" config-section="Chat" config-item="IgnoreAnonymousUsersInConferences" id="ignoreMessagesFromAnonymousInConferences" />
				<check-box caption="Ignore richtext from anonymous users" config-section="Chat" config-item="IgnoreAnonymousRichtext"
				           tool-tip="Displays messages from anonymous users without formatting (colors, images, font weight...)
Text is plain black." />
<!-- 				<check-box caption="Always show anonymous contacts with messages" config-section="General" config-item="ShowAnonymousWithMsgs" /> -->
			</group-box>
		</tab>
	</section>

	<section name="Status" icon="StatusTab" >
		<tab name="General">
			<group-box name="General">
				<check-box caption="Private status" config-section="General" config-item="PrivateStatus"
					   tool-tip="When enabled, you're visible only to users on your list" />
			</group-box>

			<group-box name="Descirption">
				<combo-box caption="On startup, set" config-section="General" config-item="StartupStatus" id="startupStatus"
					   tool-tip="Choose status which will be set on startup">
					<item value="LastStatus" caption="Last status" />
					<item value="Online" caption="Online" />
					<item value="Busy" caption="Busy" />
					<item value="Invisible" caption="Invisible" />
					<item value="Offline" caption="Offline" />
					<item value="Talk With Me" caption="Talk With Me" />
					<item value="Do Not Disturb" caption="Do Not Disturb" />
				</combo-box>
				<check-box caption="Set invisible if last status was 'Offline'" config-section="General" config-item="StartupStatusInvisibleWhenLastWasOffline"
					   id="startupStatusInvisibleWhenLastWasOffline" />
				<check-box caption="On startup, set last description" config-section="General" config-item="StartupLastDescription" id="onStartupSetLastDescription"
					   tool-tip="Last decription will be set on startup" />
				<line-edit caption="On startup, set description" config-section="General" config-item="StartupDescription" id="onStartupSetDescription"
					   tool-tip="Define description which will be set on startup" />
				<check-box caption="On shutdown, keep current description" config-section="General" config-item="DisconnectWithCurrentDescription" id="disconnectWithCurrentDescription"
					   tool-tip="Current description will be set on shutdown" />
				<line-edit caption="On shutdown, set description" config-section="General" config-item="DisconnectDescription" id="disconnectDescription"
					   tool-tip="Define description which will be set on shutdown" />
				<spin-box caption="Number of kept descriptions" config-section="General" config-item="NumberOfDescriptions" min-value="1" max-value="30" />
			</group-box>

			<group-box name="Advanced">
				<check-box caption="Allow using variables in status" config-section="General" config-item="ParseStatus" id="parseStatus" />
			</group-box>
		</tab>
	</section>

	<section name="Look" icon="LookTab" >
		<tab name="General">
			<group-box name="General">
				<combo-box caption="Theme" config-section="Look" config-item="QtStyle" id="qtThemes"
					   tool-tip="Choose Qt style"/>
				<combo-box caption="Icon theme" config-section="Look" config-item="IconTheme" id="iconThemes"
					   tool-tip="Choose icon theme" />
				<path-list-edit caption="Icon paths" config-section="Look" config-item="IconsPaths" id="iconPaths"
						tool-tip="Definie icons paths" />
				<check-box caption="Show status changing button" config-section="Look" config-item="ShowStatusButton" />
			</group-box>
		</tab>

		<tab name="Colors">
			<group-box name="Chat window">
				<color-button caption="Chat window" config-section="Look" config-item="ChatBgColor" />
				<color-button caption="Text edit" config-section="Look" config-item="ChatTextBgColor" />
				<color-button caption="My messages" config-section="Look" config-item="ChatMyBgColor" />
				<color-button caption="User messages" config-section="Look" config-item="ChatUsrBgColor" />
				<color-button caption="My font" config-section="Look" config-item="ChatMyFontColor" />
				<color-button caption="User font" config-section="Look" config-item="ChatUsrFontColor" />
				<color-button caption="My nick" config-section="Look" config-item="ChatMyNickColor" />
				<color-button caption="User nick" config-section="Look" config-item="ChatUsrNickColor" />
			</group-box>

			<group-box name="Userbox">
				<color-button caption="Background" config-section="Look" config-item="UserboxBgColor" />
				<color-button caption="Font" config-section="Look" config-item="UserboxFgColor" />
				<color-button caption="Descriptions font" config-section="Look" config-item="DescriptionColor" />
			</group-box>

			<group-box name="Information Panel">
				<color-button caption="Background" config-section="Look" config-item="InfoPanelBgColor" />
				<color-button caption="Font" config-section="Look" config-item="InfoPanelFgColor" />
			</group-box>

		</tab>

		<tab name="Fonts">
			<group-box name="Fonts">
				<select-font caption="Chat window" config-section="Look" config-item="ChatFont" />
				<select-font caption="Userbox" config-section="Look" config-item="UserboxFont" />
				<select-font caption="Font in panel" config-section="Look" config-item="PanelFont" />
			</group-box>
        </tab>

		<tab name="Chat window">
			<group-box name="New messages notifications">
				<check-box caption="Activate windows with new messages" config-section="Chat" config-item="ActivateWithNewMessages" />
				<check-box caption="Flash chat title on new message" config-section="Chat" config-item="BlinkChatTitle" />
				<check-box caption="Show number of new messages on chat title" config-section="Chat" config-item="NewMessagesInChatTitle" />
				<check-box caption="Nice date format" config-section="Look" config-item="NiceDateFormat"
				           tool-tip="Display dates is nice format, like Today, Yesterday or Friday" />
			</group-box>

			<group-box name="Style">
				<syntax-editor caption="Style" config-section="Look" config-item="Style" category="Chat" id="chatSyntax"
							   tool-tip="Choose style of chat window" />
				<preview caption="Preview" id="chatSyntaxPreview" />
			</group-box>

			<group-box name="Emoticons">
				<combo-box caption="Emoticons" config-section="Chat" config-item="EmoticonsStyle" id="emoticonsStyle"
					   tool-tip="Choose emoticons style" >
					<item value="2" caption="Animated" />
					<item value="1" caption="Static" />
					<item value="0" caption="None" />
				</combo-box>
				<combo-box caption="Emoticons theme" config-section="Chat" config-item="EmoticonsTheme" id="emoticonsTheme"
					   tool-tip="Choose emoticons theme" />
				<path-list-edit caption="Emoticons paths" config-section="Chat" config-item="EmoticonsPaths" id="emoticonsPaths"
						tool-tip="Define emoticons paths" />
			</group-box>

			<group-box name="Advanced">
				<action-button caption="Advanced..." id="lookChatAdvanced" />
			</group-box>
		</tab>

		<tab name="Userbox">
			<group-box name="General">
				<check-box caption="Display group tabs" config-section="Look" config-item="DisplayGroupTabs"
					   tool-tip="Displays group tabs on userbox" />
				<check-box caption="Show available contacts in bold" config-section="Look" config-item="ShowBold"
					   tool-tip="Displays users that are not offline using a bold font" />
				<check-box caption="Show vertical scrollbar" config-section="Look" config-item="ShowVerticalScrollBar" 						id="ShowVerticalScrollBar" tool-tip="Displays vertical scrollbar in user list" />
				<combo-box caption="Align contact icon to" config-section="Look" config-item="AlignUserboxIconsTop"
					   tool-tip="Align icon next to contact name">
					<item value="true" caption="Top" />
					<item value="false" caption="Center" />
				</combo-box>

				<spin-box caption="Column count" config-section="Look" config-item="UserBoxColumnCount" min-value="1" max-value="10"
					  tool-tip="Number of columns displays in userbox" />
				<combo-box caption="Tool tip style" config-section="Look" config-item="UserboxToolTipStyle" id="toolTipClasses"
					   tool-tip="Choose userbox tool-tip style" />
			</group-box>

			<group-box name="Descriptions">
				<check-box caption="Show descriptions" config-section="Look" config-item="ShowDesc" id="showDescription"
					   tool-tip="Displays descriptions in userbox" />
				<check-box caption="Allow multiline descriptions" config-section="Look" config-item="ShowMultilineDesc" id="multilineDescription"
					   tool-tip="Dislpays multiline descriptions in userbox" />
			</group-box>
<!-- 
			<group-box name="Background">
				<check-box caption="Use background image" config-section="Look" config-item="UseUserboxBackground" id="useUserboxBackground" />
				<select-file caption="Background file" config-section="Look" config-item="UserboxBackground" type="image"
					     tool-tip="Define background file for userbox" id="userboxBackground" />
				<combo-box caption="Display style" config-section="Look" config-item="UserboxBackgroundDisplayStyle"
					   tool-tip="Choose userbox background style" id="userboxBackgroundDisplayStyle" >
					<item value="Tiled" caption="Tiled" />
					<item value="Centered" caption="Centered" />
					<item value="Stretched" caption="Stretched" />
				</combo-box>
			</group-box>
-->
		</tab>

		<tab name="Information Panel">
			<group-box name="General">
				<check-box caption="Show information panel" config-section="Look" config-item="ShowInfoPanel" id="showInformationPanel"
					   tool-tip="Displays information panel below userbox" />
				<check-box caption="Show vertical scrollbar" config-section="Look" config-item="PanelVerticalScrollbar" id="showVerticalScrollbar"
					   tool-tip="Show vertical scrollbar in information panel" />
				<check-box caption="Show emoticons in panel" config-section="General" config-item="ShowEmotPanel" id="showEmoticonsInPanel"
					   tool-tip="Show emoticons in information panel" />
			</group-box>

			<group-box name="Style">
				<syntax-editor caption="Style" config-section="Look" config-item="InfoPanelSyntaxFile" category="InfoPanel" id="infoPanelSyntax"
					       tool-tip="Choose information panel style" />
				<preview caption="Preview" id="infoPanelSyntaxPreview" />
			</group-box>
		</tab>
	</section>

	<section name="Shortcuts" icon="ShortCutsTab">
		<tab name="General">
			<group-box name="Kadu">
				<hot-key-edit caption="Configuration" config-section="ShortCuts" config-item="kadu_configure" />
				<hot-key-edit caption="Add user" config-section="ShortCuts" config-item="kadu_adduser" />
				<hot-key-edit caption="Manage modules" config-section="ShortCuts" config-item="kadu_modulesmanager" />
				<hot-key-edit caption="Open chat with..." config-section="ShortCuts" config-item="kadu_openchatwith" />
			</group-box>
		</tab>
		<tab name="Userlist">
			<group-box name="Userlist">
				<hot-key-edit caption="Remove from userlist" config-section="ShortCuts" config-item="kadu_deleteuser" />
				<hot-key-edit caption="Properties" config-section="ShortCuts" config-item="kadu_persinfo" />
				<hot-key-edit caption="Search this user in directory" config-section="ShortCuts" config-item="kadu_searchuser" />
				<hot-key-edit caption="Show / hide offline users" config-section="ShortCuts" config-item="kadu_showoffline" />
				<hot-key-edit caption="Show / hide users without description" config-section="ShortCuts" config-item="kadu_showonlydesc" />
			</group-box>
		</tab>
		<tab name="Chat window">
			<group-box name="Chat window">
				<hot-key-edit caption="New line / send message" config-section="ShortCuts" config-item="chat_newline" />
				<hot-key-edit caption="Clear chat" config-section="ShortCuts" config-item="chat_clear" />
				<hot-key-edit caption="Close chat" config-section="ShortCuts" config-item="chat_close" />
				<hot-key-edit caption="Bold text" config-section="ShortCuts" config-item="chat_bold" />
				<hot-key-edit caption="Italic text" config-section="ShortCuts" config-item="chat_italic" />
				<hot-key-edit caption="Underline text" config-section="ShortCuts" config-item="chat_underline" />
			</group-box>
		</tab>
	</section>

	<section name="Chat" icon="ChatTab">
		<tab name="General">
			<group-box name="Behaviour">
				<check-box caption="Remember chat windows positions" config-section="Chat" config-item="RememberPosition" />
				<check-box caption="Open chat window on new message" config-section="Chat" config-item="OpenChatOnMessage" id="openChatOnMessage"
					   tool-tip="Open chat window when comes new message" />
				<check-box caption="Open chat window only when I'm online" config-section="Chat" config-item="OpenChatOnMessageWhenOnline" id="openChatOnMessageWhenOnline"
					   tool-tip="Open chat window on new message only when online" />
				<check-box caption="Wait for message delivery" config-section="Chat" config-item="MessageAcks"
					   tool-tip="Wait for confirmation from server during send messages" />
				<check-box caption="'Enter' in chat send message" config-section="Chat" config-item="AutoSend"
					   tool-tip="'Enter' in chat send message" />
				<check-box caption="Confirm clearing chat window" config-section="Chat" config-item="ConfirmChatClear"
					   tool-tip="Ask before clearing chat window" />
				<check-box caption="Save opened windows on exit" config-section="Chat" config-item="SaveOpenedWindows"
					   tool-tip="Save opened chat windows when exiting" />
			</group-box>

			<group-box name="Closing">
				<check-box caption="Block window close on new message" config-section="Chat" config-item="ChatCloseTimer" id="chatCloseTimer"
					   tool-tip="Block chat window when comes new message" />
				<spin-box caption="Max time to block window close" config-section="Chat" config-item="ChatCloseTimerPeriod" min-value="1" max-value="30" suffix=" s." id="chatCloseTimerPeriod"
					  tool-tip="Max time to block window close" />
			</group-box>
		</tab>
		<tab name="Messages">
			<group-box name="Message pruning">
				<check-box caption="Automatically prune chat messages" config-section="Chat" config-item="ChatPrune" id="chatPrune"
					   tool-tip="If enabled, messages are pruning" />
				<spin-box caption="Reduce the number of visible messages in chat window to" config-section="Chat" config-item="ChatPruneLen" min-value="1" max-value="255" id="chatPruneLen"
					  tool-tip="Number of visible messages" />
			</group-box>
			
			<group-box name="Images">
				<spin-box caption="Max image size" config-section="Chat" config-item="MaxImageSize" min-value="0" max-value="255" suffix=" kB"
					  tool-tip="Maximum image size that we want to receive" />
				<check-box caption="Receive images during invisibility" config-section="Chat" config-item="ReceiveImagesDuringInvisibility"
					   tool-tip="Receiving images during invisibility is allowed" />
				<spin-box caption="Limit numbers of image recevied per minute" config-section="Chat" config-item="MaxImageRequests" min-value="1" max-value="30"
					  tool-tip="Define limit of images received per minute" />
			</group-box>

			<group-box name="Link folding">
				<check-box caption="Automatically fold links" config-section="Chat" config-item="FoldLink" id="foldLink" />
				<spin-box caption="Fold links longer than" config-section="Chat" config-item="LinkFoldTreshold" min-value="1" max-value="500" id="linkFoldTreshold" />
			</group-box>
		</tab>
	</section>

</configuration-ui>
