sys PyQt4 QtGui,QtCore (QtGui.): (): (SignalFrame,).() lcdQtGui.() sliderQtGui.(QtCore..,) vboxQtGui.() vbox.(lcd) vbox.(slider) .(vbox) .(slider, QtCore.(),lcd,QtCore.()) button1 QtGui.(, ) button1.(, ) button2 QtGui.(, ) button2.(, ) .(button1, QtCore.(), .) .(button2, QtCore.(), .) .(,) .(,) .(, QtCore.(), QtCore.()) (, event): event.() QtCore..: .() (, event): .(QtCore.()) (): sender.(); sender.() __name__: appQtGui.(sys.) frameSignalFrame() frame.() sys.(app.())