On Tue, Oct 18, 2016 at 11:41 AM likage wrote:
> Well actually it will be my UI accessing the functions of Main.. I should
> have mentioned thath
>
Can you explain what kind of code you expect to have living in your main?
It still sounds backwards to have your UI code
On Tue, 18 Oct 2016, 5:51 AM likage wrote:
> Hi Justin, thanks for the feedback.
> So I tried doing the following..
>
> ### UI File, manager_ui.py ###
>
> import functools
> import manager_main
>
> class manager_ui(QtGui.QDialog):
> def __init__(self, parent=None):
>
Hi Justin, thanks for the feedback.
So I tried doing the following..
### UI File, manager_ui.py ###
import functools
import manager_main
class manager_ui(QtGui.QDialog):
def __init__(self, parent=None):
QtGui.QDialog.__init__(self, parent)
self.setWindowTitle('UI Manager')
On Sun, Oct 16, 2016 at 12:39 PM likage wrote:
> I have done all my codings, ui creation etc into a single file and I would
> like to separate between my main functions (manager_main.py) and the ui
> (manager_ui.py) into 2 files
> Just so you know, I created my widgets
I have done all my codings, ui creation etc into a single file and I would
like to separate between my main functions (manager_main.py) and the ui
(manager_ui.py) into 2 files
Just so you know, I created my widgets 'manually' instead of using Qt
designer..
class manager_ui(QtGui.QDialog):