Results 1 to 3 of 3

Thread: how to add virtualkeypad to every window at bottom of window

  1. #1
    Join Date
    Sep 2013
    Location
    Bangalore
    Posts
    9
    Qt products
    Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android

    Default how to add virtualkeypad to every window at bottom of window

    how to add virtualkeypad to every window at bottom of window ,when adding keypad to window,the window can resize automatically ,based on screen size(add all elements in qscroll area). like this example http://qt-project.org/doc/qt-5.1/qtw...ialog.html,but in this that os proving the the screen auto adjust ment ,how i can do it using qt.

  2. #2
    Join Date
    Sep 2013
    Location
    Bangalore
    Posts
    9
    Qt products
    Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android

    Default i want create embedded application like auto adjusting windows.

    and at bottom of the window show keypad,this feature look like android apps working mechanism.
    i created application like this ,but i created this feature for one window only.,in my application i have more windows,how can do generic solution with these feature.,Using QInputContext class i bring keyboard dyanamically,when they try edit the field.

  3. #3
    Join Date
    Jan 2006
    Location
    Graz, Austria
    Posts
    8,420
    Thanks
    37
    Thanked 1,545 Times in 1,495 Posts
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: how to add virtualkeypad to every window at bottom of window

    If you create an application on a system without virtual keyboard, e.g. you want to add the virtual keyboard to your own application, then you could create a widget sub class that has a place holder widget and the virtual keyboard in a vertical layout.

    You then set your content widgets as the single child of the place holder, i.e. similar to QMainWindow::setCentralWidget() or QDockWidget::setWidget().

    On platforms with virtual keyboard the showing of the keyboard is handled by the system, see QInputMethod

    Cheers,
    _

Similar Threads

  1. Replies: 6
    Last Post: 9th November 2011, 05:31
  2. Replies: 1
    Last Post: 11th September 2007, 14:34
  3. Replies: 8
    Last Post: 4th September 2007, 14:25
  4. how to open a window at the bottom of the screen ?
    By probine in forum Qt Programming
    Replies: 1
    Last Post: 13th August 2007, 09:39
  5. A window on the bottom right of the screen...
    By Nyphel in forum Qt Programming
    Replies: 3
    Last Post: 8th March 2007, 09:18

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
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.