"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "test/test_dialogs.py" between
ffmulticonverter-1.7.2.tar.gz and ffmulticonverter-1.8.0.tar.gz

About: FF Multi Converter is a graphical application which enables you to convert audio, video, image and document files between all popular formats, using and combining other programs.

test_dialogs.py  (ffmulticonverter-1.7.2):test_dialogs.py  (ffmulticonverter-1.8.0)
#!/usr/bin/env python3 #!/usr/bin/env python3
import sys import sys
from PyQt4.QtGui import QApplication from PyQt5.QtWidgets import QApplication
sys.path.append('..') sys.path.append('..')
from ffmulticonverter import qrc_resources # from ffmulticonverter import qrc_resources
from ffmulticonverter.about_dlg import AboutDialog from ffmulticonverter.about_dlg import AboutDialog
from ffmulticonverter.presets_dlgs import ShowPresets from ffmulticonverter.presets_dlgs import ShowPresets
from ffmulticonverter.preferences_dlg import Preferences from ffmulticonverter.preferences_dlg import Preferences
from ffmulticonverter.progress import Progress from ffmulticonverter.progress import Progress
def main(): def main():
app = QApplication(sys.argv) app = QApplication(sys.argv)
dlg_about = AboutDialog('About Dialog', ':/ffmulticonverter.png', 'Authors', 'Translators') dlg_about = AboutDialog('About Dialog', ':/ffmulticonverter.png', 'Authors', 'Translators')
dlg_showpresets = ShowPresets() dlg_showpresets = ShowPresets()
dlg_preferences = Preferences(test=True) dlg_preferences = Preferences(test=True)
dlg_progress = Progress([], None, False, None, test=True) dlg_progress = Progress([], None, False, None, test=True)
# uncomment the dialog you wish to test # uncomment the dialog you wish to test
#dlg_about.show() # dlg_about.show()
#dlg_showpresets.show() # dlg_showpresets.show()
dlg_preferences.show() dlg_preferences.show()
#dlg_progress.show() # dlg_progress.show()
app.exec_() app.exec_()
if __name__ == '__main__': if __name__ == '__main__':
main() main()
 End of changes. 4 change blocks. 
5 lines changed or deleted 5 lines changed or added

Home  |  About  |  All  |  Newest  |  Fossies Dox  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTPS