本文整理汇总了C++中saveGeometry函数的典型用法代码示例。如果您正苦于以下问题:C++ saveGeometry函数的具体用法?C++ saveGeometry怎么用?C++ saveGeometry使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了saveGeometry函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1: closeEvent
void DuktoWindow::closeEvent(QCloseEvent *event)
{
mGuiBehind->settings()->saveWindowGeometry(saveGeometry());
mGuiBehind->close();
}
示例2: saveGeometry
QgsQueryBuilder::~QgsQueryBuilder()
{
QSettings settings;
settings.setValue( "/Windows/QueryBuilder/geometry", saveGeometry() );
}
示例3: saveGeometry
QgsNewSpatialiteLayerDialog::~QgsNewSpatialiteLayerDialog()
{
QSettings settings;
settings.setValue( "/Windows/NewSpatiaLiteLayer/geometry", saveGeometry() );
}
示例4: kcg
/** Destroys a FileSystemSupportDialog */
FileSystemSupportDialog::~FileSystemSupportDialog()
{
KConfigGroup kcg(KSharedConfig::openConfig(), "fileSystemSupportDialog");
kcg.writeEntry("Geometry", saveGeometry());
}
示例5: saveGeometry
QgsFieldCalculator::~QgsFieldCalculator()
{
QSettings settings;
settings.setValue( "/Windows/QgsFieldCalculator/geometry", saveGeometry() );
}
示例6: saveDialogGeometry
void ContentDialog::saveDialogGeometry()
{
Settings::getInstance().setDialogGeometry(saveGeometry());
}
示例7: QStringLiteral
QgsCustomProjectionDialog::~QgsCustomProjectionDialog()
{
QgsSettings settings;
settings.setValue( QStringLiteral( "Windows/CustomProjection/geometry" ), saveGeometry() );
}
示例8: saveGeometry
MaterialEditDialog::~MaterialEditDialog()
{
QSettings settings;
settings.setValue("MaterialEditDialog/Geometry", saveGeometry());
}
示例9: settings
void MainWindow::writeSettings()
{
QSettings settings("Byron", "Painter");
settings.setValue("geometry", saveGeometry());
settings.setValue("recentFiles", recentFiles);
}
示例10: QStringLiteral
QgsSaveStyleToDbDialog::~QgsSaveStyleToDbDialog()
{
QSettings settings;
settings.setValue( QStringLiteral( "/Windows/saveStyleToDb/geometry" ), saveGeometry() );
}
示例11: saveGeometry
/**
* Destructor
*/
eVisDatabaseConnectionGui::~eVisDatabaseConnectionGui()
{
QSettings settings;
settings.setValue( "/eVis/db-geometry", saveGeometry() );
}
示例12: saveGeometry
QgsOracleSelectGeoraster::~QgsOracleSelectGeoraster()
{
QSettings settings;
settings.setValue( "/Oracle/geometry", saveGeometry() );
settings.setValue( "/Oracle/connections/selected", cmbConnections->currentText() );
}
示例13: saveGeometry
void CompleteMessageWidget::closeEvent(QCloseEvent *event)
{
settings->setValue(Common::SettingsNames::completeMessageWidgetGeometry, saveGeometry());
}
示例14: saveGeometry
QgsInterpolationDialog::~QgsInterpolationDialog()
{
QSettings settings;
settings.setValue( "/Interpolation/geometry", saveGeometry() );
settings.setValue( "/Interpolation/lastMethod", mInterpolationMethodComboBox->currentIndex() );
}
示例15: getSettings
ExtendedDialog::~ExtendedDialog()
{
getSettings()->setValue("Epanel/geometry", saveGeometry());
}