Results 1 to 2 of 2

Thread: Trying to get simple button-down working?

  1. #1
    Join Date
    Jul 2018
    Minneapolis, MN USA
    Qt products
    Qt5 Qt/Embedded

    Exclamation Trying to get simple button-down working?


    I have about 2-weeks of Qt experience so am very much a beginner.

    Here is my setup:
    Qt 5.11 running on Ubuntu 16.04
    Beaglebone Black target SBC running latest Debian build
    Adafruit 800x480 HDMI/USB touchscreen display

    Here is where I am at:
    Built a basic widget program with buttons and text-box
    Downloaded to SBC
    Able to display and drag cursor to button area and click (display is running in “digitizer”mode as was unable to get it to work in mouse mode)
    Signals and slots work as on-click produces output in text-box as desired

    Here is the seemingly simple thing I want to accomplish:
    Instead of dragging the mouse and clicking the button I want to press the touch-screen in the button area and have it activate (button-down).

    I am on a very tight time-frame to get this to work. I started looking at the button class, mouse class, and touch-screen class but not sure which if any of these are going to accomplish this. Any assistance or examples would be appreciated, thanks!

  2. #2
    Join Date
    Jan 2008
    Alameda, CA, USA
    Thanked 844 Times in 831 Posts
    Qt products

    Default Re: Trying to get simple button-down working?

    Don't double post.
    <=== The Great Pumpkin says ===>
    Please use CODE tags when posting source code so it is more readable. Click "Go Advanced" and then the "#" icon to insert the tags. Paste your code between them.

Similar Threads

  1. Trying to get simple button-down working?
    By tpillera in forum Newbie
    Replies: 4
    Last Post: 1st August 2018, 15:25
  2. Simple removeRows isn't working...
    By scott_hollen in forum Qt Programming
    Replies: 3
    Last Post: 25th May 2011, 01:22
  3. Simple Widget ToolTips Not Working
    By powerofpi in forum Qt Programming
    Replies: 0
    Last Post: 22nd February 2011, 04:19
  4. simple button
    By wreckx in forum Newbie
    Replies: 6
    Last Post: 19th November 2010, 19:54
  5. can't get a simple dialog working
    By pthomas in forum Newbie
    Replies: 8
    Last Post: 13th January 2006, 14:52

Tags for this Thread


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.