v0.12 Win32: Layout->Free mode not truly "free"
Moderators: XnTriq, helmut, xnview, Dreamer
-
- XnThusiast
- Posts: 2010
- Joined: Wed Mar 17, 2004 8:33 pm
- Location: Sarasota Florida
v0.12 Win32: Layout->Free mode not truly "free"
IMO. Free mode should support all possible positions and tilings of the browser panels.
In v0.12 it doesn't.
In v0.12 it doesn't.
John
-
- Author of XnView
- Posts: 42531
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
Re: v0.12 Win32: Layout->Free mode not truly "free&q
How that?? Which position is not possible?JohnFredC wrote:IMO. Free mode should support all possible positions and tilings of the browser panels.
In v0.12 it doesn't.
Pierre.
-
- XnThusiast
- Posts: 2010
- Joined: Wed Mar 17, 2004 8:33 pm
- Location: Sarasota Florida
Hi Pierre
I have been unsuccessful dragging the MP browser panels into the following arrangements:
T=Folder Tree
F=Files
P=Preview

Also, it appears that there is an implied hierarchy in some of the arrangements and not in others. One gets different results, for instance, if one drags the Preview panel vs. dragging the Tree panel.
IMO, all panels are logically subordinate in function to the file panel. MP does not implement this completely. See my old posts about the hierarchy of panels here and here.
And here is my concept of a proper panel hierarchy for any image browser:

On the other hand, if a functional hierarchy is not to be observed in the visual arrangement of MP browser panels, then any panel should be dockable in any position. This is probably the best approach since it allows the user to assert any possible visual relationship between the panels... or none at all, regardless of any de facto behavioral/functional relationships between them.
I have been unsuccessful dragging the MP browser panels into the following arrangements:
T=Folder Tree
F=Files
P=Preview

Also, it appears that there is an implied hierarchy in some of the arrangements and not in others. One gets different results, for instance, if one drags the Preview panel vs. dragging the Tree panel.
IMO, all panels are logically subordinate in function to the file panel. MP does not implement this completely. See my old posts about the hierarchy of panels here and here.
And here is my concept of a proper panel hierarchy for any image browser:

On the other hand, if a functional hierarchy is not to be observed in the visual arrangement of MP browser panels, then any panel should be dockable in any position. This is probably the best approach since it allows the user to assert any possible visual relationship between the panels... or none at all, regardless of any de facto behavioral/functional relationships between them.
John
-
- Author of XnView
- Posts: 42531
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
The problem is to define with QT what is the top what is the left...JohnFredC wrote:Also, it appears that there is an implied hierarchy in some of the arrangements and not in others. One gets different results, for instance, if one drags the Preview panel vs. dragging the Tree panel.
For example, you can't have 1a layout and change by hand to the 2a layout.
For 1a, you have a top/bottom area for F & T, and a right area for P
For 2a, you have a left/right are for F & T, and a bottom area for P
Pierre.
-
- XnThusiast
- Posts: 2010
- Joined: Wed Mar 17, 2004 8:33 pm
- Location: Sarasota Florida
Hi Pierre
Also, IMO the QT restrictions you mention will impact your ability to add new functionality to XnView via new panels while at the same time preserving "rational" layout behavior.
Please get this right before you get "too far down the road" of MP development. Its fundamental.
Thanks for listening!
Regardless of the reason for it, users' expectations (gained from using other software such as PSP, for instance) will make it seem as if XnView MP has bugs related to the layout functionality (even though it's really QT that is the problem).The problem is to define with QT what is the top what is the left...
Also, IMO the QT restrictions you mention will impact your ability to add new functionality to XnView via new panels while at the same time preserving "rational" layout behavior.
Please get this right before you get "too far down the road" of MP development. Its fundamental.
Thanks for listening!
John
-
- Author of XnView
- Posts: 42531
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
Sorry not easy to explain, but there is no restrictions in QTJohnFredC wrote:Regardless of the reason for it, users' expectations (gained from using other software such as PSP, for instance) will make it seem as if XnView MP has bugs related to the layout functionality (even though it's really QT that is the problem).The problem is to define with QT what is the top what is the left...
Also, IMO the QT restrictions you mention will impact your ability to add new functionality to XnView via new panels while at the same time preserving "rational" layout behavior.

