Kstars
viewsdialog.cpp
47 QDialogButtonBox *buttonBox = new QDialogButtonBox(QDialogButtonBox::Ok | QDialogButtonBox::Close);
60 connect(ui->ViewListBox->selectionModel(), &QItemSelectionModel::currentChanged, this, &ViewsDialog::slotSelectionChanged);
220 connect(fieldOfViewCheckBox, &QCheckBox::toggled, fieldOfViewSpinBox, &UnitSpinBoxWidget::setEnabled);
231 connect(disableErectObserverCheckBox, &QCheckBox::toggled, this, &NewView::updateViewingAnglePreviews);
234 connect(mountTypeComboBox, QOverload<int>::of(&QComboBox::currentIndexChanged), [&](const int index) {
322 i18n("There already exists a view with the name you attempted to use. Please choose a different name for this view."));
378 viewingAnglePreviewTop->setPixmap(m_topPreview->scaled(viewingAnglePreviewTop->width(), viewingAnglePreviewTop->height(),
NewView(QWidget *parent=nullptr, std::optional< SkyMapView > view=std::nullopt)
Create new dialog.
Definition viewsdialog.cpp:192
static bool removeView(const QString &name)
Remove a view Note: This is currently an O(N) operation.
Definition skymapview.cpp:194
static const QList< SkyMapView > & getViews()
Get the list of available views.
Definition skymapview.h:66
static std::optional< SkyMapView > viewNamed(const QString &name)
Get the view with the given name.
Definition skymapview.cpp:182
static constexpr double DegToRad
DegToRad is a const static member equal to the number of radians in one degree (dms::PI/180....
Definition dms.h:390
QString i18nc(const char *context, const char *text, const TYPE &arg...)
QString i18n(const char *text, const TYPE &arg...)
KGuiItem close()
void toggled(bool checked)
bool insertRow(int row, const QModelIndex &parent)
bool removeRow(int row, const QModelIndex &parent)
void rowsMoved(const QModelIndex &sourceParent, int sourceStart, int sourceEnd, const QModelIndex &destinationParent, int destinationRow)
InternalMove
virtual QModelIndex index(int row, int column, const QModelIndex &parent) const const override
void setValue(int)
void valueChanged(int value)
void addWidget(QWidget *widget, int stretch, Qt::Alignment alignment)
void currentIndexChanged(int index)
Accepted
virtual void done(int r)
QPushButton * button(StandardButton which) const const
MouseButtonDblClick
iterator insert(const Key &key, const T &value)
void currentChanged(const QModelIndex ¤t, const QModelIndex &previous)
void textChanged(const QString &text)
void append(QList< T > &&value)
StandardButton critical(QWidget *parent, const QString &title, const QString &text, StandardButtons buttons, StandardButton defaultButton)
bool isValid() const const
int row() const const
QMetaObject::Connection connect(const QObject *sender, PointerToMemberFunction signal, Functor functor)
virtual bool event(QEvent *e)
virtual bool eventFilter(QObject *watched, QEvent *event)
void installEventFilter(QObject *filterObj)
QObject * parent() const const
void lineTo(const QPointF &endPoint)
void moveTo(const QPointF &point)
QPainterPath createStroke(const QPainterPath &path) const const
void setWidth(qreal width)
WindowText
void fill(const QColor &color)
int height() const const
QPixmap scaled(const QSize &size, Qt::AspectRatioMode aspectRatioMode, Qt::TransformationMode transformMode) const const
QPixmap transformed(const QTransform &transform, Qt::TransformationMode mode) const const
int width() const const
Qt::MouseButton button() const const
bool isEmpty() const const
QString number(double n, char format, int precision)
virtual QVariant data(const QModelIndex &index, int role) const const override
virtual Qt::ItemFlags flags(const QModelIndex &index) const const override
virtual int rowCount(const QModelIndex &parent) const const override
virtual bool setData(const QModelIndex &index, const QVariant &value, int role) override
void setStringList(const QStringList &strings)
QStringList stringList() const const
KeepAspectRatio
MoveAction
transparent
typedef ItemFlags
LeftButton
SmoothTransformation
Tool
QFuture< ArgsType< Signal > > connect(Sender *sender, Signal signal)
QString toString() const const
void setEnabled(bool)
palette
void setDisabled(bool disable)
void setupUi(QWidget *widget)
size
void setWindowTitle(const QString &)
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 29 2024 11:57:47 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 29 2024 11:57:47 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.