Page 3 of 3

Re: Line2PEx - An improved line command?

Posted: Wed Jul 16, 2014 12:19 pm
by Clive
Hi riverbuoy
Very nice work here :wink: , been trying this out and its very useful for the feedback. As regards the F8 toggle option, how about adding an additional button for this with options?

Re: Line2PEx - An improved line command?

Posted: Mon Jul 28, 2014 9:04 pm
by riverbuoy
Hi all.

When testing this, I realised that pressing F8 changes the display whether or not QCAD is waiting for a coordinate. For example, the 'trim' command expects the user to select entities, so the coordinates aren't shown. But pressing F8 still changes the display. So I have changed this so that it only changes when QCAD is expecting a coordinate.
Only one file is changed - 'DisplayDistanceAngle.js', which I have attached. Replace the existing file - '/scripts/View/DisplayDistanceAngle/DisplayDistanceAngle.js'.
Clive wrote:As regards the F8 toggle option, how about adding an additional button for this with options?
I regard this more as a simple feature rather than a full blown command. So, at the moment, I have no plans to add a command button.

riverbuoy

Re: Line2PEx - An improved line command?

Posted: Tue Jul 29, 2014 11:22 am
by Clive
riverbuoy wrote:I regard this more as a simple feature rather than a full blown command. So, at the moment, I have no plans to add a command button.
No problem, thanks for all your input.

Re: Line2PEx - An improved line command?

Posted: Sun Aug 03, 2014 4:10 pm
by riverbuoy
Hi,
andrew wrote:OK. Eventually, that first key for tools in the options tool bar could even be configurable to some extent.
I have now added this option to 'Edit->Application Preferences->Widgets->Toolbars'. The option allows one character to be used as the first key. The input box cannot be empty, therefore to change the character, highlight the current character (use left arrow key, home key or mouse), and then type the character you wish to use. (If you change this while in the line command, for example, the change won't take effect until you exit the line command and then restart it.). The input box will not accept a space character, a plus(+) or a minus(-) character as these are currently one key shortcuts.
This involved changes to 3 files, which I have attached. These are 'EAction.js' which is in the '/scripts' directory. The other two files, 'ToolbarPreferences.js' and 'PreferencesPage.ui' are both in the '/scripts/Edit/AppPreferences/ToolbarPreferences' directory. Replace these files.
Phew, is the line command now complete?

riverbuoy

Re: Line2PEx - An improved line command?

Posted: Wed Aug 06, 2014 3:07 pm
by andrew
Thanks Robert. I've pushed these changes to the current master branch:
https://github.com/qcad/qcad

I've made some changes to the preference page layout and added the current shortcut to the tool tip of the tool buttons (e.g. "Close Sequence .C").