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] Difference between QFrame and Qwidget

2012-05-24 Thread Ganesh Kumar
Hi Guys, I am new to pyqt, I am using Gui design using qtdesigner , I am facing lot in confusion with QFrame and QDialog , what is the basic difference between these Qwidget. please guide me guys, -Dhanasekaran Did I learn something today? If not, I wasted it. ___