{ "info": { "author": "Confluenity", "author_email": "", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7" ], "description": "UiSide\n======\n\nAdditional UI components for PySide_-based applications.\n\n- Save File Dialog `uiside.dialogs.OpenFileDialog`\n- Open File Dialog `uiside.dialogs.SaveFileDialog`\n- Message Box `uiside.dialogs.MessageBox`\n\nComponents\n----------\n\nFile Dialogs\n^^^^^^^^^^^^\n\nFile Dialogs are fast and simple solution to let a user point to a file or files\n(Open File Dialog) or enter name for a new file (Save File Dialog). They have\nthe same look and behaviour for all supported platforms. They are usually faster\nthan native dialogs as they are designed to do as little as possible when a dialog\npops up.\n\n.. code-block:: python\n\n from uiside.dialogs import OpenFileDialog\n from uiside.dialogs import SaveFileDialog\n\n # multi=True means possibility to select several files\n dialog = OpenFileDialog(self, multi = True)\n\n # filters are array of tuples (name, list of masks)\n dialog.setFilters([('Text Files', ['*.txt', '*.cpp']), ('All Files', ['*.*'])])\n\n # this actually invokes dialog\n result = dialog.exec_()\n\n # result can be None when user selects Cancel button\n if result:\n fullName, directory, files = result\n else:\n print 'nothing was selected'\n\nThe result of `exec_()` method is either `None` when \"Cancel\" button has been pressed,\nor tuple consisting of 3 parts:\n\n- `string` full absolute path to the first selected file\n- `string` full absolute path to directory containing selected file(s)\n- `list` of selected file names, for example:\n\n.. code-block:: python\n\n (u'/home/rita/test.txt', u'/home/rita', [u'1.txt', u'2.txt'])\n\nMessage Box\n^^^^^^^^^^^\n\nThis is an extension of standard Message Box with a convenient constructor that\nallows to specify title, message text and other parameters. It also has possibility\nto show a check box. In this case result of `exec_()` is tuple consisting of\n\n- result of standard QMessageBox_ `exec_()`\n- either `True` or `False` representing state of check box\n\n.. code-block:: python\n\n from uiside.dialogs import MessageBox\n\n # specify appearance of the dialog\n title = 'Message Box Example' # window title\n text = '''\n Lorem ipsum dolor sit amet, consectetur adipiscing elit,\n sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.\n '''\n\n # which buttons are available\n buttons = QtGui.QMessageBox.Yes | QtGui.QMessageBox.No\n\n # default button\n default = QtGui.QMessageBox.No\n glyph = QtGui.QMessageBox.Question # we can show a nice glyph in the dialog\n\n box = MessageBox(title, text, 'Do not ask next time', buttons, default, glyph, self)\n print box.exec_() # tuple is returned\n # see QMessageBox for details on how to interpret the first part\n\nInstallation\n------------\n\nThe `uiside` package requires PySide_ to be installed. The latter is not mentioned\nin package dependencies because on most systems PySide is installed as system package.\nShould your case not be the same, it is possible to install PySide from PyPI.\n\nThe `uiside` package can be installed from PyPI:\n\n.. code-block:: bash\n\n pip install uiside\n\nLicense\n-------\n\nLicense: MIT_.\n\n\n.. _PySide: https://pypi.python.org/pypi/PySide\n.. _QMessageBox: https://doc.qt.io/qt-4.8/qmessagebox.html\n.. _MIT: https://spdx.org/licenses/MIT.html\n\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://gitlab.com/ykh/uiside", "keywords": "pyside ui components", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "uiside", "package_url": "https://pypi.org/project/uiside/", "platform": "", "project_url": "https://pypi.org/project/uiside/", "project_urls": { "Homepage": "https://gitlab.com/ykh/uiside" }, "release_url": "https://pypi.org/project/uiside/0.1.2/", "requires_dist": null, "requires_python": "", "summary": "Additional UI components for PySide-based applications", "version": "0.1.2" }, "last_serial": 3929956, "releases": { "0.1.1": [ { "comment_text": "", "digests": { "md5": "fa88bc080b1027423f08736acddd5a03", "sha256": "a193b7762450ce4eb99bdad062c64ca794d694fb8f8ffeeac96da0f0f566b0f2" }, "downloads": -1, "filename": "uiside-0.1.1-py2-none-any.whl", "has_sig": false, "md5_digest": "fa88bc080b1027423f08736acddd5a03", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 9767, "upload_time": "2015-08-12T22:55:57", "url": "https://files.pythonhosted.org/packages/a3/9f/47e76ce620f497f4ff7296ad712aecee7c784e5d044ea572e23e18f4fcb6/uiside-0.1.1-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "22dc1f8435ca2e462f4d21179c5f5b74", "sha256": "bf000649b83876bc3693793cf0e56665594b51d811b707d95e536e79b65ec68b" }, "downloads": -1, "filename": "uiside-0.1.1.tar.gz", "has_sig": false, "md5_digest": "22dc1f8435ca2e462f4d21179c5f5b74", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6671, "upload_time": "2015-08-12T22:56:01", "url": "https://files.pythonhosted.org/packages/cf/b4/d808860b7a077a2afa5a804dff0a3f21d8fa341209a432aadb226d2ab47e/uiside-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "934fbdff16e4e2d83b58c5e3dcf0fa3e", "sha256": "c8d31279b0063e37034152db816201491030e209ac4b2cf4c249bfa9a61cbcfa" }, "downloads": -1, "filename": "uiside-0.1.2-py2-none-any.whl", "has_sig": false, "md5_digest": "934fbdff16e4e2d83b58c5e3dcf0fa3e", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 7375, "upload_time": "2018-06-04T21:10:05", "url": "https://files.pythonhosted.org/packages/05/0c/73077bd6a84493fce3834f7e98790539846474e82265bf7943254857328e/uiside-0.1.2-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "02ed8caa68f5dc45e5732c2febd27d40", "sha256": "d60b60366b15299b2660c8972aea075177645d29d459e9f036fff4a14c2fb323" }, "downloads": -1, "filename": "uiside-0.1.2.tar.gz", "has_sig": false, "md5_digest": "02ed8caa68f5dc45e5732c2febd27d40", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6527, "upload_time": "2018-06-04T21:10:06", "url": "https://files.pythonhosted.org/packages/9a/81/d60c0adc5df92c4a35cf46dcde9638c69f655795fc1635f20e8a6fcbb320/uiside-0.1.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "934fbdff16e4e2d83b58c5e3dcf0fa3e", "sha256": "c8d31279b0063e37034152db816201491030e209ac4b2cf4c249bfa9a61cbcfa" }, "downloads": -1, "filename": "uiside-0.1.2-py2-none-any.whl", "has_sig": false, "md5_digest": "934fbdff16e4e2d83b58c5e3dcf0fa3e", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 7375, "upload_time": "2018-06-04T21:10:05", "url": "https://files.pythonhosted.org/packages/05/0c/73077bd6a84493fce3834f7e98790539846474e82265bf7943254857328e/uiside-0.1.2-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "02ed8caa68f5dc45e5732c2febd27d40", "sha256": "d60b60366b15299b2660c8972aea075177645d29d459e9f036fff4a14c2fb323" }, "downloads": -1, "filename": "uiside-0.1.2.tar.gz", "has_sig": false, "md5_digest": "02ed8caa68f5dc45e5732c2febd27d40", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6527, "upload_time": "2018-06-04T21:10:06", "url": "https://files.pythonhosted.org/packages/9a/81/d60c0adc5df92c4a35cf46dcde9638c69f655795fc1635f20e8a6fcbb320/uiside-0.1.2.tar.gz" } ] }