Skip to content

Commit

Permalink
improved readme
Browse files Browse the repository at this point in the history
  • Loading branch information
aroberge committed Dec 22, 2014
1 parent 0ddb626 commit 0406347
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 2 deletions.
5 changes: 4 additions & 1 deletion README.rst
Expand Up @@ -4,6 +4,9 @@ EasyGUI_Qt

*Inspired by easygui, designed for PyQt*

.. image:: images/contribute.png


EasyGUI_Qt is a module for simple and easy GUI programming in Python.

EasyGUI_Qt was inspired by EasyGUI created by Stephen Ferg and
Expand Down Expand Up @@ -36,5 +39,5 @@ Features
of Python's input(), get_string() creates a window in which a user
can enter the required information.

.. image:: images/get_string.png


Binary file added docs/images/contribute.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 5 additions & 1 deletion easygui_qt/__init__.py
Expand Up @@ -20,6 +20,7 @@
'get_choice',
'get_float',
'get_int',
'get_integer',
'get_string',
'set_global_font',
'set_locale',
Expand Down Expand Up @@ -230,6 +231,8 @@ def get_int(message="Choose a number", title="Title",
flags)
if ok:
return number
get_integer = get_int


@with_app
def get_float(message="Choose a number", title="Title",
Expand All @@ -252,7 +255,8 @@ def get_string(message="Enter your response", title="Title",
:param title: Window title
:param default_response: default response appearing in the text box
:return: a string, or `None` if "cancel" is clicked or window is closed.
:return: a string, or ``None`` if "cancel" is clicked or window
is closed.
>>> import easygui_qt as eg
>>> reply = eg.get_string()
Expand Down
Binary file added images/contribute.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 0406347

Please sign in to comment.