diff options
author | Kurt Zenker <kz@openoffice.org> | 2007-05-11 08:05:36 +0000 |
---|---|---|
committer | Kurt Zenker <kz@openoffice.org> | 2007-05-11 08:05:36 +0000 |
commit | c5577c2858da40577ad7116d64be8c55cadf5374 (patch) | |
tree | d6eb81af8c3481a0f90a25aae3ea6eb4b33be8c5 /basic | |
parent | 17df38c2b8df2e070f6db86bcbee72ff4c9ede03 (diff) |
INTEGRATION: CWS gh13 (1.12.36); FILE MERGED
2006/12/22 09:11:18 gh 1.12.36.3: #i63641# provide config page for Crashreproter settings
2006/12/14 14:41:37 gh 1.12.36.2: #i63642# add OOoProgramDir to misc page in extra/settings
2006/10/05 11:41:56 gh 1.12.36.1: #i69238# default hid.lst directory dependant on basedir
Diffstat (limited to 'basic')
-rw-r--r-- | basic/source/app/dialogs.hxx | 53 |
1 files changed, 50 insertions, 3 deletions
diff --git a/basic/source/app/dialogs.hxx b/basic/source/app/dialogs.hxx index e9cc5981bebf..b24129d94473 100644 --- a/basic/source/app/dialogs.hxx +++ b/basic/source/app/dialogs.hxx @@ -4,9 +4,9 @@ * * $RCSfile: dialogs.hxx,v $ * - * $Revision: 1.12 $ + * $Revision: 1.13 $ * - * last change: $Author: hr $ $Date: 2006-06-19 17:35:37 $ + * last change: $Author: kz $ $Date: 2007-05-11 09:05:36 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -124,14 +124,34 @@ public: class ConfEdit : public PushButton { +protected: FixedText aText; Edit aEdit; ByteString aKeyName; + + void Init( Config &aConf ); + public: ConfEdit( Window* pParent, USHORT nResText, USHORT nResEdit, USHORT nResButton, const ByteString& aKN, Config &aConf ); + ConfEdit( Window* pParent, USHORT nResEdit, USHORT nResButton, const ByteString& aKN, Config &aConf ); void Save( Config &aConf ); void Reload( Config &aConf ); void Click(); + String GetValue() { return aEdit.GetText(); }; + void SetModifyHdl( Link aLink ) { aEdit.SetModifyHdl( aLink ); }; +}; + + +class OptConfEdit : public ConfEdit +{ +protected: + CheckBox aCheck; + ConfEdit& rBase; + DECL_LINK( ToggleHdl, CheckBox* ); +public: + OptConfEdit( Window* pParent, USHORT nResCheck, USHORT nResEdit, USHORT nResButton, const ByteString& aKN, ConfEdit& rBaseEdit, Config& aConf ); + void Reload( Config &aConf ); + DECL_LINK( BaseModifyHdl, Edit* ); }; @@ -167,7 +187,7 @@ class ProfileOptions : public TabPage FixedLine aDirs; ConfEdit aLog; ConfEdit aBasis; - ConfEdit aHID; + OptConfEdit aHID; CheckBox aAutoReload; CheckBox aAutoSave; @@ -188,6 +208,28 @@ public: void Save( Config &rConfig ); }; + +class CrashreportOptions : public TabPage +{ + FixedLine aFLCrashreport; + CheckBox aCBUseProxy; + FixedText aFTCRHost; + Edit aEDCRHost; + FixedText aFTCRPort; + NumericField aNFCRPort; + + CheckBox aCBAllowContact; + FixedText aFTEMail; + Edit aEDEMail; + + DECL_LINK( CheckProxy, void*); + DECL_LINK( CheckResponse, void*); + +public: + CrashreportOptions( Window*, Config &aConfig ); + void Save( Config &aConfig ); +}; + class MiscOptions : public TabPage { FixedLine aFLCommunication; @@ -202,6 +244,11 @@ class MiscOptions : public TabPage TimeField aServerTimeout; FixedText aFTLRU; NumericField aTFMaxLRU; + FixedText aFTProgDir; + Edit aEDProgDir; + PushButton aPBProgDir; + + DECL_LINK( Click, void*); public: MiscOptions( Window*, Config &aConfig ); |