News:

 

Topic: User Windows Upgrade.  (Read 4699 times)

0 Members and 1 Guest are viewing this topic.

  • Posts: 1697
  • Administrator
  • Polygon
    • http://samardac.com/
December 28, 2015, 05:03:12 pm
IStonia, sorry if I made requests to fast.
I have this request to improve user windows behavior. I think it is very important update I'm working now on UI and it is so vital.

Buttons:
1. Increase button size, now the maximum high is 48. It will allow us to use buttons to show big images. I plane to use it for graphic help. So I'll create images and then embed them into buttons. I want to try to create nice graphic dynamic help.

2. Add option into User Tool Button Customization window - Use Tool Tip as Button Title. So if we will have big buttons it will allows us to embed text into that buttons, we will use it for dynamic help or any other stuff.

3. Add Check Source Option.

Now it look like this:


But have to look like something like this:


So it will allow us to use composite tools in buttons and have Checked state also works by getting Check state from another tool. So if Check state is set Button will get Check state from this tool, not from tools in Event Actions. Very need this!

4. Now if you have Show Text and Show Image options ON, text shows in the right of image, can you pleas add option Show Text Under the Image.

5. Add option - Open Url. It will open Url by LMB instead of execute Event Action On LMB Click.


Windows
6. Add option - Disable Close button. It will hide close button from Window.

7. Add options for User Windows - Mods. So if you set mods for window it will be visible only when seted mode is active. For example it you set it to polygons, window will be visible only when Polygons mode is enabled. In all other mods it will be invisible and disabled but at the same time stay Shown or Hidden.

Prefferences
8. Add option: Preference->Options->Disable User Windows Customization. It will prevent users from modifying windows. I think it have to work this way - if you RMB in User Window it will do nothing.


Many Thanks in advance!
« Last Edit: December 29, 2015, 08:01:42 am by samardac »
Portfolio: www.samardac.com

  • Posts: 1697
  • Administrator
  • Polygon
    • http://samardac.com/
December 29, 2015, 08:16:58 am
IStonia,
New explanation for item #7:
If you set window to one of Mods it will be shown/hidden if you switch to that mode, or hidden if you switch off that mode.

9. R_P_Multiple Show/Hide. So it is tool with parameters:

Show/Hide - True/False
Name - String

If User Window contain words from Name item they will be Shown/Hidden. It will allow us treat multiple windows based on their names. For example If I have 5 windows that contain in its names word Tools they all will be shown/Hidden. We can use this command in very different situations.

10. R_P_Multiple Disable/Enable. It will disable/enable multiple windows. When window is disabled it will be hidden if it is visible and disabled or if it hidden it will be just Disabled.
When window is Disabled you can not Show it any more with commands. This feature will be used to make buttons - Do not show this Window/Windows any more. Specially good for disabling dynamic help and other windows.

Disable/Enable - True/False
Name - String

If User Window contain words from Name item they will be Disabled/Enabled.
« Last Edit: December 29, 2015, 08:47:30 am by samardac »
Portfolio: www.samardac.com

  • No avatar
  • Posts: 3705
  • Developer
  • Administrator
  • Polygon
December 30, 2015, 06:39:47 am

5. Add option - Open Url. It will open Url by LMB instead of execute Event Action On LMB Click.



Can not under stand. Can you explain?

  • Posts: 1697
  • Administrator
  • Polygon
    • http://samardac.com/
December 30, 2015, 07:08:55 am
Quote
Can not under stand. Can you explain?
If you check this option it will open URL that you intered when you left click on button instead of perform Event action.
For example you have button like Help and if you left click this button NVil will open Browser and go to this URL.
It have to work exactly like when you click on button when Ctrl/Shift/Alt is pressed but just with left click.
So you just click button and go to the URL.
« Last Edit: December 30, 2015, 07:10:50 am by samardac »
Portfolio: www.samardac.com

  • Posts: 1697
  • Administrator
  • Polygon
    • http://samardac.com/
