|
void | resetCollisions () |
| restore colors of all items it TreeWidget to defaults.
|
|
virtual void | retranslate () Q_DECL_OVERRIDE |
|
void | initEditors () |
| initialize editors state when current item changed.
|
|
bool | prefixMatchKeySequence (const QKeySequence &ks1, const QKeySequence &ks2) |
| checks whether one QKeySequence is prefix of another.
|
|
QList< QStandardItem * > | findCollidingItems (QKeySequence ks) |
| Compile a list of items that share a prefix with this sequence.
|
|
void | handleCollisions (ShortcutLineEdit *currentEdit) |
|
void | handleChanges () |
| called when editors' state changed.
|
|
void | applyChanges () |
| called when apply button clicked.
|
|
void | switchToEditors (const QModelIndex &index) |
| called by double-click; if click is on editable item, switch to editors
|
|
void | updateShortcutsItem (class StelAction *action, QStandardItem *shortcutItem=Q_NULLPTR) |
| update shortcut representation in tree correspondingly to its actual contents. More...
|
|
void | restoreDefaultShortcuts () |
|
void | restoreAllDefaultShortcuts () |
|
void | updateTreeData () |
|
virtual void | retranslate ()=0 |
| Retranslate the content of the dialog. More...
|
|
virtual void | setVisible (bool) |
| On the first call with "true" populates the window contents.
|
|
virtual void | close () |
| Closes the window (the window widget is not deleted, just not visible).
|
|
void | handleMovedTo (QPoint newPos) |
| Adds dialog location to config.ini; should be connected in createDialogContent()
|
|
virtual void | handleDialogSizeChanged (QSizeF size) |
| Stores dialog sizes into config.ini; should be connected from the proxy. More...
|
|
QString | getDialogName () const |
|
|
void | visibleChanged (bool) |
|
bool | askConfirmation () |
|
void | askColor () |
| To be called by a connected QToolButton with a color background. More...
|
|
void | enableKineticScrolling (bool b) |
| enable kinetic scrolling. This should be connected to StelApp's StelGui signal flagUseKineticScrollingChanged.
|
|
void | handleFontChanged () |
| connect from StelApp to handle font and font size changes.
|
|
virtual void | updateNightModeProperty (bool n) |
|
static void | connectCheckBox (QAbstractButton *checkBox, const QString &actionName) |
| Helper function to connect a checkbox to the StelAction with the specified name.
|
|
static void | connectCheckBox (QAbstractButton *checkBox, StelAction *action) |
| Helper function to connect a checkbox to the given StelAction.
|
|
static void | connectIntProperty (QLineEdit *lineEdit, const QString &propName) |
| Helper function to connect a QLineEdit to an integer StelProperty. More...
|
|
static void | connectIntProperty (QSpinBox *spinBox, const QString &propName) |
| Helper function to connect a QSpinBox to an integer StelProperty. More...
|
|
static void | connectIntProperty (QComboBox *comboBox, const QString &propName) |
| Helper function to connect a QComboBox to an integer StelProperty. More...
|
|
static void | connectIntProperty (QSlider *slider, const QString &propName, int minValue, int maxValue) |
| Helper function to connect a QSlider to an double or float StelProperty. More...
|
|
static void | connectDoubleProperty (QDoubleSpinBox *spinBox, const QString &propName) |
| Helper function to connect a QDoubleSpinBox to an double or float StelProperty. More...
|
|
static void | connectDoubleProperty (AngleSpinBox *spinBox, const QString &propName) |
| Helper function to connect an AngleSpinBox to a double or float StelProperty representing decimal degrees. More...
|
|
static void | connectDoubleProperty (QSlider *slider, const QString &propName, double minValue, double maxValue) |
| Helper function to connect a QSlider to an double or float StelProperty. More...
|
|
static void | connectStringProperty (QComboBox *comboBox, const QString &propName) |
| Helper function to connect a QComboBox to a QString StelProperty. More...
|
|
static void | connectStringProperty (QLineEdit *lineEdit, const QString &propName) |
| Helper function to connect a QLineEdit to a QString StelProperty. More...
|
|
static void | connectBoolProperty (QAbstractButton *checkBox, const QString &propName) |
| Helper function to connect a checkbox to a bool StelProperty. More...
|
|
static void | connectBoolProperty (QGroupBox *checkBox, const QString &propName) |
| Helper function to connect a groupbox to a bool StelProperty. More...
|
|
QWidget * | dialog |
| The main dialog.
|
|
class CustomProxy * | proxy |
|
QString | dialogName |
| The name should be set in derived classes' constructors and can be used to store and retrieve the panel locations.
|
|
QList< QWidget * > | kineticScrollingList |
| A list of widgets where kinetic scrolling can be activated or deactivated The list must be filled once, in the constructor or init() of fillDialog() etc. More...
|
|
bool | visible |
|