I have created a dialog for QGIS in Qt-Designer to add and change attributes in a shapefile.(see picture) It's only a form, not a plugin. Everything works as it should be but there´s one attribute where the user has to press a button, select a file and the path should be written as a value into this attribute and shown in the lineEdit on the dialog next to the button.(similiar to Qt: add a file selection field on the form (QLineEdit and "browse" button) and PyQt4 File select widget)
From what i read i have to write a few lines python to make it work, because there´s no widget in Qt-Designer for that. But i didn't get how the whole code for this function is and where i have to write and save the code...
Unfortunatly I´m not a programmer, so it would be really nice if you can give me a small step-by-step version...