diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2015-03-05 05:07:34 +0100 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2015-03-05 05:07:34 +0100 |
commit | e8c90f7ea7d7751f24bb7d12e8fb5cfe562509ce (patch) | |
tree | bcd0e2df4dbd88052fced90639071e4ab952c0c9 /kstars/kstars/indielement.h | |
parent | 533b9587fd577991e7b1994274c9c412c0887d31 (diff) | |
download | tdeedu-e8c90f7ea7d7751f24bb7d12e8fb5cfe562509ce.tar.gz tdeedu-e8c90f7ea7d7751f24bb7d12e8fb5cfe562509ce.zip |
Fix incorrectly renamed strings
Diffstat (limited to 'kstars/kstars/indielement.h')
-rw-r--r-- | kstars/kstars/indielement.h | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/kstars/kstars/indielement.h b/kstars/kstars/indielement.h index eb1826ee..c7ae6dd4 100644 --- a/kstars/kstars/indielement.h +++ b/kstars/kstars/indielement.h @@ -5,7 +5,7 @@ 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. - + 2004-01-15 INDI element is the most basic unit of the INDI KStars client. */ @@ -47,7 +47,7 @@ typedef enum {PG_NONE = 0, PG_TEXT, PG_NUMERIC, PG_BUTTONS, PG_RADIO, PG_MENU, PG_LIGHTS, PG_BLOB} PGui; /* INDI std properties */ -/* N.B. Need to modify corresponding entry in indidevice.cpp when changed */ +/* N.B. Need to modify corresponding entry in indidevice.cpp when changed */ enum stdProperties { CONNECTION, DEVICE_PORT, TIME, SDTIME, GEOGRAPHIC_COORD, /* General */ EQUATORIAL_COORD, EQUATORIAL_EOD_COORD, HORIZONTAL_COORD, /* Telescope */ ABORT_MOTION, ON_COORD_SET, SOLAR_SYSTEM, MOVEMENT, PARK, /* Telescope */ @@ -57,7 +57,7 @@ enum stdProperties { CONNECTION, DEVICE_PORT, TIME, SDTIME, GEOGRAPHIC_COORD, VIDEO_STREAM, /* Video */ FOCUS_SPEED, FOCUS_MOTION, FOCUS_TIMER, /* Focuser */ FILTER_SLOT}; /* Filter */ - + /* Devices families that we explicity support (i.e. with std properties) */ enum deviceFamily { KSTARS_TELESCOPE, KSTARS_CCD, KSTARS_FILTER, KSTARS_VIDEO, KSTARS_FOCUSER, KSTARS_DOME, KSTARS_GPS }; @@ -89,7 +89,7 @@ XMLEle * findEle (XMLEle *ep , INDI_P *pp, const char *child, char errmsg class INDI_E : public TQObject { Q_OBJECT - + public: INDI_E(INDI_P *parentProperty, TQString inName, TQString inLabel); ~INDI_E(); @@ -99,7 +99,7 @@ class INDI_E : public TQObject INDI_P *pp; /* parent property */ TQHBoxLayout *EHBox; /*Qt::Horizontal layout */ - + /* GUI widgets, only malloced when needed */ KSqueezedTextLabel *label_w; // label KLineEdit *read_w; // read field @@ -110,31 +110,31 @@ class INDI_E : public TQObject KPushButton *push_w; // push button KPushButton *browse_w; // browse button TQCheckBox *check_w; // check box - TQSpacerItem *hSpacer; //Qt::Horizontal spacer - + TQSpacerItem *hSpacer; // Horizontal spacer + double min, max, step; // params for scale double value; // current value double targetValue; // target value TQString text; // current text TQString format; // number format, if applicable - + int buildTextGUI (TQString initText); int buildNumberGUI (double initValue); int buildLightGUI(); int buildBLOBGUI(); void drawLt(); - + void initNumberValues(double newMin, double newMax, double newStep, char * newFormat); void updateValue(double newValue); void setMin (double inMin); void setMax (double inMax); - + void setupElementLabel(); void setupElementRead(int length); void setupElementWrite(int length); void setupElementScale(int length); void setupBrowseButton(); - + public slots: void spinChanged(double value); void sliderChanged(int value); |