NVil Forum

General Category => Feature Requests => Topic started by: samardac on December 28, 2015, 05:03:12 pm

Title: User Windows Upgrade.
Post by: samardac on 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:
(https://monosnap.com/file/L3XdroCwbs7eiD7GlfdtJ5ryJcQ5Pd.png)

But have to look like something like this:
(https://monosnap.com/file/L1d2UOCmFG1AcAZy7sCzKU0DLohmYZ.png)

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!
Title: Re: User Windows Upgrade.
Post by: samardac on 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.
Title: Re: User Windows Upgrade.
Post by: IStonia on 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?
Title: Re: User Windows Upgrade.
Post by: samardac on 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.
Title: Re: User Windows Upgrade.
Post by: samardac on 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.
Title: Re: User Windows Upgrade.
Post by: IStonia on December 30, 2015, 09:02:35 am
Can you explain in example?
Title: Re: User Windows Upgrade.
Post by: samardac on 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.
Title: Re: User Windows Upgrade.
Post by: IStonia on December 30, 2015, 09:38:28 am
I will make both so you can avoid creating too many composite tools.
Title: Re: User Windows Upgrade.
Post by: samardac on 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.

Title: Re: User Windows Upgrade.
Post by: IStonia on 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".
Title: Re: User Windows Upgrade.
Post by: samardac on 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:
(https://monosnap.com/file/ZKy8Mip5f2wjfLQbWxRqi6UN9XQAhX.png)

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!
Title: Re: User Windows Upgrade.
Post by: IStonia on December 30, 2015, 06:51:12 pm
Can you reproduce that error?
Title: Re: User Windows Upgrade.
Post by: samardac on 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.
Title: Re: User Windows Upgrade.
Post by: samardac on 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.
Title: Re: User Windows Upgrade.
Post by: IStonia on 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.
Title: Re: User Windows Upgrade.
Post by: samardac on December 31, 2015, 06:53:58 am
Works great!
Can not check Windows Visible Mode Enabled. It works but you can not visually see check mark.
Title: Re: User Windows Upgrade.
Post by: samardac on December 31, 2015, 06:57:31 am
If you set Window for example to Windows Visible Mode Enabled - Mode -Polygon. And you are in polygon mode you can not close this window it opens again. I think it have to close if you want to close it. But next time when you go to the polygon mode it will appear again.

Title: Re: User Windows Upgrade.
Post by: IStonia on December 31, 2015, 08:49:42 am
Try this. It should be better.
http://www.digitalfossils.com/Download/NVil-Dec-29-15.rar
Title: Re: User Windows Upgrade.
Post by: samardac on December 31, 2015, 09:20:54 am
Works!

1. Can not make work Check Source - LMB, RMB, etc ... May be I do something wrong?

2. Now for example if you have Group Visible mode set to Polygon and yuo are in Object mode that group diapers but window do not change its size, so we have empty space can you fix it? May be option Like - Window - Autosize.
Title: Re: User Windows Upgrade.
Post by: IStonia on December 31, 2015, 10:12:37 am
1. Can you show me the button settings?
2. No idea how to do it.
Title: Re: User Windows Upgrade.
Post by: samardac on December 31, 2015, 11:51:03 am
This is it:
(https://monosnap.com/file/h7Z1kjxsPZjhXFgqZJSMwjJgEt7KDU.png)

So when I click button with LMB it not get Checked State.
Title: Re: User Windows Upgrade.
Post by: IStonia on January 01, 2016, 12:09:20 pm
http://www.digitalfossils.com/Download/NVil-Dec-29-15.rar

2. Fixed. Make sure the tool has check state. The tool name should end with "$".
Title: Re: User Windows Upgrade.
Post by: samardac on January 01, 2016, 03:30:49 pm
Many thanks!!
Title: Re: User Windows Upgrade.
Post by: samardac on January 02, 2016, 08:54:51 am
IStonia, as I understood $ is for Checked State - Auto. But when you have Checked State - LMB or RMB... button have to have check state when you LMB it or RMB it...independent of $. But it still does not work.
Title: Re: User Windows Upgrade.
Post by: IStonia on January 02, 2016, 09:01:00 am
Suppose you set a geometry duplicate command to button's LMB, you LMB click it and the command fired. Now do you want the button to be checked?
Title: Re: User Windows Upgrade.
Post by: samardac on January 02, 2016, 09:34:49 am
Oh sorry....
Looks like I see my fault.
(https://monosnap.com/file/qQ5M7BAMujahcV0LoxhuRan1k8E6LB.png)
I thought these states was made to allow button to be checked if command has no $. Just checked stated based on Mouse Click. You click first time LMB it will be checked, if you click second LMB time it will be Not checked.
And I thought Auto is for commands that has $.

Now I understood it indicates what Event to use as Check State.
Title: Re: User Windows Upgrade.
Post by: samardac on January 02, 2016, 10:45:38 am
IStonia, do not why but screen starts to flicker when you goes from one mode to another when you have windows with Windows Visible Mode Enabled.
Check this video:
https://monosnap.com/file/GjLkUouUrFN9vhhjpLXh0Jx5Xg89sN

I send My config to you via Email, so you can try it you self.

Title: Re: User Windows Upgrade.
Post by: IStonia on January 03, 2016, 05:59:13 am
Fixed.
http://www.digitalfossils.com/Download/NVil-Dec-29-15.rar
Title: Re: User Windows Upgrade.
Post by: samardac on January 03, 2016, 08:06:20 am
Looks like it works!

Title: Re: User Windows Upgrade.
Post by: IStonia on January 03, 2016, 12:50:14 pm
http://www.digitalfossils.com/Download/NVil-Dec-29-15.rar

 User tool window context menu > Window > Auto Resize On Mode Changed Enabled.
Title: Re: User Windows Upgrade.
Post by: samardac on January 03, 2016, 01:05:53 pm
It is absolutely awaysome!!!!!!!!
In some situation it is thousands time better than use different windows, many thanks!