ui package

Subpackages

Submodules

ui.mainwindow module

Main Qt window.

class ui.mainwindow.MainWindow(layer_editor)

Bases: QMainWindow

Main application window.

background_changed()

Background display shapefile paramaters was changed and shp items should be repainted

clear_diagram_selection()

Selection has to be emptied

closeEvent(event)

Performs actions before app is closed.

config_changed()

Handle changes of config.

del_background_item(idx_item)

Remove backgroun item

display_all()

Display all diagram

display_area()

Display area

display_rect(rect)

Display set rect

get_display_rect()

Return display rect

make_widgets()
paint_new_data()

Propagate new diagram scene to canvas

refresh_all()

For new data

refresh_curr_data(old_i, new_i)

Propagate new diagram scene to canvas

refresh_diagram_shp()

refresh diagrams shape files background layer

refresh_view_data(i)

Propagate new views (static, not edited diagrams) scene to canvas. i is changed view.

release_data(diagram)

Release all diagram graphic object

set_topology()

Current topology or its structure is changed

show_status_message(message, duration=5000)

Show a message in status bar for the given duration (in ms).

update_layers_panel()

Update layers panel

update_recent_files(from_row=1)

Update recently opened files.

Module contents

Module contains Qt widgets.