Package: easygui_qt
Inspired by EasyGUI, designed for PyQtEasyGUI_Qt is a module for simple and easy GUI programming in Python.EasyGUI_Qt was inspired by EasyGUI created by Stephen Ferg and
is based on Tkinter.  By contrast, EasyGUI_Qt is based on PyQt
which is not included in the standard Python distribution - but is
included in some other distributions like Continuum Analytics’ Anaconda.Free software: BSD licenseDocumentation:https://easygui_qt.readthedocs.org.Python versionOfficially, this is a project that targets only Python 3.  However, I have
now decided to attempt to provide some support for Python 2.  Other than
some unicode issues, all widgets should work with Python 2.Design philosophyLike the original EasyGUI, EasyGUI_Qt seeks to provide simple GUI widgets
that can be called in a procedural program. EasyGUI_Qt is NOT event-driven: all GUI interactions are invoked
by simple function calls.The archetype isget_string(message)which pops a box whose purpose is exactly the same as Python’sinput(prompt),
that is, present the user with a question/prompt, have the user enter an
answer, and return the provided answer as a string.  Thuseasygui_qt.get_string()can be used as a drop-in replacement forinput().
Similarly, instead of using aprint()function to display a message,show_message()is used which pops a message window; however, note that
unlikeprint,show_messageinterrupts the flow of the program
and require some interaction from the user for the program to
continue.Unlike the original EasyGUI, which sometimes used cryptic names likemsgboxorynbox, EasyGUI_Qt attempts to use descriptive names
which follow PEP8 convention.  Thus, instead ofmsgbox, it usesshow_message; instead ofynbox, it hasget_yes_or_no.
Most function names start with eitherget_,show_orset_.EasyGUI_QT is based on PyQt; it leverages the available dialogs that
come with PyQt whenever possible.  This makes it possible to have
automatic translation of some GUI elements (such as text on standard buttons)
provided the locale is set correctly and that the local distribution of
PyQt includes the appropriate translation: when EasyGUI_Qt runs, it scans
the standard PyQt location for translation files and note which ones are
present and can be used when the locale is set.An attempt is made at avoiding duplication of essentially
identical functionality.  Thus, multiple selections from a list of choices
is done only one way: by using a dialog where choices appear as labels
in text and not labels on buttons.RoadmapSeehttps://github.com/aroberge/easygui_qt/issues/13and feel free
to add comments.Similar projectsThe following is an incomplete lists of a few cross-platform projects
that share some similarity with EasyGUI_Qt, but use back-ends other than PyQteasygui: the original; tkinter back-endanygui: multiple back-ends; well known
but no longer supportedpsidialogs: multiple back-ends supported -
possibly the most complete project from that point of view.python-dialog: dialog/Xdialog/gdialog back-endThere are quite a few lesser known projects but none that seem to be
actively supported.  If you are aware of other projects that should
be mentioned, do not hesitate to contact me and let me know.History0.9.3Updated in an attempt to work with both PyQt5 and PyQt4 (Thanks to D. Schellenberg for help).0.9.2(Some of the changes noted are addition or improvements submitted by David Hughes via email)TextWindow now shows input either from a file or from a supplied string.added show_code()added show_text()renamed show() to show_message() [reverting change from 0.9.1]started creation of custom “page format” for more complex dialogschanged get_date() so that it returns a datetime date instanceNote: the documentation has NOT been updated to reflect these changes.0.9.1removed verification from get_new_passwordadded find_helpcreated “back end” for wizard creator - will become show_story()documented and changed naming conventionrenamed select_language() : get_language()renamed show_message() : show()fixed a unicode bug for Python 2changed the way show_file worksremoved required_install PyQt4 from setup.py0.9.0aSimplified the way change_password was implemented by reusing one of
the new modules and fixed an unreported bug in the processchanged the formatting of this file so that it should not cause problems
with PyPI anymore.0.9.0Major change in version number as almost all the desired widgets for
version 1.0 have been implemented.Release notes:Some unicode problems are likely present when using Python 2.7; the primary
target is Python 3.3+ … but we try to support earlier version as well.Some problems are present with Mac OSX and Python 2.7 (only?)added show_abortadded get_many_stringsadded handle_exceptionadded show_codeadded show_fileadded get_new_passwordadressed an issue where some dialogs would appear below some windows
(e.g. terminal) when launched from some platforms (e.g. Mac OSX):
the goal should be that the dialogs always appear on top of other windows.removed with_app decorator; this decorator had been introduced to reduce
the amount of repetitive code appearing in each function (and initially
inspected the function signature to add automatically some additional
keyword args) but it likely made it impossible to do unit testing with
QTest (still not done) and prevented ReadTheDocs from reading the correct
signatures for the decorated functions.tooltips added to demos launcheradded get_username_password0.4.0added get_passwordadded get_dateadded get_color_hexadded get_color_rgbadded get_continue_or_canceladded roadmap as a github issuehttps://github.com/aroberge/easygui_qt/issues/13removed CONFIG as a global dict; using the configuration file instead.remove set_default_fontrename set_locale to set_languageadded configuration file to save locale and font size0.3.0Decided to support (with lower priority) Python 2  (2.7.9 more specifically)Should work reasonably well with Python 2.7.9 - other than potential
unicode related issuesmade get_list_of_choices(), get_choice(), get_string(), and get_directory_name()
work properly with Python 2.7.90.2.3achanged extension of some demos (from .pyw to .py) as they were not uploaded to pypi0.2.3added demos dir to setup.py so that it can be included on pypi0.2.2achanging path on image in readme in attempt to help pypi display properly0.2.2changed the syntax for calls to super() to be compatible with Python 2.
Note that the intention is to be a Python 3 project, but if simple changes
can make it compatible with Python 2, they will be incorporated.changed name of set_save_file_name to get_save_file_namechanged name of yes_no_question to get_yes_or_noadded get_list_of_choicesadded demo launcher0.2.1Moved the demos directory to a more sensible locationadded get_directory_nameadded get_file_namesadded set_save_file_nameattempt to fix bug for Python 3.2 where inspect.signature was not defined0.2.0The API has been changed since the initial release
and the following widgets have been documented, with images inserted
in the documentation.get_choiceget_floatget_intget_integerget_stringset_font_sizeset_default_fontselect_languageset_localeshow_messageyes_no_question0.1.0First release on PyPI.