Results 1 to 2 of 2

Thread: How to edit QSpinBox through keyboard on Linux

  1. #1
    Join Date
    Jun 2024
    Posts
    1
    Qt products
    Qt5
    Platforms
    Windows

    Default How to edit QSpinBox through keyboard on Linux

    Hello,

    I have QSpinBox on my dialog box, but its value can't changed through keyboard on Linux.
    I can do that on Windows and MAC OS X.

    There is demo example in widget section namely "spinboxes". I have tried that one also. But in that also value can not be changed through keyboard on Linux.

    Is there anyone know how to edit QSpinBox through keyboard on Linux? Please guide me!
    - Gladys - merge fruit

  2. #2
    Join Date
    Apr 2025
    Posts
    2
    Qt products
    Qt4
    Platforms
    Maemo/MeeGo

    Default Re: How to edit QSpinBox through keyboard on Linux

    The phenomenon you describe with QSpinBox not being editable with the keyboard on Linux is a fairly common bug, usually due to a missing input method or a bug in the interaction between Qt and the Linux IME.
    If QSpinBox is in read-only mode (setReadOnly(true)), you can't type on the keyboard. Make sure you don't set setReadOnly(true), or you omit that command:
    spinBox->setReadOnly(false);
    Norris Hermiston

Similar Threads

  1. Delay in grabbing keyboard events in qwsserver (Qt Embedded Linux)
    By nithinkallingal in forum Qt for Embedded and Mobile
    Replies: 0
    Last Post: 16th November 2013, 16:23
  2. Replies: 0
    Last Post: 15th November 2013, 17:28
  3. Replies: 5
    Last Post: 14th August 2013, 13:00
  4. Replies: 5
    Last Post: 5th June 2013, 08:02
  5. QSpinbox can not be edited through keyboard on Linux
    By sanjayshelke in forum Qt Programming
    Replies: 0
    Last Post: 28th May 2008, 10:21

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.