×

Discussion Board

Results 1 to 6 of 6
  1. #1
    Registered User
    Join Date
    Mar 2011
    Posts
    9

    Selection Border

    Hello.
    I compile app for Symbian 3rd Edition.
    How I can hide selection border on QPushButton and other?

  2. #2
    Nokia Developer Champion
    Join Date
    Dec 2008
    Posts
    2,356

    Re: Selection Border

    could you please me more specific , i could no get you

  3. #3
    Super Contributor
    Join Date
    Nov 2009
    Location
    Minnesota, USA
    Posts
    3,209

    Re: Selection Border

    It's difficult -- it's the main thing that's not really customizable via style sheets, etc. You either have to disable focus (setFocusPolicy(Qt::NoFocus)) for the button (which is OK for soma apps/phones, not for others), or else you have to write your own QStyle subclass for the button.

    Rather silly that Qt doesn't provide a more direct way to control/suppress the focus border. It's one of a dozen or so glaring omissions.
    Last edited by danhicksbyron; 2011-04-17 at 12:22.

  4. #4
    Registered User
    Join Date
    Mar 2011
    Posts
    9

    Re: Selection Border



    How i can hide this border?

  5. #5
    Registered User
    Join Date
    Mar 2011
    Posts
    9

    Re: Selection Border

    See it: http://defkax.ru/untitled.sis
    It's writted on Qt and use QPushButton.

    (I can't get screenshot)

  6. #6
    Nokia Developer Expert
    Join Date
    Feb 2008
    Posts
    183

    Re: Selection Border

    See http://bugreports.qt.nokia.com/browse/QTBUG-16027

    One "glaring omission" less. Dan, let us know the other eleven, please.

    For pre-Qt.4.7.4, see comments in http://bugreports.qt.nokia.com/browse/QTBUG-16699, there are some hints how to make the QFocusFrame transparent in your app.

Similar Threads

  1. label border
    By assayag in forum Symbian
    Replies: 1
    Last Post: 2009-06-24, 08:20
  2. How to make simple GRID list with border and highlighted selection.
    By khurshed79 in forum Symbian User Interface
    Replies: 2
    Last Post: 2009-01-25, 10:25
  3. Replies: 0
    Last Post: 2008-11-10, 10:32
  4. Selection bar and selection frame
    By GENERAL_INFO in forum Symbian User Interface
    Replies: 1
    Last Post: 2001-12-05, 15:44

Posting Permissions

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