def createMainWidget(argv):
    """
    Function to create the main widget.
    
    @param argv list of commandline parameters (list of strings)
    @return reference to the main widget (QWidget)
    """
    from SqlBrowser.SqlBrowser import SqlBrowser
    if len(argv) > 1:
        connections = argv[1:]
    else:
        connections = []
    browser = SqlBrowser(connections)
    return browser
