Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User supermanfg's Avatar
    Join Date
    Nov 2009
    Posts
    2
    Hello!
    Let's say I have a QLineEdit widget inside a QDialog and this QLineEdit widget grows when you type something in it (it grows so you can always see all the text in the QLineEdit).
    Is there a way to allow that QLineEdit widget to grow outside of the QDialog it's in without making the QDialog (its parent) bigger?

    Thanks!
    Last edited by supermanfg; 2010-01-09 at 02:00.

  2. #2
    Nokia Developer Moderator divanov's Avatar
    Join Date
    Oct 2009
    Posts
    4,326
    Use QScrollArea.

  3. #3
    Registered User supermanfg's Avatar
    Join Date
    Nov 2009
    Posts
    2
    The thing is I want the QLineEdit to completely stay visible. So it would have to be partly outside of the dialog.

  4. #4
    Nokia Developer Champion axeljaeger's Avatar
    Join Date
    Mar 2009
    Posts
    430
    That is not possible. Child widgets get always clipped to their parents. There is a couple of dirty stuff that you can do to fake such behavior but I strongly recommend not to waste any time in non standard behavior if you want to get your app done. What is the usecase of such behavior?

Similar Threads

  1. Build Error on Carbide
    By deepak_pious in forum Carbide.c++ IDE and plug-ins (Closed)
    Replies: 3
    Last Post: 2010-05-23, 09:37
  2. Replies: 3
    Last Post: 2008-09-24, 04:30
  3. Failed to update file .RSC
    By Jayakumar in forum Symbian Tools & SDKs
    Replies: 32
    Last Post: 2007-10-26, 10:33
  4. Debug launched file
    By robUx4 in forum Symbian Tools & SDKs
    Replies: 4
    Last Post: 2007-10-18, 12:23
  5. abld make files missing
    By dalore in forum Symbian C++
    Replies: 0
    Last Post: 2003-06-13, 12:40

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved