Main Window of GUI#

gemviz main window

class gemviz.mainwindow.MainWindow(*args: Any, **kwargs: Any)[source]#

The main window of the app, built in Qt designer.

closeEvent(event)[source]#

User clicked the big [X] to quit.

connectServer(server_uri)[source]#

Connect to the server URI and return URI and client

doAboutDialog(*args, **kw)[source]#

Show the “About …” dialog

doClose(*args, **kw)[source]#

User chose exit (or quit), or closeEvent() was called.

doOpen(*args, **kw)[source]#

User chose to open (connect with) a tiled server.

isValidServerUri(server_uri)[source]#

Check if the server URI is valid and absolute.

setCatalog(catalog_name, sort_direction=1)[source]#

A catalog was selected (from the pop-up menu).

setCatalogs(catalogs)[source]#

Set the names (of server’s catalogs) in the pop-up list.

Only add catalogs of CatalogOfBlueskyRuns.

setServer(uri, server)[source]#

Define the tiled server URI.

setServerList(selected_uri=None)[source]#

Rebuild the list of server URIs.

setServers(selected_uri)[source]#

Set the server URIs in the pop-up list

setStatus(text, timeout=0)[source]#

Write new status to the main window.