Kstars
stellarsolverprofileeditor.cpp
52 connect(optionsProfileGroup, QOverload<int>::of(&QComboBox::currentIndexChanged), this, [this](int index){
60 connect(openProfile, &QPushButton::clicked, this, &StellarSolverProfileEditor::openSingleProfile);
65 connect(saveProfile, &QPushButton::clicked, this, &StellarSolverProfileEditor::saveSingleProfile);
77 connect(saveBackups, &QPushButton::clicked, this, &StellarSolverProfileEditor::saveBackupProfiles);
82 connect(loadBackups, &QPushButton::clicked, this, &StellarSolverProfileEditor::openBackupProfiles);
92 connect(loadDefaults, &QPushButton::clicked, this, &StellarSolverProfileEditor::loadDefaultProfiles);
124 if(item > optionsList.count() - 1) //So that it doesn't try to set the new list to a nonexistant one
133 connect(description, &QTextEdit::textChanged, this, &StellarSolverProfileEditor::settingJustChanged);
141 connect(check, &QCheckBox::stateChanged, this, &StellarSolverProfileEditor::settingJustChanged);
147 connect(combo, QOverload<int>::of(&QComboBox::currentIndexChanged), this, &StellarSolverProfileEditor::settingJustChanged);
152 connect(spin, QOverload<int>::of(&QSpinBox::valueChanged), this, &StellarSolverProfileEditor::settingJustChanged);
181 savedOptionsProfiles = QDir(KSPaths::writableLocation(QStandardPaths::AppLocalDataLocation)).filePath(profileGroupFileName);
216 if(!(editorOptions == currentProfile) || editorOptions.description != currentProfile.description)
249//If you are implementing the StellarSolver Library in your progra, you may choose to change some or all of these settings or use the defaults.
382 "You made unsaved changes in the settings, do you really wish to overwrite them?") == QMessageBox::No)
501 "You made unsaved changes in the settings, do you really wish to overwrite them?") == QMessageBox::No)
KGuiItem insert()
KGuiItem ok()
QString name(StandardShortcut id)
void clicked(bool checked)
void currentIndexChanged(int index)
QString filePath(const QString &fileName) const const
QString getOpenFileName(QWidget *parent, const QString &caption, const QString &dir, const QString &filter, QString *selectedFilter, Options options)
QString getSaveFileName(QWidget *parent, const QString &caption, const QString &dir, const QString &filter, QString *selectedFilter, Options options)
bool exists() const const
QFlags()
Int toInt() const const
QIcon fromTheme(const QString &name)
QString getText(QWidget *parent, const QString &title, const QString &label, QLineEdit::EchoMode mode, const QString &text, bool *ok, Qt::WindowFlags flags, Qt::InputMethodHints inputMethodHints)
Normal
T & first()
StandardButton question(QWidget *parent, const QString &title, const QString &text, StandardButtons buttons, StandardButton defaultButton)
StandardButton warning(QWidget *parent, const QString &title, const QString &text, StandardButtons buttons, StandardButton defaultButton)
IniFormat
AppLocalDataLocation
QString & append(QChar ch)
const QChar at(qsizetype position) const const
bool isEmpty() const const
QString number(double n, char format, int precision)
WA_LayoutUsesWidgetRect
QFuture< void > map(Iterator begin, Iterator end, MapFunctor &&function)
void textChanged()
QFuture< ArgsType< Signal > > connect(Sender *sender, Signal signal)
virtual void showEvent(QShowEvent *event)
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Tue Mar 26 2024 11:19:02 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Tue Mar 26 2024 11:19:02 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.