Results 1 to 2 of 2

Thread: custom a display widget that can take input from touch panel

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Feb 2008
    Posts
    49
    Thanks
    2
    Thanked 4 Times in 1 Post

    Default custom a display widget that can take input from touch panel

    Hello, guys..

    I have a job that need to implement a display widget who can take input from the touch panel.

    the widget is used for displaying the content of QDateTime, or something else, I prefer use the QLabel class, which has the feature of "alignment", "font", "word wrap", "text format". but QLabel can not take input, like "clicked" event, because i would use "click" to show a window(set time dialog, etc).

    Maybe i should use QPushButton or QAbstractButton to start, but really, I don't want to lose the power features provided by QLabel。

    Exactly, I want both QPushButton and QLabel, a widget display things like QLabel, and responed events like QPushButton. ~_~ ...

    what is the best way to go ?

    tks ..

    /WX
    Last edited by wesley; 25th January 2010 at 03:44.

Similar Threads

  1. how can I input and display Chinese using QT4?
    By Justin_W in forum Qt for Embedded and Mobile
    Replies: 0
    Last Post: 12th August 2008, 17:46
  2. Replies: 3
    Last Post: 26th November 2007, 18:01
  3. regarding input widget
    By jagadish in forum Qt Tools
    Replies: 1
    Last Post: 28th June 2007, 12:07
  4. Replies: 5
    Last Post: 16th May 2006, 20:38
  5. Replies: 3
    Last Post: 12th April 2006, 08:20

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.