×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Regular Contributor
    Join Date
    May 2009
    Posts
    146

    Hide statuspane?

    Sometimes you need to use old stuff from symbian c++ when developing for symbian with qt. For example hiding status pane. Before I could use:

    Code:
                    //Hide statuspane
                    CEikStatusPane* statusPane = STATIC_CAST( CAknAppUi*, CEikonEnv::Static()->EikAppUi())->StatusPane();
                    statusPane->SwitchLayoutL(R_AVKON_STATUS_PANE_LAYOUT_EMPTY);
    But that doesn't work with the NokiaQtSDK and Qt Creator as I cannot include c++ stuff. (aknappui.h). So how can I hide the statuspane now?

  2. #2
    Regular Contributor
    Join Date
    May 2009
    Posts
    146

    Re: Hide statuspane?

    Anyone got an idea on this? I would be so thankful!

  3. #3
    Registered User
    Join Date
    Mar 2009
    Posts
    16

    Re: Hide statuspane?

    Set the "Qt::WindowSoftkeysVisibleHint" (http://doc.trolltech.com/4.6/qwidget.html#windowFlags-prop) and then call showFullScreen() on the Widget. This will give you a full screen widget with softkeys bar, which is equivalent to turning off the status pane. If you do just want a full screen, omit setting WindowSoftkeysVisibleHint. If you need the sofkeys regardless, but don't wan to show it, set Qt::WindowSoftkeysRespondHint.

    Also check http://doc.trolltech.com/4.6/qt.html#WindowType-enum for possible window flags.

Similar Threads

  1. statuspane
    By Jaya_Prakash in forum Symbian
    Replies: 1
    Last Post: 2010-06-12, 20:44
  2. Hide the statusPane
    By linlin_0 in forum Symbian
    Replies: 8
    Last Post: 2009-04-28, 07:30
  3. StatusPane
    By -Dips- in forum Symbian User Interface
    Replies: 5
    Last Post: 2006-03-24, 05:06
  4. How to hide the CBA?? StatusPane can be hide, how about CBA???
    By Nokia_Archive in forum Mobile Java General
    Replies: 1
    Last Post: 2002-05-24, 13:13

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •