A minimalistic, easy to embed, settings widget.
More...
|
|
void | keyChanged (const QString &key, const QVariant &value) |
| |
|
| QEditConfig (QWidget *w=0) |
| |
|
bool | hasUnsavedChanges () const |
| |
| bool | applyImmediately () const |
| |
|
QMap< QString, QVariant > | dumpKeys () const |
| | Fills a settings map from the state of the subcontrols.
|
| |
|
void | retranslate () |
| | run-time translation entry point
|
| |
|
void | apply () |
| | Apply changes.
|
| |
| void | cancel () |
| | Reset the subcontrols to reflect the current settings. More...
|
| |
| void | restore () |
| | Restore default values for all subcontrols. More...
|
| |
| void | loadKeys (const QMap< QString, QVariant > &keys) |
| | Fills the widget subcontrols from a settings map. More...
|
| |
|
void | setApplyImmediately (bool y) |
| | Set whether user changes are immediately applied.
|
| |
|
|
void | setupUi (QWidget *EditorConfig) |
| |
|
void | retranslateUi (QWidget *EditorConfig) |
| |
|
QVBoxLayout * | vboxLayout |
| |
|
QGroupBox * | gbFont |
| |
|
QGridLayout * | gridLayout |
| |
|
QFontComboBox * | cbFont |
| |
|
QSpinBox * | spnFontSize |
| |
|
QLabel * | lblSampleText |
| |
|
QSpacerItem * | spacerItem |
| |
|
QGroupBox * | gbTabs |
| |
|
QVBoxLayout * | vboxLayout1 |
| |
|
QHBoxLayout * | hboxLayout |
| |
|
QLabel * | lblTabWitdh |
| |
|
QSpinBox * | spnTabWidth |
| |
|
QSpacerItem * | spacerItem1 |
| |
|
QCheckBox * | chkShowLeadingWhitespace |
| |
|
QCheckBox * | chkShowTabsInText |
| |
|
QCheckBox * | chkShowTrailingWhitespace |
| |
|
QCheckBox * | chkReplaceTabs |
| |
|
QGroupBox * | gbEncodings |
| |
|
QGridLayout * | gridLayout1 |
| |
|
QLabel * | label |
| |
|
QComboBox * | cbEncoding |
| |
|
QCheckBox * | chkDetectLE |
| |
|
QComboBox * | cbLineEndings |
| |
|
QCheckBox * | chkAutoRemoveTrailingWhitespace |
| |
|
QCheckBox * | chkPreserveTrailingIndent |
| |
|
QSpacerItem * | spacerItem2 |
| |
A minimalistic, easy to embed, settings widget.
| bool QEditConfig::applyImmediately |
( |
| ) |
const |
- Returns
- whether user changes are immediately applied
| void QEditConfig::cancel |
( |
| ) |
|
|
slot |
| void QEditConfig::loadKeys |
( |
const QMap< QString, QVariant > & |
keys | ) |
|
|
slot |
Fills the widget subcontrols from a settings map.
- Parameters
-
| keys | a key/value map that can be obtained from QSettings |
References QDocument::setFont().
| void QEditConfig::restore |
( |
| ) |
|
|
slot |
Restore default values for all subcontrols.
- Note
- The widgets are changed but these changes are NOT applied.
The documentation for this class was generated from the following files: