×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Regular Contributor
    Join Date
    Nov 2011
    Posts
    104

    Post How to indent a text from left to right in a QListWidget?

    Hi,
    I am having a QListWidget which displays the information about the user, for example:
    User Name:
    Place:
    Address:
    Time:


    Now i need to move the time to the right corner and display it as follows:
    User Name:
    Place:
    Address:
    xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxTime:

    Is there any code for this so that i can get displayed my time in the right corner?

    What is the next thing i need to do?Anyone help me with this.Thanks in advance.

    Regards,
    Harish

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

    Re: How to indent a text from left to right in a QListWidget?

    Depends on how you use the QListWidget, but generally see this from SDK:
    http://doc.qt.nokia.com/4.7-snapshot...tTextAlignment

  3. #3
    Regular Contributor
    Join Date
    Nov 2011
    Posts
    104

    Re: How to indent a text from left to right in a QListWidget?

    Hi whether i have to use:void QListWidgetItem::setTextAlignment ( int alignment )?

Similar Threads

  1. displaying arabic text in menu and changing text from right to left
    By dinesh547 in forum Symbian User Interface
    Replies: 12
    Last Post: 2011-08-02, 09:54
  2. Replies: 0
    Last Post: 2011-01-13, 04:32
  3. Replies: 2
    Last Post: 2010-09-28, 07:41
  4. Replies: 8
    Last Post: 2010-09-20, 22:13
  5. Indent Paragraph
    By ericscholes in forum Browsing and Mark-ups
    Replies: 0
    Last Post: 2003-07-18, 10:47

Posting Permissions

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