UpperCaseLineEdit

Incomplete documentation - sorry!

Note

Neil - please put some data in technical/class_headings/UpperCaseLineEdit.rst

methods and attributes

class lib_openmolar.common.qt4.widgets.upper_case_lineedit.UpperCaseLineEdit(parent=None)[source]

Bases: PyQt4.QtGui.QLineEdit

A custom line edit that accepts only BLOCK LETTERS, regardless of caps lock and/or shift key. After experimentation, I found the least confusing way of presenting this to the user was to apply the change at the focusOutEvent.

__init__(parent=None)[source]
focusOutEvent(event)[source]

convert the text to upper case, and pass the signal on to the base widget

Table Of Contents

Previous topic

TreatmentItemMetadata

Next topic

UserPasswordDialog