Results 1 to 15 of 15

Thread: Property editor fully featured?

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,370
    Thanks
    3
    Thanked 5,018 Times in 4,794 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Property editor fully featured?

    Quote Originally Posted by brcain View Post
    My understanding is that Qt is trying to treat all things equal (thus no layout managers ... a design decision)
    I don't quite understand... You can operate on layouts in Designer, can't you?
    ... yet have Qt Designer provide a natural view to the designer.
    It does provide a way. Even two ways. One is placing widgets on the form first and then applying a layout. The other is to modify an existing layout by dragging objects which are part of it.

    It's the abstraction I'm trying to work from. The notion of where a widget lives (logically ... i.e. a quadrant) in a QGridLayout is important and necessary to specify by the designer. Albeit, I freely admit I'm confused about how to specify it (and particular so change it) graphically in some cases.
    Place widgets first, layouts later.


    Quote Originally Posted by ZB View Post
    I agree it could need some more features, especially being able to change the hierarchy in the object inspector via drag'n'drop
    This is something I'd like to see too, but I believe it is very hard to implement it. If you modify the hierarchy, the coordinates of widgets change, the layouts change, it would be hard to place those "pulled out" widgets in appropriate coordinates in their new parent to avoid a mess on the form.

    emptying containers
    Hmm.. have you tried selecting the contents of a container and pressing "Delete"? Or breaking container's layout and dragging widgets outside of the container?

    and "flattening" them.
    I don't know what you mean by "flattening" a container.

    Some more widgets to chose from would be great
    I'm sorry, who forbids you from adding more widgets to Designer?

    too since it does take quite some effort to get acquainted enough with it to be able to add custom widgets
    Are you serious with that? With Qt4 it is really easy - you open a context menu and choose "promote widget" and that's it, the easiest way to add custom widgets.

    or even the ones native to Qt which are not available in the designer.
    Which ones are you talking about? They are not there to choose from because of a reason. And if you insist, you can always make a plugin that makes it possible to place them directly on form. For Qt3 you can use wwWidgets to place some of them on the form, but believe me, you won't be able to do anything serious with them without subclassing anyway...

  2. #2
    Join Date
    Sep 2006
    Posts
    19
    Thanks
    5
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Property editor fully featured?

    Quote Originally Posted by wysota View Post
    I'm sorry, who forbids you from adding more widgets to Designer?
    ...
    I think you are misunderstanding me, or not fully reading my post.

    Emptying containers automatically, flattening widgets (not the widgets, their hierarchy) and having more native widgets to chose from is what the Qt Designer in itself is all about - adding comfort, and there is no wrong in saying it would be nice and comfortable to have without going through the effort (which I insist is alot for non-expert users) of extending the Qt Designer on your own.

    If I said a glass of orange juice would be nice too, would you ask me sorry, but who forbids you to grow an orange tree and squeezing your own juice? I am simply saying it would be comfortable.

    Thanks

  3. #3
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,370
    Thanks
    3
    Thanked 5,018 Times in 4,794 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Property editor fully featured?

    Quote Originally Posted by ZB View Post
    I think you are misunderstanding me, or not fully reading my post.
    So enlighten me

    Emptying containers automatically,
    What do you mean by "automatically"? Electric impulses start to circulate through your brain and the container contents get deleted? You have to push something, it doesn't matter if it is the delete key on your keyboard or some other special combination.

    flattening widgets (not the widgets, their hierarchy)
    I still don't understand what you mean by flattening widgets or their hierarchy... you mean to recursively reparent all widgets from a container to the form itself? Read my previous reply again, it would create a mess on the form, especially with more complex containers.

    and having more native widgets to chose from
    Again, what native widgets? Name three...

    is what the Qt Designer in itself is all about - adding comfort, and there is no wrong in saying it would be nice and comfortable to have without going through the effort (which I insist is alot for non-expert users) of extending the Qt Designer on your own.
    But who asks you to extend Designer? Most of the features you desire are already there, you just didn't discover them yet.

    If I said a glass of orange juice would be nice too, would you ask me sorry, but who forbids you to grow an orange tree and squeezing your own juice? I am simply saying it would be comfortable.
    No, I would say Designer is not meant to serve orange juice but to design widgets. Just like people start comparing Designer to some IDEs. Designer is not an IDE and is not meant to be one. And even if Designer was serving fuit juice, you'd be lost in the vast number of fruits to choose from while trying to get a simple thing done.

    Besides, I doubt many people would appreciate serving fruit juice by a GUI designer. If you want/need a feature that is missing, you either have to implement it yourself or live without it by achieving the same effect in some other manner.

    To be honest, I can't think of a reason to "flatten" hierarchy of a container, you'd still have to drag all the widgets around manually trying to place them on the form and creating a big mess. I don't see how having a button to create chaos on the form is superior to dragging the hierarchy of widgets out of the container using a single mouse movement. And what happens if you want to sustain the lowest hierarchy in a container? "Flattening" the container would force you to find and reinsert all the "lowest level" widgets to respective containers. With the current implementation that won't be a problem, because those low-level widgets would still reside inside their containers.

    Too much possibilities to choose from create chaos. It is better to do one thing good then to do everything lousy. Next step you'll be asking for a button labeled "Implement my program for me".

  4. #4
    Join Date
    Sep 2006
    Posts
    19
    Thanks
    5
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Property editor fully featured?

    Quote Originally Posted by wysota View Post
    No, I would say Designer is not meant to serve orange juice but to design widgets.
    Let us agree to disagree before this turns into a flame war. Though you have to agree, being served orange juice by the Qt Designer would not be bad... it sure gets hot in my appartement during the summers...

    Thank you for answering my posts!

  5. #5
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,370
    Thanks
    3
    Thanked 5,018 Times in 4,794 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Property editor fully featured?

    Quote Originally Posted by ZB View Post
    Let us agree to disagree before this turns into a flame war.
    Oh, you haven't seen me start flame wars yet
    Though you have to agree, being served orange juice by the Qt Designer would not be bad... it sure gets hot in my appartement during the summers...
    That was a metafore, I hope... At least I treated it as one

Similar Threads

  1. Replies: 5
    Last Post: 16th May 2006, 20:38
  2. QPixmap designer property not showing up
    By high_flyer in forum Qt Programming
    Replies: 1
    Last Post: 15th March 2006, 19:56
  3. custom plugin designer property with out a variable?
    By high_flyer in forum Qt Programming
    Replies: 1
    Last Post: 15th March 2006, 19:11

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.