Logo Search packages:      
Sourcecode: videoporama version File versions  Download package

def mplayer::Mplayer::ouvrirVideo (   self )
Ouverture de la boîte de dialogue de fichiers

Definition at line 383 of file mplayer.py.

    """Ouverture de la boîte de dialogue de fichiers"""
    txt = self.VideoporamaInstance.qtapp.translate("MPlayerDlg","Video files")
    if self.cheminPourBoutonParcourir: 
      chemin = self.cheminPourBoutonParcourir

      chemin = os.path.expanduser('~')

    liste=QFileDialog.getOpenFileNames(None, self.VideoporamaInstance.qtapp.translate("MPlayerDlg","Open"), chemin, "%s (*.avi *.mpg *.mpeg *.mjpeg *.flv *.mp4 *.ogg)\n*" %txt)
    if not liste: return
    self.listeVideos = liste

    chemin = unicode(self.listeVideos[0])


Generated by  Doxygen 1.6.0   Back to index