Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-2252

uic3: QToolButton properties usesTextLabel and textPosition need to be converted to toolButtonStyle

    XMLWordPrintable

Details

    Description

      in qt3 we use :
      <property name="usesTextLabel">
      <bool>true</bool>
      </property>

      and
      <property name="textPosition">
      <enum>BesideIcon</enum>
      </property>

      But in Qt4:
      it's just one function:
      setToolButtonStyle ( Qt::ToolButtonStyle style )
      <property name="toolButtonStyle">
      <enum>...</enum>
      </property>

      The uic3 currently does not handle this.

      In qt4
      there is just 4 enums:
      Qt::ToolButtonIconOnly 0 Only display the icon.
      Qt::ToolButtonTextOnly 1 Only display the text.
      Qt::ToolButtonTextBesideIcon 2 The text appears beside the icon.
      Qt::ToolButtonTextUnderIcon 3 The text appears under the icon.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            kkohne Kai Köhne
            sthomass Stian Sandvik Thomassen (closed Nokia identity) (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes