Changeset 9383 in ntrip for trunk/BNC/qwt/qwt_counter.cpp
- Timestamp:
- Mar 19, 2021, 9:15:03 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/qwt/qwt_counter.cpp
r8127 r9383 51 51 52 52 /*! 53 The counter is initialized with a range is set to [0.0, 1.0] with 53 The counter is initialized with a range is set to [0.0, 1.0] with 54 54 0.01 as single step size. The value is invalid. 55 55 … … 83 83 layout->addWidget( btn ); 84 84 85 connect( btn, SIGNAL( released() ), SLOT( btnReleased()) );86 connect( btn, SIGNAL( clicked() ), SLOT( btnClicked()) );85 connect( btn, SIGNAL(released()), SLOT(btnReleased()) ); 86 connect( btn, SIGNAL(clicked()), SLOT(btnClicked()) ); 87 87 88 88 d_data->buttonDown[i] = btn; … … 94 94 layout->addWidget( d_data->valueEdit ); 95 95 96 connect( d_data->valueEdit, SIGNAL( editingFinished() ), 97 SLOT( textChanged() ) ); 96 connect( d_data->valueEdit, SIGNAL(editingFinished()), SLOT(textChanged()) ); 98 97 99 98 layout->setStretchFactor( d_data->valueEdit, 10 ); … … 107 106 layout->addWidget( btn ); 108 107 109 connect( btn, SIGNAL( released() ), SLOT( btnReleased()) );110 connect( btn, SIGNAL( clicked() ), SLOT( btnClicked()) );108 connect( btn, SIGNAL(released()), SLOT(btnReleased()) ); 109 connect( btn, SIGNAL(clicked()), SLOT(btnClicked()) ); 111 110 112 111 d_data->buttonUp[i] = btn; … … 131 130 } 132 131 133 /*! 132 /*! 134 133 Set the counter to be in valid/invalid state 135 134 … … 137 136 the buttons are disabled. 138 137 139 \param on If true the counter will be set as valid 138 \param on If true the counter will be set as valid 140 139 141 140 \sa setValue(), isValid() … … 156 155 else 157 156 { 158 d_data->valueEdit->setText( QString ::null);159 } 160 } 161 } 162 163 /*! 157 d_data->valueEdit->setText( QString() ); 158 } 159 } 160 } 161 162 /*! 164 163 \return True, if the value is valid 165 164 \sa setValid(), setValue() … … 168 167 { 169 168 return d_data->isValid; 170 } 169 } 171 170 172 171 /*! … … 181 180 } 182 181 183 /*! 182 /*! 184 183 \return True, when the line line edit is read only. (default is no) 185 184 \sa setReadOnly() … … 335 334 \brief En/Disable wrapping 336 335 337 If wrapping is true stepping up from maximum() value will take 338 you to the minimum() value and vice versa. 336 If wrapping is true stepping up from maximum() value will take 337 you to the minimum() value and vice versa. 339 338 340 339 \param on En/Disable wrapping
Note:
See TracChangeset
for help on using the changeset viewer.