Page MenuHomePhabricator (Chris)

SettingGeneralForm.cpp
No OneTemporary

Authored By
Unknown
Size
569 B
Referenced Files
None
Subscribers
None

SettingGeneralForm.cpp

#include "SettingGeneralForm.h"
#include "ui_SettingGeneralForm.h"
SettingGeneralForm::SettingGeneralForm(QWidget *parent) :
AbstractSettingForm(parent),
ui(new Ui::SettingGeneralForm)
{
ui->setupUi(this);
setWindowTitle(tr("General"));
}
SettingGeneralForm::~SettingGeneralForm()
{
delete ui;
}
void SettingGeneralForm::exchange(bool save)
{
if (save) {
settings()->remember_and_restore_window_position = ui->checkBox_save_window_pos->isChecked();
} else {
ui->checkBox_save_window_pos->setChecked(settings()->remember_and_restore_window_position);
}
}

File Metadata

Mime Type
text/x-c
Expires
Sun, Nov 15, 1:29 AM (1 d, 20 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
125754
Default Alt Text
SettingGeneralForm.cpp (569 B)

Event Timeline