Pyqt programming question

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Marcpp

    #1

    Pyqt programming question

    I have a program (python + pyqt), with a button I'll would to open a
    new dialog window to input text, when press save or ok, this text is
    returned to the principal program.
    I've seek in internet but i don't find anything.

  • Phil Thompson

    #2
    Re: Pyqt programming question

    On Thursday 12 April 2007 10:23 am, Marcpp wrote:
    I have a program (python + pyqt), with a button I'll would to open a
    new dialog window to input text, when press save or ok, this text is
    returned to the principal program.
    I've seek in internet but i don't find anything.
    Use QInputDialog.ge tText()

    Phil

    Comment

    • Marcpp

      #3
      Re: Pyqt programming question

      On 12 abr, 11:48, Phil Thompson <p...@riverbank computing.co.uk wrote:
      On Thursday 12 April 2007 10:23 am, Marcpp wrote:
      >
      I have a program (python + pyqt), with a button I'll would to open a
      new dialog window to input text, when press save or ok, this text is
      returned to the principal program.
      I've seek in internet but i don't find anything.
      >
      Use QInputDialog.ge tText()
      >
      Phil
      I can't do it, have you any example?
      Thank you.

      Comment

      • Phil Thompson

        #4
        Re: Pyqt programming question

        On Thursday 12 April 2007 11:07 am, Marcpp wrote:
        On 12 abr, 11:48, Phil Thompson <p...@riverbank computing.co.uk wrote:
        On Thursday 12 April 2007 10:23 am, Marcpp wrote:
        I have a program (python + pyqt), with a button I'll would to open a
        new dialog window to input text, when press save or ok, this text is
        returned to the principal program.
        I've seek in internet but i don't find anything.
        Use QInputDialog.ge tText()

        Phil
        >
        I can't do it, have you any example?
        Look at the standarddialogs .py example that it included with PyQt.

        Phil

        Comment

        • Marcpp

          #5
          Re: Pyqt programming question

          On 12 abr, 12:07, "Marcpp" <mar...@gmail.c omwrote:
          On 12 abr, 11:48, Phil Thompson <p...@riverbank computing.co.uk wrote:
          >
          On Thursday 12 April 2007 10:23 am, Marcpp wrote:
          >
          I have a program (python + pyqt), with a button I'll would to open a
          new dialog window to input text, when press save or ok, this text is
          returned to the principal program.
          I've seek in internet but i don't find anything.
          >
          Use QInputDialog.ge tText()
          >
          Phil
          >
          I can't do it, have you any example?
          Thank you.
          I've created a personal dialog.

          Comment

          • Marcpp

            #6
            Re: Pyqt programming question

            On 12 abr, 12:34, Phil Thompson <p...@riverbank computing.co.uk wrote:
            On Thursday 12 April 2007 11:07 am, Marcpp wrote:
            >
            On 12 abr, 11:48, Phil Thompson <p...@riverbank computing.co.uk wrote:
            On Thursday 12 April 2007 10:23 am, Marcpp wrote:
            I have a program (python + pyqt), with a button I'll would to open a
            new dialog window to input text, when press save or ok, this text is
            returned to the principal program.
            I've seek in internet but i don't find anything.
            >
            Use QInputDialog.ge tText()
            >
            Phil
            >
            I can't do it, have you any example?
            >
            Look at the standarddialogs .py example that it included with PyQt.
            >
            Phil
            I've need a personal dialog, not a standard.
            Thank you.

            Comment

            Working...