PostgresSessionWidget

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

The PostgresSessionWidget class is a widget used by PostgresMainWindow to handle a session on database.

methods and attributes

class lib_openmolar.common.qt4.postgres.postgres_session_widget.PostgresSessionWidget(parent=None)[source]

Bases: PyQt4.QtGui.QWidget

__init__(parent=None)[source]
closeEvent(event=None)[source]
get_session_status()[source]

returns a tuple, (brief, verbose)

is_connected[source]

does this widget have an open connection to a postgres database?

pg_session = None
set_session(session)[source]
setup_ui()[source]
sizeHint()[source]
update_status()[source]

let the user know the connection state

Table Of Contents

Previous topic

PostgresMainWindow

Next topic

Preference