kdepreferencesdialog.h

来自「celestia源代码」· C头文件 代码 · 共 88 行

H
88
字号
/***************************************************************************                          kdepreferencesdialog.h  -  description                             -------------------    begin                : Sun Jul 21 2002    copyright            : (C) 2002 by chris    email                : chris@tux.teyssier.org ***************************************************************************//*************************************************************************** *                                                                         * *   This program is free software; you can redistribute it and/or modify  * *   it under the terms of the GNU General Public License as published by  * *   the Free Software Foundation; either version 2 of the License, or     * *   (at your option) any later version.                                   * *                                                                         * ***************************************************************************/#include <kdialogbase.h>#include "celestiacore.h"class QLabel;class QSpinBox;class QComboBox;class QCheckBox;class KKeyChooser;class KdeApp;class KdePreferencesDialog : public KDialogBase {Q_OBJECTpublic:    KdePreferencesDialog( QWidget* parent, CelestiaCore* core );       ~KdePreferencesDialog();public slots:    void slotOk();    void slotApply();    void slotCancel();    void setNow();    void ltSubstract();    void slotTimeHasChanged();    void slotAmbientLightLevel(int l);    void slotFaintestVisible(int m);    void slotRenderPath(int);    void slotDistanceToScreen(int);    void slotMinFeatureSize(int);protected:    CelestiaCore* appCore;    KdeApp* parent;        KKeyChooser* keyChooser;    int savedRendererFlags;    int savedLabelMode;    int savedOrbitMask;    int savedAmbientLightLevel;    int savedFaintestVisible;    int savedHudDetail;    int savedDisplayLocalTime;    int savedRenderPath;    int savedDistanceToScreen;    uint32 savedLocationFilter;    int savedMinFeatureSize;    bool timeHasChanged;    QComboBox* displayTimezoneCombo;    QComboBox* setTimezoneCombo;    QSpinBox *YSpin, *MSpin, *DSpin;    QSpinBox *hSpin, *mSpin, *sSpin;    QSpinBox *dtsSpin;    QComboBox *renderPathCombo;    QLabel* renderPathLabel;    QLabel* ambientLabel, *faintestLabel, *minFeatureSizeLabel;        void setTime(double d);    double getTime() const;    void setRenderPathLabel();};        

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?