December 30, 2015, 08:51:54 am
Quote
Can not under stand. Can you explain?
Hay IStonia have nice idea. It would be better instead of this option create P_OpenUrl tool. So you could use it to open url using buttons or hotkeys. I think it will work much more better.
Portfolio: www.samardac.com

  • No avatar
  • Posts: 3705
  • Developer
  • Administrator
  • Polygon
December 30, 2015, 09:02:35 am
Can you explain in example?

  • Posts: 1697
  • Administrator
  • Polygon
    • http://samardac.com/
December 30, 2015, 09:34:21 am
So we have tool P_OpenUrl with only one parametr:
Url - String. This parametr contain Url.
So when you run this tool Nvil will open this url using default browser.
Portfolio: www.samardac.com

  • No avatar
  • Posts: 3705
  • Developer
  • Administrator
  • Polygon
December 30, 2015, 09:38:28 am
I will make both so you can avoid creating too many composite tools.

  • Posts: 1697
  • Administrator
  • Polygon
    • http://samardac.com/
December 30, 2015, 09:54:52 am
Yep I wanted to ask you for these both, but do not wanted to load you with extra work.
If you are going to implement check box for using Url with LMB for Buttons than make pleas 3 check boxes not only for LMB but also for MMB and RMB. So you could decide witch mouse button to use to open Url.

Portfolio: www.samardac.com

  • No avatar
  • Posts: 3705
  • Developer
  • Administrator
  • Polygon
December 30, 2015, 01:15:18 pm
http://www.digitalfossils.com/Download/NVil-Dec-29-15.rar

  * Edit > Preference > Options > User tool window customize enabled.
  * User tool window context menu > Window > Control Box Visible/Window Visible Mode/Window Visible Mode Enabled.
  * A new "Check Source" option is added to user button customization.
  * User button maximum size increased to 500 x 500.
  * User button image location is customizable.
  * Tooltip can be used as text for user button.
  * "LMB/MMB/RMB URL" options is added to user button.
  * Edit > Customize > Tools > Common Shortcut Tools > Open Url.
  * Edit > Customize > Windows > "P_Show/Hide User Windows", "P_Enable/Disable User Windows", "Enable All User Windows".

  • Posts: 1697
  • Administrator
  • Polygon
    • http://samardac.com/
December 30, 2015, 02:07:07 pm
Now Button Customization Window looks absolutely amazing! Great job! You made this big request so fast, you are so talented programmer!

I found some little bugs.

1. Show Text, Show Image, Use Tool tip as text do not show anything on Button in Button Customization Window.
You check them but nothing happens, but on real button it works. Tool tip Enabled also do not work but I do not know if it should work inside Button Customization Window.
After cheking that check boxes when exit Customization Window you get this error:


And you hav eto restart NVil because that error do not stop to appears.
Check text of error here:
http://listick.ru/share/wga8g

Many, Many Thanks!
« Last Edit: December 30, 2015, 02:21:48 pm by samardac »
Portfolio: www.samardac.com

  • No avatar
  • Posts: 3705
  • Developer
  • Administrator
  • Polygon
December 30, 2015, 06:51:12 pm
Can you reproduce that error?

  • Posts: 1697
  • Administrator
  • Polygon
    • http://samardac.com/
December 30, 2015, 08:06:30 pm
Can not reproduce that error. Looks like it disapered. If I hook it again I wll let you know.
Portfolio: www.samardac.com

  • Posts: 1697
  • Administrator
  • Polygon
    • http://samardac.com/
December 30, 2015, 08:11:00 pm
IStonia, is it possible to make this forum notify you about replys? I press button on the top of topic - Notify but do not recive emails.
Portfolio: www.samardac.com

  • No avatar
  • Posts: 3705
  • Developer
  • Administrator
  • Polygon
December 30, 2015, 10:38:57 pm
http://www.digitalfossils.com/Download/NVil-Dec-29-15.rar

Some fixings. The button in customize form should behavior like the real button.