Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. GUI

GUI

Scheduled Pinned Locked Moved Unsolved General and Desktop
4 Posts 2 Posters 743 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    R Offline
    raghava
    wrote on last edited by JKSH
    #1

    I want to create a GUI. That include:

    1. Ubuntu
    2. GUI passing the commands to terminal and those command are executed.
    3. a exe should run forever untill we kill the execution and killing process should done through by passing the command from GUI to terminal only.

    Is it possible to create a GUI for that conditions??

    R sierdzioS 2 Replies Last reply
    0
    • R raghava

      I want to create a GUI. That include:

      1. Ubuntu
      2. GUI passing the commands to terminal and those command are executed.
      3. a exe should run forever untill we kill the execution and killing process should done through by passing the command from GUI to terminal only.

      Is it possible to create a GUI for that conditions??

      R Offline
      R Offline
      raghava
      wrote on last edited by
      #2
      This post is deleted!
      1 Reply Last reply
      0
      • R raghava

        I want to create a GUI. That include:

        1. Ubuntu
        2. GUI passing the commands to terminal and those command are executed.
        3. a exe should run forever untill we kill the execution and killing process should done through by passing the command from GUI to terminal only.

        Is it possible to create a GUI for that conditions??

        sierdzioS Offline
        sierdzioS Offline
        sierdzio
        Moderators
        wrote on last edited by
        #3

        @raghava said in GUI:

        Is it possible to create a GUI for that conditions??

        Yes.

        Ubuntu

        No problem here, Qt can do it for any platform.

        GUI passing the commands to terminal and those command are executed.

        Use QProcess to execute your commands. If you need the terminal to be shown, see how KDE does it - they have terminal integrated into file manager (Dolphin), for example. And the same term component is used in Konsole and Yakuake, as far as I can tell.

        a exe should run forever untill we kill the execution and killing process should done through by passing the command from GUI to terminal only.

        Reimplement closeEvent() handling and prevent your app from being closed in a "normal" way. You can also set the window up without borders (see QWindow flags), then it will also be harder to close it by clicking on X button.

        (Z(:^

        1 Reply Last reply
        2
        • R Offline
          R Offline
          raghava
          wrote on last edited by
          #4

          Thanks, I will try with QProcess

          1 Reply Last reply
          0

          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved