projects
/
pulseview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
CMakeLists.txt: create NSIS file in binary directory not source
[pulseview.git]
/
pv
/
widgets
/
sweeptimingwidget.hpp
diff --git
a/pv/widgets/sweeptimingwidget.hpp
b/pv/widgets/sweeptimingwidget.hpp
index 5510865eb632f28680883c92f56e5f72682a1378..46d12d8e1e47c79687e4c8796bce51c762bf6ccc 100644
(file)
--- a/
pv/widgets/sweeptimingwidget.hpp
+++ b/
pv/widgets/sweeptimingwidget.hpp
@@
-14,12
+14,11
@@
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+ * along with this program; if not, see <http://www.gnu.org/licenses/>.
*/
*/
-#ifndef PULSEVIEW_PV_WIDGETS_SWEEPTIMINGWIDGET_H
-#define PULSEVIEW_PV_WIDGETS_SWEEPTIMINGWIDGET_H
+#ifndef PULSEVIEW_PV_WIDGETS_SWEEPTIMINGWIDGET_H
PP
+#define PULSEVIEW_PV_WIDGETS_SWEEPTIMINGWIDGET_H
PP
#include <libsigrok/libsigrok.h>
#include <libsigrok/libsigrok.h>
@@
-45,7
+44,9
@@
private:
};
public:
};
public:
- SweepTimingWidget(const char *suffix, QWidget *parent = NULL);
+ SweepTimingWidget(const char *suffix, QWidget *parent = nullptr);
+
+ void allow_user_entered_values(bool value);
void show_none();
void show_min_max_step(uint64_t min, uint64_t max, uint64_t step);
void show_none();
void show_min_max_step(uint64_t min, uint64_t max, uint64_t step);
@@
-69,7
+70,7
@@
private:
ValueType value_type_;
};
ValueType value_type_;
};
-}
//
widgets
-}
//
pv
+}
// namespace
widgets
+}
// namespace
pv
-#endif // PULSEVIEW_PV_WIDGETS_SWEEPTIMINGWIDGET_H
+#endif // PULSEVIEW_PV_WIDGETS_SWEEPTIMINGWIDGET_H
PP