ToothDataEditor

Incomplete documentation - sorry!

Note

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

methods and attributes

class lib_openmolar.client.qt4.widgets.chart_editor.tooth_data_editor.ToothDataEditor(parent=None)[source]

Bases: PyQt4.QtGui.QWidget

this class provides the widget for the right hand side of the charts page

__init__(parent=None)[source]
PLANNING_MODE = 1
STATIC_MODE = 0
add_crown_property_to_current_tooth(index)[source]

catches a signal that the row of the crown combobox has changed

add_property_to_current_tooth()[source]
advise(*args)[source]
apply_edits()[source]
apply_mode()[source]
clear()[source]
connect_signals()[source]
crowns_combo_box = None

populated with CrownCodesModel

current_chart = None

a pointer to the chart being edited

current_tooth = None
invalid_input(error='')[source]

alert the user that the text entered is garbage, and offer to delete it

is_dirty[source]
keyPressEvent(event)[source]
line_edit = None
minimumSizeHint()[source]
mode = 0
nav_key(event)[source]

pass on some key presses to the current chart

navigate(direction)[source]

catches signals from components requesting a move to another tooth

navigate_buttons = None
roots_combo_box = None

populated with OMTypes [“root_description”].selections

setTooth(tooth)[source]

make the editor aware of the tooth selected by the charts

set_mode(static=True)[source]

this widget has two modes.. static or planning

shortcut_received(shortcut)[source]

this is connected to the static_buttons

show_fee_widget_button = None
sizeHint()[source]
static_buttons = None
tooth_data_list_widget = None

a pointer to the ToothDataListWidget

tooth_editor = None

a pointer to the ToothEditor

tooth_editor_input_finished()[source]
tooth_label = None
updateMaterial(arg)[source]
updateSurfaces(arg)[source]
valid_input()[source]

clear the line edit

Table Of Contents

Previous topic

ToothData

Next topic

ToothDataError