master
Salvo 'LtWorf' Tomaselli 2015-02-19 14:06:11 +07:00
parent cf377eca46
commit 512aafd946
3 changed files with 9 additions and 4 deletions

@ -21,17 +21,21 @@
from PyQt5 import QtCore, QtWidgets
def get_py_str(a):
'''Returns a python string out of a QString'''
return a
def set_utf8_text(component, text):
component.setText(text)
def get_filename(filename):
print (filename)
return str(filename.toUtf8())
def add_list_item(l, item):
hitem = QtWidgets.QListWidgetItem(None, 0)
hitem.setText(item)

@ -23,6 +23,7 @@ from relational_gui import compatibility
from relational_gui import rel_edit
from relational import relation
class creatorForm(QtWidgets.QDialog):
def __init__(self, rel=None):