<div dir="ltr"><div dir="ltr"><div dir="ltr">Il giorno gio 3 ott 2019 alle ore 00:24 Kyle Altendorf <<a href="mailto:sda@fstab.net">sda@fstab.net</a>> ha scritto:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">There's plenty to complain about about designer.  You should be able to <br>
go into a mode where empty layouts get placeholder widgets in them and <br>
borders get bigger for easier selection and so on.  I haven't tried hard <br>
but I think there could be cleaner diffs of the xml. </blockquote><div></div></div><div><br></div><div>That's a known problem, especially when you need to add a widget to a new</div><div>sublayout that is shrunk to 0-size because of the expanding policies of existing</div><div>widgets. I struggled with it for some time, then I began to add a temporary</div><div>margin to new sublayouts until I add the first widget, then I reset the margin</div><div>to the default value. It's not as comfortable and intuitive as one would hope,</div><div>but it's effective and doesn't take much time once you're used to it.</div><div>And, anyway, despite its downsides, Designer is far more usable than</div><div>similar tools for other frameworks, like Glade for Gtk: I used it for some time,</div><div>and it's simply awful.</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">This is an interesting discussion. What I'm curious about is the big <br>proprietary applications with highly complex GUIs. Before Kolor was brought <br>and killed off by GoPro, they used to crank out programs written with Qt and <br>having lots of windows / dialogs. DxO use Qt in several of their programs. Do <br>folks like this — who I imagine are wealthy enough to use consultants from or <br>working closely with the Qt Company — create their UIs by hand in code, or <br>via a graphical tool?</blockquote><div><br>Since they are proprietary applications, there's no way to (directly) know, but</div><div>we can see that some "big" companies that have open releases of their </div><div>programs do use it. For example some components of VirtualBox do use</div><div>.ui files. MuseScore (not a "big" proprietary software per se, but it has some </div><div>paid content) also does. I also believe that a lot of components of Autodesk </div><div>Maya are created with Designer (they have been using custom builds of Qt</div><div>for some years now, and users can use Designer to customize the whole</div><div>interface or create their own tools). Google Earth Enterprise also uses ui files.<br><br>From what I've seen so far, besides small widgets and simple layouts,</div><div>developers are most inclined to use Designer as long as they can and </div><div>makes sense: despite being far from perfect, it's a complete tool that in most</div><div>cases really eases up things, usually saving lots of times and headaches; </div><div>of course, it doesn't work for all (or anybody). There are plenty of situations </div><div>for which using it really doesn't make much sense (or it is impossible), but </div><div>I've to disagree with the conception that any GUI interaction prevents </div><div>creating that GUI with Designer (or viceversa): except from very specific </div><div>cases of complex widgets or layouts, interacting with an existing .ui file </div><div>is almost the same as coding it by hand, with the huge advantage of having </div><div>all widgets properties close at hand (even easier with multiple selection)</div><div>instead of having to type everything by hand.</div><div><br>Ah, just to say, there's plenty of Designer ui files in Qt sources as well, </div><div>including, obviously, Designer itself :-)</div><div> </div><div>Cheers,</div><div>Maurizio</div>-- <br><div dir="ltr" class="gmail_signature">È difficile avere una convinzione precisa quando si parla delle ragioni del cuore. - "Sostiene Pereira", Antonio Tabucchi<br><a href="http://www.jidesk.net" target="_blank">http://www.jidesk.net</a></div></div></div>