Results 1 to 2 of 2

Thread: How to make a Dot-Matrix display widget?

  1. #1

    Question How to make a Dot-Matrix display widget?

    hi, i would like to try and write my own widget.

    i would like to have it similar like show here.
    http://en.wikipedia.org/wiki/Dot-matrix_display

    i would like to try to the draw methode instead of using a text and dotmatrix char set.
    i want to act like a displey and not a textbox.

    you provide a string and display, the user can't enter any text.
    i would like to make it resizeble and the display itself calculates the dot size itselfs.

    i'm prettty new to QT and this is pretty much my first attempt to make a control from scratch.

    i know, i need to use a arry/list to translate chars into custom bits in order to be translate in dots with the meaning of the char thats translated.

    i would like to know the back ground, about how to draw the control and give it properties, event, etc, etc.

    i'm not new to programming i have a C# back ground + php.

    kind regards

  2. #2
    Join Date
    Sep 2009
    Location
    UK
    Posts
    2,447
    Thanks
    6
    Thanked 348 Times in 333 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: How to make a Dot-Matrix display widget?

    Have a look at QGraphicsScene. Theres lots of demos and examples in the Qt src to get you started.
    Last edited by squidge; 28th December 2009 at 23:21.

Similar Threads

  1. Tricky problem with ARGB widget / UpdateLayeredWindow
    By nooky59 in forum Qt Programming
    Replies: 3
    Last Post: 21st February 2008, 10:35
  2. Compiling with Qmake/Make
    By VireX in forum Newbie
    Replies: 25
    Last Post: 22nd February 2007, 05:57
  3. Replies: 3
    Last Post: 19th October 2006, 22:13
  4. make each row of table widget not editable??
    By darpan in forum Qt Programming
    Replies: 4
    Last Post: 16th October 2006, 10:22
  5. Replies: 5
    Last Post: 16th May 2006, 20:38

Tags for this Thread

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.