Re: [PyQt] Run code after the QtDialog shows

2012-05-24 Thread starglider.dev
Sorry gmail send it automatic. Hi, I need to "emulate" a terminal and need to automaticly run the code after the QDialog shows and close the QDialog after it ends the task. The best I find was this: class ConsoleClass(QDialog): ... def main(): app = QApplication(sys.argv) main.form = Con

[PyQt] Run code after the QtDialog shows

2012-05-24 Thread starglider.dev
Hi, I need to "emulate" a terminal and need to automaticly run the code after the QDialog shows and close the QDialog after it ends the task. How can I do that, the best I made was this: class ConsoleClass(QDialog): ... def main(): app = QApplication(sys.argv) main.form = ConsoleClass()

[PyQt] Sending a Signal from a QTableWidget header

2012-01-21 Thread starglider.dev
Hi, I need to open a dialog if the user click in the QTableWidget header. Is it possible? I search the documentation but didn't find a Signal to do that. Thank you in advance. ___ PyQt mailing listPyQt@riverbankcomputing.com http://www.riverbankcomp

[PyQt] Get the input of a QDialog into the main window

2012-01-20 Thread starglider.dev
Hi, I'm doing a touch screen application, and it needs a keyboard, my question is: it possible to type in the keyboard (a QDialog) and the output goes to the main window to a QLineEdit ? I don't want to create a output/QLineEdit in the keyboard dialog. Thank you in advance for your help.