Results 1 to 3 of 3

Thread: Pushbutton that generates another pushbutton...

  1. #1
    Join Date
    Jan 2017
    Posts
    2
    Qt products
    PyQt3 PyQt4
    Platforms
    Windows

    Default Pushbutton that generates another pushbutton...

    Hi All,

    I want to generate a GUI that shows serial terminal log and create pushbutton and assigns some functionality on them.

    I want to generate a pushbutton that generates another pushbutton and I want to be able to assign a command to that push button. Command would be a string.
    Eventually it will call the same function based on the command.

    Does anyone have an idea? So it will be dynamic in a sense.

    Thanks,
    Berkay

  2. #2
    Join Date
    Jan 2006
    Location
    Graz, Austria
    Posts
    8,416
    Thanks
    37
    Thanked 1,544 Times in 1,494 Posts
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: Pushbutton that generates another pushbutton...

    It isn't clear from your posting which part you need help with.

    Connecting to a button?
    Programmatically creating a button?
    Input of the command?
    Associating the command with a button?

    Cheers,
    _

  3. #3
    Join Date
    Jan 2017
    Posts
    18
    Qt products
    Qt5
    Platforms
    Windows

    Default Re: Pushbutton that generates another pushbutton...

    Yes, I think so question is complete? please share which part do you wan to dynamic.

Similar Threads

  1. PushButton
    By acuce in forum Qt Programming
    Replies: 2
    Last Post: 13th July 2012, 21:06
  2. Replies: 3
    Last Post: 29th April 2011, 09:54
  3. How to get pushbutton as an icon
    By Pembar in forum Newbie
    Replies: 1
    Last Post: 12th May 2009, 20:59
  4. how to reshape pushbutton??
    By anupamgee in forum Qt Programming
    Replies: 2
    Last Post: 24th April 2009, 13:37
  5. Subclass Pushbutton
    By Smith in forum Newbie
    Replies: 6
    Last Post: 8th December 2007, 13:56

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.