safe.messaging.example.gui_example module

InaSAFE Disaster risk assessment tool by AusAid - Dispatcher gui example.

Contact : ole.moller.nielsen@gmail.com

Note

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

class safe.messaging.example.gui_example.Dock[source]

Dock.

run()[source]

Run.

class safe.messaging.example.gui_example.ImpactFunction1[source]

Fake impact function 1

run()[source]

Run

class safe.messaging.example.gui_example.ImpactFunction2[source]

Fake impact function 2.

run()[source]

Run.

class safe.messaging.example.gui_example.WebView[source]

Bases: PyQt4.QtWebKit.QWebView

A simple message queue mockup.

dynamic_message_event(sender, message)[source]

Dynamic event handler - set message state based on event. :param message: :param sender:

show_messages()[source]

Show all messages.

static_message_event(sender, message)[source]

Static message event handler - set message state based on event. :param message: :param sender: