MCPcopy Create free account
hub / github.com/cc20110101/RedisView / writeSettings

Method writeSettings

src/RedisView/AppView/MainWindow.cpp:675–682  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

673}
674
675void MainWindow::writeSettings() {
676 QString sPath = QCoreApplication::applicationDirPath() + "/" + IniFileName;
677 //settings.setPath(QSettings::IniFormat, QSettings::SystemScope, sPath);
678 QSettings settings(sPath, QSettings::IniFormat);
679 settings.setIniCodec("UTF-8");
680 settings.setValue("geometry", saveGeometry());
681 QMessageBox::about(this, tr("保存信息"), tr("成功保存窗口大小与位置信息!"));
682}
683
684void MainWindow::setEncode(QString encode) {
685 QList<ClientInfoDialog> vClientInfo;

Callers

nothing calls this directly

Calls 1

setValueMethod · 0.80

Tested by

no test coverage detected