<s> import sys <EOL> try : <EOL> from PySide import QtGui <EOL> except ImportError : <EOL> from PyQt4 import QtGui <EOL> from add_group import Ui_Form <EOL> class Demo ( QtGui . QWidget , Ui_Form ) : <EOL> def __init__ ( self , parent = None ) : <EOL> super ( Demo , self ) . __init__ ( parent ) <EOL> self . setupUi ( self ) <EOL> def show_and_raise ( self ) : <EOL> self . show ( ) <EOL> self . raise_ ( ) <EOL> if __name__ == "<STR_LIT:__main__>" : <EOL> app = QtGui . QApplication ( sys . argv ) <EOL> demo = Demo ( ) <EOL> demo . show_and_raise ( ) <EOL> sys . exit ( app . exec_ ( ) ) </s>
