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 checkBoxEnableDragnDrop_toggled(bool b
);
34 void checkBoxShowShortRef_toggled(bool b
);
35 void checkBoxDiffCache_toggled(bool b
);
36 void checkBoxCommitSign_toggled(bool b
);
37 void checkBoxCommitVerify_toggled(bool b
);
38 void checkBoxCommitUseDefMsg_toggled(bool b
);
39 void lineEditExternalDiffViewer_textChanged(const QString
& s
);
40 void lineEditExternalEditor_textChanged(const QString
& s
);
41 void lineEditApplyPatchExtraOptions_textChanged(const QString
& s
);
42 void lineEditFormatPatchExtraOptions_textChanged(const QString
& s
);
43 void lineEditExcludeFile_textChanged(const QString
& s
);
44 void lineEditExcludePerDir_textChanged(const QString
& s
);
45 void lineEditTemplate_textChanged(const QString
& s
);
46 void lineEditCommitExtraOptions_textChanged(const QString
& s
);
47 void comboBoxDoubleClickAction_activated(int i
);
48 void comboBoxCodecs_activated(int i
);
49 void comboBoxUserSrc_activated(int i
);
50 void comboBoxGitConfigSource_activated(int i
);
51 void treeWidgetGitConfig_itemChanged(QTreeWidgetItem
*, int);
52 void pushButtonExtDiff_clicked();
53 void pushButtonExtEditor_clicked();
54 void pushButtonFont_clicked();
57 void writeSetting(const QString
& key
, const QVariant
& value
);
58 void addConfigOption(QTreeWidgetItem
* parent
, QStringList paths
, const QString
& value
);
59 void setupCodecList(QStringList
& list
);
60 void setupCodecsCombo();
61 void readGitConfig(const QString
& source
);
63 void changeFlag(uint f
, bool b
);
67 bool populatingGitConfig
;