×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Jan 2010
    Posts
    1

    Question QInputDialog buttons not visible on N8

    I've a problem with OK and Cancel buttons not showing on N8 with QInputDialog::getText()

    Code:
    QString text = QInputDialog::getText(this, "New Item",
                                            "New Item", QLineEdit::Normal,
                                            "", &ok);
    On my 5800 and with simulator I can see the buttons, but N8 doesn't show them so I can't move on from the dialog.
    Should the code be different for N8?

  2. #2
    Registered User
    Join Date
    Apr 2011
    Location
    Ahmedabad, India
    Posts
    37

    Re: QInputDialog buttons not visible on N8

    Hello risro,

    I was run your code :
    bool ok;
    QString text = QInputDialog::getText(this, "New Item",
    "New Item", QLineEdit::Normal,
    "", &ok);
    in my qt simulator for check it what is problem. But, It's show me New Item box with buttons too and I was tried in simulator with other devices (like : n97, n8, and n900) and it's showing the button in all device too.

    Please, check your other code.
    Last edited by Abhishek Khetani; 2011-04-10 at 03:31. Reason: for more knowledge
    - AbhisheKhetani

Similar Threads

  1. Icons not visible on MR
    By vinayakak in forum Symbian User Interface
    Replies: 1
    Last Post: 2010-04-01, 15:45
  2. Edwins visible on emulator but not on phone
    By kayem in forum Symbian User Interface
    Replies: 10
    Last Post: 2007-11-21, 11:31
  3. Chinese not visible on CEikEdwin
    By shafali gupta in forum Symbian
    Replies: 1
    Last Post: 2007-08-24, 12:56
  4. Buttons not Visible in Dialog Class
    By amitaggarwal in forum Symbian
    Replies: 0
    Last Post: 2004-09-24, 07:32

Posting Permissions

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