#NEWLINE# def setupUi( self , parent ) : #NEWLINE# #INDENT# self . lb_Advanced = self . CreateLabel ( '<strong>Advanced Options</strong>' , parent ) #NEWLINE# self . lb_publish = self . CreateLabel ( 'Publishing options:' , self ) #NEWLINE# self . lb_date = self . CreateLabel ( 'Date this post:' , parent ) #NEWLINE# self . lb_tag = self . CreateLabel ( 'Tag this post:' , parent ) #NEWLINE# self . le_date = self . CreateLineEdit ( parent ) #NEWLINE# self . le_date . setText ( 'now' ) #NEWLINE# self . cb_publish = QtGui . QComboBox ( parent ) #NEWLINE# self . options = QtCore . QStringList ( ) #NEWLINE# self . options . append ( QtCore . QString ( 'publish now' ) ) #NEWLINE# self . options . append ( QtCore . QString ( 'publish on' ) ) #NEWLINE# self . options . append ( QtCore . QString ( 'private' ) ) #NEWLINE# self . cb_publish . addItems ( self . options ) #NEWLINE# self . te_tags = QtGui . QTextEdit ( parent ) #NEWLINE# self . te_tags . setMaximumSize ( QtCore . QSize ( 150 , 100 ) ) #NEWLINE# self . addWidget ( self . lb_Advanced ) #NEWLINE# self . addWidget ( self . lb_publish ) #NEWLINE# self . addWidget ( self . cb_publish ) #NEWLINE# self . addWidget ( self . lb_date ) #NEWLINE# self . addWidget ( self . le_date ) #NEWLINE# self . addWidget ( self . lb_tag ) #NEWLINE# self . addWidget ( self . te_tags )