2 Author: Marco Costalba (C) 2005-2007
4 Copyright: See COPYING file that comes with this distribution
10 #include "ui_settings.h"
15 class SettingsImpl
: public QDialog
, public Ui_settingsBase
{
18 SettingsImpl(QWidget
* parent
, Git
* git
, int defTab
= 0);
21 void typeWriterFontChanged();
22 void flagChanged(uint
);
25 void checkBoxNumbers_toggled(bool b
);
26 void checkBoxSign_toggled(bool b
);
27 void checkBoxRangeSelectDialog_toggled(bool b
);
28 void checkBoxReopenLastRepo_toggled(bool b
);
29 void checkBoxRelativeDate_toggled(bool b
);
30 void checkBoxLogDiffTab_toggled(bool b
);
31 void checkBoxSmartLabels_toggled(bool b
);
32 void checkBoxMsgOnNewSHA_toggled(bool b
);
33 void checkBoxDiffCache_toggled(bool b
);
34 void checkBoxCommitSign_toggled(bool b
);
35 void checkBoxCommitVerify_toggled(bool b
);
36 void checkBoxCommitUseDefMsg_toggled(bool b
);
37 void lineEditExternalDiffViewer_textChanged(const QString
& s
);
38 void lineEditApplyPatchExtraOptions_textChanged(const QString
& s
);
39 void lineEditFormatPatchExtraOptions_textChanged(const QString
& s
);
40 void lineEditExcludeFile_textChanged(const QString
& s
);
41 void lineEditExcludePerDir_textChanged(const QString
& s
);
42 void lineEditTemplate_textChanged(const QString
& s
);
43 void lineEditCommitExtraOptions_textChanged(const QString
& s
);
44 void comboBoxCodecs_activated(int i
);
45 void comboBoxUserSrc_activated(int i
);
46 void comboBoxGitConfigSource_activated(int i
);
47 void treeWidgetGitConfig_itemChanged(QTreeWidgetItem
*, int);
48 void pushButtonExtDiff_clicked();
49 void pushButtonFont_clicked();
52 void writeSetting(const QString
& key
, const QVariant
& value
);
53 void addConfigOption(QTreeWidgetItem
* parent
, QStringList paths
, const QString
& value
);
54 void setupCodecList(QStringList
& list
);
55 void setupCodecsCombo();
56 void readGitConfig(const QString
& source
);
58 void changeFlag(uint f
, bool b
);
62 bool populatingGitConfig
;