Introduce loadIcon() method to the SalomePyQt Python interface
dist_salomeres_DATA = \
PYHELLO.png \
ExecPYHELLO.png \
dist_salomeres_DATA = \
PYHELLO.png \
ExecPYHELLO.png \
+ handshake.png \
+ stop.png \
SalomeApp.xml
nodist_salomeres_DATA = PYHELLOCatalog.xml
SalomeApp.xml
nodist_salomeres_DATA = PYHELLOCatalog.xml
hb1 = QHBox( self )
bOk = QPushButton( "&OK", hb1 )
hb1 = QHBox( self )
bOk = QPushButton( "&OK", hb1 )
+ bOk.setIconSet( sgPyQt.loadIcon( 'PYHELLO', 'ICO_HANDSHAKE' ) )
self.connect( bOk, SIGNAL( 'clicked()' ), self, SLOT( 'accept()' ) )
dummy = QWidget( hb1 )
bCancel = QPushButton( "&Cancel", hb1 )
self.connect( bOk, SIGNAL( 'clicked()' ), self, SLOT( 'accept()' ) )
dummy = QWidget( hb1 )
bCancel = QPushButton( "&Cancel", hb1 )
+ bCancel.setIconSet( sgPyQt.loadIcon( 'PYHELLO', 'ICO_STOP' ) )
self.connect( bCancel, SIGNAL( 'clicked()' ), self, SLOT( 'close()' ) )
hb1.setStretchFactor( dummy, 10 )
pass
self.connect( bCancel, SIGNAL( 'clicked()' ), self, SLOT( 'close()' ) )
hb1.setStretchFactor( dummy, 10 )
pass
"Last-Translator: FULLNAME <EMAIL@ADDRESS>\n"
"Content-Type: text/plain; charset=iso-8859-1\n"
"Last-Translator: FULLNAME <EMAIL@ADDRESS>\n"
"Content-Type: text/plain; charset=iso-8859-1\n"
+msgid "ICO_HANDSHAKE"
+msgstr "handshake.png"
+
+msgid "ICO_STOP"
+msgstr "stop.png"