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

Qtoolbar button and checked state is not shown

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • 4.7.1
    • 4.7.0
    • None
    • None
    • Qt S60 / Symbian
    • fcc4d041849ec4ea4f5c9e213a59926a57427aca

    Description

      The checked state is not shown in Qtoolbar Action Icon.
      It works on all win and mac platforms.

      The debuggable code
      ----------------------------------------------
      int checked;
      if(g_ULdata->frames[g_ULdata->ActiveFrame].CenterOnShip){
      checked=true;
      }
      else{
      checked=false;
      }
      int checkednow=ui->actionKeskit->isChecked();
      if( checkednow!=checked){
      ui->actionKeskit->setChecked(checked);
      }
      --------------------------------------------------------------------------------
      Has no effect on shown apllication??

      This works if application tstyle is set to QWindowsStyle

      Attachments

        1. tb.ZIP
          390 kB
          Hannu Säles
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            samimeri Sami Merila (Inactive)
            salesh Hannu Säles
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes