wmayer
296683e113
Gui: split icon handling from ExpressionBinding
2023-03-09 12:43:44 +01:00
wmayer
3f615bbe05
Gui: fix possible problems with new style connect
...
* In UIntSpinBox rename the signal to not overwrite the signal of the base class
* In UIntSpinBox use the (ambiguous) signal 'valueChanged' of the base class QSpinBox
* To avoid that connect() fails use the function pointer of the Qt class where the signal is defined
2023-01-12 17:02:59 +01:00
wmayer
c3b0988219
Gui: don't make QuantitySpinBox dependent on implementation details of its base class
2022-10-26 10:54:07 +02:00
wmayer
121e4ed03c
Gui: don't make QuantitySpinBox dependent on implementation details of its base class
2022-10-26 00:43:33 +02:00
berniev
3877fc62c3
Gui: Single arg ctors must be explicit (PR #7369 )
2022-08-24 15:06:03 +02:00
berniev
75fa455c5d
Gui: Use override etc 2
2022-08-09 12:43:23 +02:00
wmayer
3fddaf4a2f
Fix several clazy issues:
...
* Q_PROPERTY should have either NOTIFY or CONSTANT [-Wclazy-qproperty-without-notify]
* Use Q_ENUM instead of Q_ENUMS [-Wclazy-qenums]
* Add missing a Q_OBJECT macro [-Wclazy-missing-qobject-macro]
* Signal/Slot arguments need to be fully-qualified [-Wclazy-fully-qualified-moc-types]
2022-07-24 19:03:30 +02:00
wmayer
82a6241fc5
fix (Qt) issues found by clang's clazy tool:
...
+ -Wclazy-incorrect-emit
+ -Wclazy-strict-iterators
+ -Wclazy-overloaded-signal
+ -Wclazy-qstring-arg
+ -Wclazy-unused-non-trivial-variable
+ -Wclazy-container-anti-pattern
+ -Wclazy-range-loop-reference
+ -Wclazy-const-signal-or-slot
+ -Wclazy-detaching-temporary
+ -Wclazy-qfileinfo-exists
2022-06-29 21:00:54 +02:00
wmayer
1178df06b4
Gui: modernize C++11
...
* use nullptr
2022-03-23 18:41:21 +01:00
Uwe
119812ed66
[Gui] SpinBox etc.: remove unused includes
2022-03-05 16:20:40 +01:00
wmayer
8dffd95639
Gui: refactor code to reduce code duplication
2022-01-05 20:13:09 +01:00
wmayer
6cac113ec7
Gui: QuantitySpinBox inherits from ExpressionSpinBox to reduce code duplication
2021-04-02 22:22:16 +02:00
wmayer
d81e6138d1
Gui: add class ExpressionSpinBox to reduce code duplication
2021-04-02 21:36:29 +02:00
Benjamin Nauck
d69bbaa51b
[Gui] Use std::shared_ptr instead of boost::shared_ptr
...
There's no need to use boost version when stl has support for shared_ptr
2021-03-06 19:32:03 +01:00
luz paz
38815b9550
Gui: Fix header uniformity, whitespace, and doxygen fixes
2020-11-26 10:14:56 +01:00
wmayer
f3c697abe7
Gui: [skip ci] workaround for QWindowsStyle to disable spin buttons when it is set read-only
2020-09-11 14:10:45 +02:00
Stefan Tröger
08b1c4619e
Expressions: port int spinbox for property editor
2015-12-09 14:08:49 +01:00
Stefan Tröger
96a586d04a
Expressions: Integrate into the property editor
...
- basic infrastructure for handling of expressions
- port the unit properties editor to support expressions
- port placement editor to support expressions
- expressions for double spinbox
- expressions in sketch constraints
2015-12-09 14:08:48 +01:00
Eivind Kvedalen
185a0916ef
SpinBox: Added expression binding functionality.
2015-09-30 15:54:18 +02:00
wmayer
120ca87015
+ unify DLL export defines to namespace names
...
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5000 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-10-10 13:44:52 +00:00