Skip to content

Extra code #1

Description

@bb78657

Would be great to see a full working app. It's not totally clear where model.Model, cntrls.MainController, views.MainView come from or what they should look like. Also I found the gen.ui_mainview a bit confusing - I presume one must create the Dialog/Window in QtDesigner, convert to python code, then extract all the widget names into a file then run Py-Qt-MVC on that.

in the resultant code generated from the .txt the following method thows me:

def build_ui(self):
self.ui = Ui_MainView()
self.ui.setupUi(self)
self.ui.toolButton_importFile.clicked.connect(self.on_importFile)
...
I guess Ui_MainView is then the Dialog/Window greated in designer with the widgets included also in the text file.

Thanks bb

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions