本文整理汇总了C++中saveGeometry函数的典型用法代码示例。如果您正苦于以下问题:C++ saveGeometry函数的具体用法?C++ saveGeometry怎么用?C++ saveGeometry使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了saveGeometry函数的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的C++代码示例。
示例1: closeEvent
void DuktoWindow::closeEvent(QCloseEvent *event)
{
mGuiBehind->settings()->saveWindowGeometry(saveGeometry());
mGuiBehind->close();
}
开发者ID:Stankim,项目名称:dukto,代码行数:5,代码来源:duktowindow.cpp
示例2: saveGeometry
QgsQueryBuilder::~QgsQueryBuilder()
{
QSettings settings;
settings.setValue( "/Windows/QueryBuilder/geometry", saveGeometry() );
}
开发者ID:coyotte508,项目名称:Quantum-GIS,代码行数:5,代码来源:qgsquerybuilder.cpp
示例3: saveGeometry
QgsNewSpatialiteLayerDialog::~QgsNewSpatialiteLayerDialog()
{
QSettings settings;
settings.setValue( "/Windows/NewSpatiaLiteLayer/geometry", saveGeometry() );
}
开发者ID:biolds,项目名称:Quantum-GIS,代码行数:5,代码来源:qgsnewspatialitelayerdialog.cpp
示例4: kcg
/** Destroys a FileSystemSupportDialog */
FileSystemSupportDialog::~FileSystemSupportDialog()
{
KConfigGroup kcg(KSharedConfig::openConfig(), "fileSystemSupportDialog");
kcg.writeEntry("Geometry", saveGeometry());
}
开发者ID:matijaskala,项目名称:partitionmanager-1,代码行数:6,代码来源:filesystemsupportdialog.cpp
示例5: saveGeometry
QgsFieldCalculator::~QgsFieldCalculator()
{
QSettings settings;
settings.setValue( "/Windows/QgsFieldCalculator/geometry", saveGeometry() );
}
开发者ID:luipir,项目名称:QGIS,代码行数:5,代码来源:qgsfieldcalculator.cpp
示例6: saveDialogGeometry
void ContentDialog::saveDialogGeometry()
{
Settings::getInstance().setDialogGeometry(saveGeometry());
}
开发者ID:thfi,项目名称:qTox,代码行数:4,代码来源:contentdialog.cpp
示例7: QStringLiteral
QgsCustomProjectionDialog::~QgsCustomProjectionDialog()
{
QgsSettings settings;
settings.setValue( QStringLiteral( "Windows/CustomProjection/geometry" ), saveGeometry() );
}
开发者ID:cz172638,项目名称:QGIS,代码行数:5,代码来源:qgscustomprojectiondialog.cpp
示例8: saveGeometry
MaterialEditDialog::~MaterialEditDialog()
{
QSettings settings;
settings.setValue("MaterialEditDialog/Geometry", saveGeometry());
}
开发者ID:deniq,项目名称:agros2d,代码行数:5,代码来源:materialbrowserdialog.cpp
示例9: settings
void MainWindow::writeSettings()
{
QSettings settings("Byron", "Painter");
settings.setValue("geometry", saveGeometry());
settings.setValue("recentFiles", recentFiles);
}
开发者ID:byronyi-deprecated,项目名称:Project_1,代码行数:6,代码来源:mainwindow.cpp
示例10: QStringLiteral
QgsSaveStyleToDbDialog::~QgsSaveStyleToDbDialog()
{
QSettings settings;
settings.setValue( QStringLiteral( "/Windows/saveStyleToDb/geometry" ), saveGeometry() );
}
开发者ID:3liz,项目名称:Quantum-GIS,代码行数:5,代码来源:qgssavestyletodbdialog.cpp
示例11: saveGeometry
/**
* Destructor
*/
eVisDatabaseConnectionGui::~eVisDatabaseConnectionGui()
{
QSettings settings;
settings.setValue( "/eVis/db-geometry", saveGeometry() );
}
开发者ID:ACorradini,项目名称:QGIS,代码行数:8,代码来源:evisdatabaseconnectiongui.cpp
示例12: saveGeometry
QgsOracleSelectGeoraster::~QgsOracleSelectGeoraster()
{
QSettings settings;
settings.setValue( "/Oracle/geometry", saveGeometry() );
settings.setValue( "/Oracle/connections/selected", cmbConnections->currentText() );
}
开发者ID:PeterTFS,项目名称:QGIS,代码行数:6,代码来源:qgsselectgeoraster_ui.cpp
示例13: saveGeometry
void CompleteMessageWidget::closeEvent(QCloseEvent *event)
{
settings->setValue(Common::SettingsNames::completeMessageWidgetGeometry, saveGeometry());
}
开发者ID:jktjkt,项目名称:trojita,代码行数:4,代码来源:CompleteMessageWidget.cpp
示例14: saveGeometry
QgsInterpolationDialog::~QgsInterpolationDialog()
{
QSettings settings;
settings.setValue( "/Interpolation/geometry", saveGeometry() );
settings.setValue( "/Interpolation/lastMethod", mInterpolationMethodComboBox->currentIndex() );
}
开发者ID:NyakudyaA,项目名称:QGIS,代码行数:6,代码来源:qgsinterpolationdialog.cpp
示例15: getSettings
ExtendedDialog::~ExtendedDialog()
{
getSettings()->setValue("Epanel/geometry", saveGeometry());
}
开发者ID:chouquette,项目名称:vlc,代码行数:4,代码来源:extended.cpp
示例16: QStringLiteral
QgsOpenVectorLayerDialog::~QgsOpenVectorLayerDialog()
{
QSettings settings;
settings.setValue( QStringLiteral( "/Windows/OpenVectorLayer/geometry" ), saveGeometry() );
}
开发者ID:wongjimsan,项目名称:QGIS,代码行数:5,代码来源:qgsopenvectorlayerdialog.cpp
示例17: saveGeometry
QgsGPSPluginGui::~QgsGPSPluginGui()
{
QSettings settings;
settings.setValue( "/Plugin-GPS/geometry", saveGeometry() );
settings.setValue( "/Plugin-GPS/lastTab", tabWidget->currentIndex() );
}
开发者ID:ACorradini,项目名称:QGIS,代码行数:6,代码来源:qgsgpsplugingui.cpp
示例18: saveGeometry
QgsDelimitedTextSourceSelect::~QgsDelimitedTextSourceSelect()
{
QSettings settings;
settings.setValue( mPluginKey + "/geometry", saveGeometry() );
delete mFile;
}
开发者ID:Adam-Brown,项目名称:Quantum-GIS,代码行数:6,代码来源:qgsdelimitedtextsourceselect.cpp
示例19: saveGeometry
void ProgramList::writeSettings(MainHost *myHost)
{
myHost->SetSetting("ProgramList/geometry", saveGeometry());
myHost->SetSetting("ProgramList/state", ui->splitter->saveState());
}
开发者ID:TomStanczyk,项目名称:vstboard,代码行数:5,代码来源:programlist.cpp
示例20: saveGeometry
/** Destructor. */
StyleDialog::~StyleDialog()
{
/* Save window postion */
Settings->setValueToGroup("StyleDialog", "Geometry", saveGeometry());
}
开发者ID:RedCraig,项目名称:retroshare,代码行数:6,代码来源:StyleDialog.cpp
注:本文中的saveGeometry函数示例由纯净天空整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论