Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. [SPLIT] Future of Widgets in Qt

[SPLIT] Future of Widgets in Qt

Scheduled Pinned Locked Moved General and Desktop
26 Posts 10 Posters 14.0k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    andre
    wrote on last edited by
    #1

    [NOTE: This is a split of the original Thread "Best way to manage UI layout in Qt":http://developer.qt.nokia.com/forums/viewthread/3050 due to being a topic on its own, Volker]

    You can freely mix approaches using .ui files and hand crafted layouts even. Both have advantages and uses. If your layout is not going to be dynamic, I'd recommend using .ui files. They are not considdered "the old way" or anything like that.

    While fcochik is right, and QWidgets are not depricated, they don't currently have the focus of the Trolls anymore. Issues on Jira are being closed because of this, for instance. Still, for many situations, I think QWidgets are still way more suitable than QML. QML is nice for highly flashy UI, with smooth animations and the likes, but not so much for the typical desktop app with lots of input, buttons, menus, etc.

    1 Reply Last reply
    0
    • G Offline
      G Offline
      goetz
      wrote on last edited by
      #2

      [quote author="Andre" date="1294393121"]While fcochik is right, and QWidgets are not depricated, they don't currently have the focus of the Trolls anymore. Issues on Jira are being closed because of this, for instance.[/quote]

      Just for curiosity, do you have some examples?

      For the rest I can only second my pre-commentators.

      http://www.catb.org/~esr/faqs/smart-questions.html

      1 Reply Last reply
      0
      • A Offline
        A Offline
        andre
        wrote on last edited by
        #3

        [quote author="Volker" date="1294405147"][quote author="Andre" date="1294393121"]While fcochik is right, and QWidgets are not depricated, they don't currently have the focus of the Trolls anymore. Issues on Jira are being closed because of this, for instance.[/quote]

        Just for curiosity, do you have some examples?
        [/quote]
        Well, look at this one for instance: http://bugreports.qt.nokia.com/browse/QTBUG-14601

        It states in the comments:
        [quote]Given that we are focusing more on QML than in widgets, I'll close this task for now.[/quote]

        The rest of the comments are quite revealing as well, if you ask me. My conclusion: widgets are not dead, but they are on life support. Don't expect them to gain new features, see new cool widgets, or the likes.

        1 Reply Last reply
        0
        • F Offline
          F Offline
          fcrochik
          wrote on last edited by
          #4

          I don't think is a matter of technology direction. Nokia business is mobile devices, Nokia acquired Qt, QML is Qt plan for mobile devices so we can't expect QML and the mobility projects to not be on the top of the priority list. If not for anything else, because that is the quickest moving target.

          Qt before Nokia was all about cross platform (mainly desktop?) and the widgets are a big part of their success there. While I can see some instances where QML can be used for desktop applications (smaller flashy apps?) I believe using widgets is still the first approach for desktop applications ui.

          Certified Specialist & Qt Ambassador <a href="http://www.crochik.com">Maemo, Meego, Symbian, Playbook, RaspberryPi, Desktop... Qt everywhere!</a>

          1 Reply Last reply
          0
          • A Offline
            A Offline
            andre
            wrote on last edited by
            #5

            Yes, perhaps it is understandable, and I also get that QML is the hot new thing and needs a lot of tender love & care (and hard work) to get it up to speed, so sure, a lot of attention is focussed there. However, as recently as on the last Dev Days, Sebastian Nyström (VP Qt Developer Frameworks) claimed* that investments in the desktop would not go down. It was still a primairy target for Qt. Well, to me, from the comments on that Jira issue, it seems widgets are degraded to maintenance mode. In my book, that is lowering investment levels.

            *) see http://qt.nokia.com/developer/learning/online/talks/developerdays2010/keynotes/the-roadmap-next-generation-qt, first video, from minute 12:40 onwards. Development efforts for those platforms would remain stable. Since we have seen widget develoment, I expected that to continue. I guess I was wrong.

            1 Reply Last reply
            0
            • U Offline
              U Offline
              ucomesdag
              wrote on last edited by
              #6

              I get all itchy about this QML hype. I don't see yet how to create familiar looking and usable desktop apps with QML any time soon. So I hope they don't forget about the desktop and the QWidgets in there current mobile strategy. Unless I missed something nothing is wrong with creating mobile apps with QWidgets. The only question I have is, will QML in the future replace QWidgets?

              Write “Qt”, not “QT” (QuickTime).

              1 Reply Last reply
              0
              • F Offline
                F Offline
                fcrochik
                wrote on last edited by
                #7

                I don't think even the most enthusiastic about QML can dream that QML will replace Widgets all together. Sure we will end up seeing QML applications on the desktop because they will be ported from the mobile world or because not being c++ based will attract more developers. Having the "standard widgets" project for QML completed will also contribute for more QML applications making to the desktop.

                I believe the big appeal of Qt for developing desktop applications is/was that the applications, as much as possible, use/simulate the native look-and-feel of each platform. I think we are experiencing a paradigm shift from "standard look and feel" to "custom look and feel" on the mobile world but don't think this will apply to the desktop/productivity/business world any time soon, if ever.

                Certified Specialist & Qt Ambassador <a href="http://www.crochik.com">Maemo, Meego, Symbian, Playbook, RaspberryPi, Desktop... Qt everywhere!</a>

                1 Reply Last reply
                0
                • A Offline
                  A Offline
                  andre
                  wrote on last edited by
                  #8

                  Actually, I disagree with you on that last point.

                  On the one hand, there doesn't seem to be a huge "custom" look and feel on the mobile platform as you make it out to be. Yes, it is more smooth and animated, but if I look at the UI's of the apps on my iPhone, they look remarkably similar. And that is (still!) good! It makes it easy to find my way around in new apps, because often (not aways) they work in a similar way as the apps I already know. I think we'll see more standardization in UI interaction on mobile devices too. Maybe not by formal standards or HIGS, but at the very least by the copying of ideas between developers.

                  On the other hand, there are many platforms where a standard UI has never been much of an issue. Windows is one. Yes, it has some standards, and loads and loads of applications that don't integrate at all, introduce new UI components with every new version (from the same company as the OS, for instance...) or even do weird stuff with title bars and other non-standard tricks. Ever looked at an IM application or a media player and thought that it looked like it fitted the standards of the platform? I for one don't know many that do.

                  Edit:
                  I think good QML components are sorely needed. It may be fun coding a button once or twice, but in the end, you want to have these things available. Same goes for more complicated interaction components like choosing an item from a list, selecting a time or a date, grouping options, etc. In this respect, QML is leagues behind the Qt widgets.

                  1 Reply Last reply
                  0
                  • F Offline
                    F Offline
                    fcrochik
                    wrote on last edited by
                    #9

                    I don't actually have anything against custom look and feel on mobile or desktop applications. As I surely don't have anything against trying to follow UI design guidelines.

                    It is all about what will make for the best user experience on each individual application. If you write a tool for someone that uses Microsoft Office every day you probably should try to have the application follow all the latest Microsoft published (and unpublished) ui guidelines. If you are writing a game or a media player you should not compromise the experience by trying to have only standard ui elements, menu and status bars, ...

                    My point being: there is room for widgets and QML.

                    Certified Specialist & Qt Ambassador <a href="http://www.crochik.com">Maemo, Meego, Symbian, Playbook, RaspberryPi, Desktop... Qt everywhere!</a>

                    1 Reply Last reply
                    0
                    • A Offline
                      A Offline
                      andre
                      wrote on last edited by
                      #10

                      All true. My point was more: there is room for standard UI (-elements) even in the flashy, animated world of QML.

                      I too think that there is plenty of room for widgets still. I just hope that the Trolls keep that on their rader as well.

                      1 Reply Last reply
                      0
                      • U Offline
                        U Offline
                        ucomesdag
                        wrote on last edited by
                        #11

                        [quote author="Andre" date="1294412727"]I too think that there is plenty of room for widgets still. I just hope that the Trolls keep that on their rader as well.[/quote] Exactly my point.

                        Write “Qt”, not “QT” (QuickTime).

                        1 Reply Last reply
                        0
                        • A Offline
                          A Offline
                          andre
                          wrote on last edited by
                          #12

                          For those interested: http://lists.qt.nokia.com/pipermail/qt-interest/2011-January/030637.html

                          This is a thread that is currently running on the qt-interest list on a bug with QGraphicsProxyWidget being closed as "out of scope". The proposed solution: redo your work using QML. Right...

                          1 Reply Last reply
                          0
                          • U Offline
                            U Offline
                            ucomesdag
                            wrote on last edited by
                            #13

                            [quote author="Andre" date="1295435254"]For those interested: http://lists.qt.nokia.com/pipermail/qt-interest/2011-January/030637.html

                            This is a thread that is currently running on the qt-interest list on a bug with QGraphicsProxyWidget being closed as "out of scope". The proposed solution: redo your work using QML. Right...[/quote]

                            I've read the thread and I find it quite alarming the way things seem to go. Since the aquisition of Qt by Nokia it is all about mobile development and each time I read articles like these my fear gets worse that traditional desktop development will be left out.

                            It took years for Qt to get stable for desktop development, I sincerly hope they don't expect people to switch for desktop development to QML, or any other for that matter, they have still a long way to go. Every release seems to add features and change the behavior of others. I want the code I write today to behave more or less as expected with the next major release, I don't see that happening with QML?

                            Write “Qt”, not “QT” (QuickTime).

                            1 Reply Last reply
                            0
                            • I Offline
                              I Offline
                              ivan.todorovich
                              wrote on last edited by
                              #14

                              I'm too kinda disappointed with Qt focusing so much in QML and forgeting about QWidgets, which are the base of desktop applications..
                              QML could never replace QWidgets, in fact I think they be focusing on make QWidgets work in QML instead of making a brand new set of QML Widgets. >.<

                              o_o Sorry for my rusted english.

                              1 Reply Last reply
                              0
                              • L Offline
                                L Offline
                                lycis
                                wrote on last edited by
                                #15

                                I feel somewhat alarmed that such issues are closed as "out of scope" with the recommendation to solve it using QML.

                                We started to use Qt some years ago, since it is kinda stable and don't think our development team would be happy if the future of UI development is only with QML.

                                Maybe we should start to write our alternatives-plan if QML is really the way of Qt in near future...

                                1 Reply Last reply
                                0
                                • A Offline
                                  A Offline
                                  andre
                                  wrote on last edited by
                                  #16

                                  That QML recommendation was given in the mailinglist thread, not in the closing comment on the bugreport. But still, I found it worrysome (and wrote so in a reply in that thread).

                                  1 Reply Last reply
                                  0
                                  • L Offline
                                    L Offline
                                    lycis
                                    wrote on last edited by
                                    #17

                                    Yeah right. But what I meant is that it's alarming enough to close the issue because it is out of scope, because it's not considered important.

                                    It makes me think about the behaviour of the maintenance team here at work... if we tell the customer that a bug "is not considered important enough to be fixed at the moment" this usually means something like "hey, we're going to release a new cool feature so you won't need this old and grumpy feature anymore" :)

                                    1 Reply Last reply
                                    0
                                    • M Offline
                                      M Offline
                                      marcusl
                                      wrote on last edited by
                                      #18

                                      [quote author="Andre" date="1295439915"]That QML recommendation was given in the mailinglist thread, not in the closing comment on the bugreport. But still, I found it worrysome (and wrote so in a reply in that thread).[/quote]

                                      The recommendation is even in the bug-reports, I just got the following for http://bugreports.qt.nokia.com/browse/QTBUG-9826:

                                      [quote]
                                      Widgets in general is no longer within our scope, especially not widgets with graphics effects, and we strongly recommend using Qt Quick as a replacement for that. Qt Quick 2.0 will have way better support for hw accelerated effects. Hence closing this issue as out-of-scope.[/quote]

                                      While it pertains to QGraphicsEffects on QWidgets in a scroll area, Quick/QML might be more suited to that specifically, but shifting to QML for our entire app isn't really an option.

                                      Yes, I am worried too...

                                      /Marcus

                                      1 Reply Last reply
                                      0
                                      • frankcyblogic.deF Offline
                                        frankcyblogic.deF Offline
                                        frankcyblogic.de
                                        wrote on last edited by
                                        #19

                                        Hey, this entire thread does not mention digia once. As I understand it, it is up to digia to maintain Qt widgets and fix related bugs.

                                        1 Reply Last reply
                                        0
                                        • A Offline
                                          A Offline
                                          andre
                                          wrote on last edited by
                                          #20

                                          Note that most of this thread is a bit older than that fact. So it is not surprising that Digia is not mentioned in it.

                                          1 Reply Last reply
                                          0

                                          • Login

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • Users
                                          • Groups
                                          • Search
                                          • Get Qt Extensions
                                          • Unsolved