Search found 1 match
- Wed Dec 06, 2017 8:03 pm
- Forum: QCAD Programming, Script Programming and Contributing
- Topic: show/hide dockWidget
- Replies: 0
- Views: 6545
show/hide dockWidget
Hi, I have a widget associeted to Line2P tool, and I want to dock it when Line2P is activated, otherwise hide it : I tried to do like this : Line2P.prototype.beginEvent = function () { Line.prototype.beginEvent.call(this); this.setState(Line2P.State.SettingFirstPoint); this.updateButtonStates(); //d...