http://doc.trolltech.com/4.4/qmainwindow.html#details
So for wanted arrangement, Files panel is no more central but it's Preview panel.
Pierre.
-
- XnThusiast
- Posts: 2010
- Joined: Wed Mar 17, 2004 8:33 pm
- Location: Sarasota Florida
-
- Author of XnView
- Posts: 42531
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
-
- XnThusiast
- Posts: 2010
- Joined: Wed Mar 17, 2004 8:33 pm
- Location: Sarasota Florida
Well I am a long way from advising you about implementation, but after a couple of hours prowling around the demos and reading the documentation, I do have a better conceptual grasp of the QT interface behavior and understand the issue somewhat.xnview wrote:The problem is to define with QT what is the top what is the left...
For example, you can't have 1a layout and change by hand to the 2a layout.
For 1a, you have a top/bottom area for F & T, and a right area for P
For 2a, you have a left/right are for F & T, and a bottom area for P
I'll post again about this when (er, uh, if!!!) I have something to contribute.
John
-
- XnThusiast
- Posts: 2010
- Joined: Wed Mar 17, 2004 8:33 pm
- Location: Sarasota Florida
Hi Pierre
Possible discoveries, or maybe (my) newbie mistakes:
1. Apparently QT frame/widget docking is only supported to the QT "Main window". I encountered this issue when attempting to set the docking parameters for a widget inside a docked frame. The docking options were grayed out in the QTDesigner property palettes for that widget.
Perhaps that is a QTDesigner limitation only (not QT itself), but if not, it is a serious limitation for UI design in QT, IMO.
2. In the Delphi/Visual Studio/MSAccess world I am accustomed to, one can subordinate an entire form to a frame. This feature promotes modular design by allowing the interface to reuse forms as "sub" forms inside other forms. Perhaps there is a "form" widget somewhere in QT but I couldn't find it in the Designer. For my own UI designs, that would be a very serious limitation.
I'll be more reticent with my UI requests for MP in the future because apparently some of them simply may not be possible.
Too bad LMDTools (my choice for Delphi) aren't cross-platform.
Just my 2 cents (or possibly very much less) worth.
Possible discoveries, or maybe (my) newbie mistakes:
1. Apparently QT frame/widget docking is only supported to the QT "Main window". I encountered this issue when attempting to set the docking parameters for a widget inside a docked frame. The docking options were grayed out in the QTDesigner property palettes for that widget.
Perhaps that is a QTDesigner limitation only (not QT itself), but if not, it is a serious limitation for UI design in QT, IMO.
2. In the Delphi/Visual Studio/MSAccess world I am accustomed to, one can subordinate an entire form to a frame. This feature promotes modular design by allowing the interface to reuse forms as "sub" forms inside other forms. Perhaps there is a "form" widget somewhere in QT but I couldn't find it in the Designer. For my own UI designs, that would be a very serious limitation.
I'll be more reticent with my UI requests for MP in the future because apparently some of them simply may not be possible.
Too bad LMDTools (my choice for Delphi) aren't cross-platform.
Just my 2 cents (or possibly very much less) worth.

John
-
- Author of XnView
- Posts: 42531
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
Docking is only possible in a QMainWindow, but you can have a QMainWindow in a QMainWindowJohnFredC wrote: 1. Apparently QT frame/widget docking is only supported to the QT "Main window". I encountered this issue when attempting to set the docking parameters for a widget inside a docked frame. The docking options were grayed out in the QTDesigner property palettes for that widget.
Do you have a example with LMDTools?2. In the Delphi/Visual Studio/MSAccess world I am accustomed to, one can subordinate an entire form to a frame. This feature promotes modular design by allowing the interface to reuse forms as "sub" forms inside other forms. Perhaps there is a "form" widget somewhere in QT but I couldn't find it in the Designer. For my own UI designs, that would be a very serious limitation.
Yes, there is limitation with the docking system, i hope that trolltech (nokia now) will enhance it.
Pierre.
-
- XnThusiast
- Posts: 2010
- Joined: Wed Mar 17, 2004 8:33 pm
- Location: Sarasota Florida
I'll check that out.xnview wrote:Docking is only possible in a QMainWindow, but you can have a QMainWindow in a QMainWindow
You mean a code example? The LMD site has plenty of resources. I personally don't have something non-proprietary I could send you.xnview wrote:Do you have a example with LMDTools
I will play around a bit more with QT this spring, though.
John
-
- Author of XnView
- Posts: 42531
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
-
- Posts: 274
- Joined: Sat Dec 02, 2006 12:41 am
for what it's worth, one of the application I use regularly (nuke 5.x) is a real example when it comes to ui layout customization and does rely on QT libraries afaik.
Nuke, along with modorepresent the absolute quintessence of customizable ui layout design to my eyes.
both application have demo downloads and are cross platform. If you ever want to check that out:
nuke download
modo download (reg required)
Nuke, along with modorepresent the absolute quintessence of customizable ui layout design to my eyes.
both application have demo downloads and are cross platform. If you ever want to check that out:
nuke download
modo download (reg required)
-
- XnThusiast
- Posts: 2010
- Joined: Wed Mar 17, 2004 8:33 pm
- Location: Sarasota Florida
Yes, I figured as much. The only other platform LMD is available for is C++ builder.
As I said, a shame there is not a cross-platform version. LMD makes good components that have useful properties.
In my old age (now upon me, accelerated by the global economic disaster) I am now learning Java and cell phones. I miss Delphi.
As I said, a shame there is not a cross-platform version. LMD makes good components that have useful properties.
In my old age (now upon me, accelerated by the global economic disaster) I am now learning Java and cell phones. I miss Delphi.
John