Encerrado

PyQt4 form that returns individual keypresses to python, allows user to update label colors/text

I need a python class that will create a pyqt4 form, and populate it with several buttons and a label. I would like feedback on porting to pyside. It should be well-documented, work on linux and windows, and have these characteristics:

Layout:

* An array of 1-5 square (~100px) buttons, aligned horizontally

* Text label above button array, centered

* Quit button lower right

Functionality:

Class should have the following functions:

* Init, which accepts the following arguments:

* Form coordinates. Default = centered

* List of button labels. # list items = # buttons. Default = ['1','2']

* Label text

* Form title

* Change button colors. Accepts a dict with string keys to specify button labels to update, and vals to specify colors

* Update the label text

* Get the coordinates of the form

* Like raw_input python function. See below

Behavior:

The default behavior should be non-modal. Upon creation, it should give control back to python, and ignore user input. Then when the function is called:

ret = form.get_response()

the form will wait for input (button click or keypress) modally, then return the inputted character and control back to python again.

Habilidades: Vale Tudo, Python, Instalação de Script, Shell Script, Arquitetura de software, Área de trabalho do Windows

Ver mais: python button, list get python, get the label, python work, Linux python, label creation, colors, allows user, array form, porting linux windows, form array, modal form, windows label control, python coordinates, python script linux, python function, windows user control, python button click, update labels, python class, change coordinates, python form, allows, coordinates click, wait form

Acerca do Empregador:
( 1 comentário ) United States

ID do Projeto: #3049810

1 freelancer está ofertando em média $84 para este trabalho

lkshakya

See private message.

$84.15 USD in 14 dias
(16 Comentários)
3.2