ClientMainWindow

Author:Neil Wallace (neil@openmolar.com)
Release:2.0.906~hg207

This class is the MainWindow for the client application.

../../../_images/client2.png

methods and attributes

class lib_openmolar.client.qt4.client_gui.ClientMainWindow(parent=None)[source]

Bases: lib_openmolar.common.qt4.postgres.postgres_mainwindow.PostgresMainWindow

__init__(parent=None)[source]
ALLOW_MULTIPLE_SESSIONS = False
CONN_CLASS

customise the base class

alias of ClientConnection

add_dock_widget(dw)[source]
add_session(session)[source]

Overwrite the method of PostgresMainWindow Client is a single session widget.

central_widget[source]
closeEvent(event=None)[source]

re-implement the close event of QtGui.QMainWindow, and check the user really meant to do this.

connect_signals()[source]
diary_interface = None

the DiaryInterface

end_pg_sessions(shutting_down=False)[source]

overwrite baseclass function

is_dirty[source]
page_changer()[source]
patient_interface = None

the PatientInterface

preferences_dialog()[source]
set_users()[source]
show_about()[source]

raise a dialog showing version info etc.

show_help()[source]

todo - this is the same as show_about

status_widget = None
user1_changed(user)[source]
user2_changed(user)[source]

Table Of Contents

Previous topic

ClientConnection

Next topic

ClientSessionWidget