Hi,
I've read so many documents but still can't figure out how to do it. Please help me wysota. I'm really a newbie in programming. What I have so far is a UI for it and convert it to python file. Then I have a connection python file. In my main.py file, this is the code:
from UI import Ui_MainWindow
from connection import createConnection
class Form(QtGui.QWidget):
def __init__(self,parent=None):
super(Form,self).__init__(parent)
self.ui = UI()
self.ui.setupUi(self)
def mymodel(self.model):
self.proxyModel.setSourceModel(model)
self.sourceView.setModel(model)
after that...I don't know the code. I don't know how to query to a specific column in my table and if it finds the value,it passes it to the treeview. Please help me.
Best Regards,
Nethan
Bookmarks