Skip to main content
Warning: You are using the test version of PyPI. This is a pre-production deployment of Warehouse. Changes made here affect the production instance of TestPyPI (testpypi.python.org).
Help us improve Python packaging - Donate today!

Additional UI components for PySide

Project Description

UI components for PySide-based applications.

  • Open File Dialog
  • Save File Dialog

Usage

Code sample

from uiside.dialogs import SaveFileDialog
from uiside.dialogs import OpenFileDialog

dialog = OpenFileDialog(self, multi=True)
dialog.setFilters([('Text Files', ['*.txt', '*.cpp']), ('All Files', ['*.*'])])
result = dialog.exec_()
print result
fullName, directory, files = result

The result of exec_() method is either None when “Cancel” button has been pressed, or tuple consisting of 3 parts:

  • {string} full absolute path to the first selected file
  • {string} full absolute path to directory containing selected file(s)
  • {list} of selected file names:
(u'/home/rita/test.txt', u'/home/rita', [u'test.txt', u'next.txt', , u'one more.txt'])

License

License: MIT (http://opensource.org/licenses/MIT).

Release History

Release History

This version
History Node

0.1.0

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
uiside-0.1.0-py2.py3-none-any.whl (7.1 kB) Copy SHA256 Checksum SHA256 2.7 Wheel Aug 9, 2015

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting