×

Discussion Board

Results 1 to 10 of 10
  1. #1
    Registered User
    Join Date
    Apr 2010
    Posts
    21

    How to setting Geometry property for a non-parent's QWidget?

    Hi, all
    I want setting Geometry property for a non-parent QWidget by setGeometry function, but it's fullscreen always.
    why? I running it base on Linux and Qt-everywhere-4.6.1
    thanks!

    Best regards


    Mecland

  2. #2
    Super Contributor
    Join Date
    Oct 2009
    Posts
    4,326

    Re: How to setting Geometry property for a non-parent's QWidget?

    Use QWidget::showNormal to quit fullscreen mode
    http://doc.qt.nokia.com/4.6/qwidget.html#showNormal

  3. #3
    Registered User
    Join Date
    Apr 2010
    Posts
    21

    Re: How to setting Geometry property for a non-parent's QWidget?

    Thanks, Daniil
    I try to do that, but the question remains undecided for me.


    Mecland

  4. #4
    Super Contributor
    Join Date
    Oct 2009
    Posts
    4,326

    Re: How to setting Geometry property for a non-parent's QWidget?

    What is your platform?

  5. #5
    Registered User
    Join Date
    Apr 2010
    Posts
    21

    Re: How to setting Geometry property for a non-parent's QWidget?

    Linux and Qt-4.6.1

    Mecland

  6. #6
    Super Contributor
    Join Date
    Oct 2009
    Posts
    4,326

    Re: How to setting Geometry property for a non-parent's QWidget?

    Quote Originally Posted by mecland View Post
    Linux and Qt-4.6.1

    Mecland
    Most of Linux distributions have now 4.6.2. However, there should not be any problems. Would you share a code snippet?
    Last edited by divanov; 2010-05-28 at 07:26. Reason: getting rid of typos

  7. #7
    Registered User
    Join Date
    Apr 2010
    Posts
    21

    Re: How to setting Geometry property for a non-parent's QWidget?

    I'm sorry, I have not engough information to you at yesterday.
    It's not desktop version, running on SOC and had a window managment, it's matchbox.

    I have a idea to do this, I want appoint a parent window for this widget from another process using WId,
    but got a NULL pointer from QWidget::find(wid) always.

    thank you very munch.

    regards.


    Mecland

  8. #8
    Super Contributor
    Join Date
    Oct 2009
    Posts
    4,326

    Re: How to setting Geometry property for a non-parent's QWidget?

    Sorry, I didn't get a question.

  9. #9
    Registered User
    Join Date
    Apr 2010
    Posts
    21

    Re: How to setting Geometry property for a non-parent's QWidget?

    sorry, the question is how to get the QWidget pointer by WId in different process?
    thanks


    Mecland

  10. #10
    Super Contributor
    Join Date
    Oct 2009
    Posts
    4,326

    Re: How to setting Geometry property for a non-parent's QWidget?

    Quote Originally Posted by mecland View Post
    sorry, the question is how to get the QWidget pointer by WId in different process?
    thanks
    You cannot access other process memory segments.

Similar Threads

  1. unable to understand list box event
    By kapnkore in forum Symbian
    Replies: 3
    Last Post: 2009-05-02, 17:56
  2. Problem with Skin enabling - disabling and Setting List in S60
    By sauvikds in forum Series 40 & S60 Platform Feedback Archive
    Replies: 6
    Last Post: 2008-08-23, 14:29
  3. Problem with Skin enabling - disabling and Setting List in S60
    By sauvikds in forum Symbian User Interface
    Replies: 1
    Last Post: 2008-08-22, 13:45
  4. Problem with Skin enabling - disabling and Setting List in S60
    By sauvikds in forum General Development Questions
    Replies: 1
    Last Post: 2008-08-21, 12:44
  5. setting a property in the application decriptor!!
    By nmostafa in forum Mobile Java General
    Replies: 4
    Last Post: 2003-04-24, 14:58

Posting Permissions

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