For multi-line and single-line. After the change with the assignment
they are basically the same and there was no longer need
to have them separate in two functions.
It was not really easy to write the name for the result
in a separate box, and it would create a lot of garbage
results, by creating a new one per every query.
Now single lines queries can contain assignments, and if not
a default relation named 'last_' is used to hold the last result.
It was a bit buggy and was not blurring all the widgets, or
not reverting the blur properly. Probably best to just show a
label instead.
Still, the proper solution would probably be to do the processing
in a separate thread.
Before the processing of a query starts, it will blur the UI.
This gives feedback to the user that something is happening, and is
simple to implement because I am too lazy to move the processing in
a separate thread.
Use Qt resource files, compile it to Python to obtain a window that
has an icon!
Finally!
It is still using the Oxygen icon for Database, since I have nothing
better to use.
Added a button to clear the current session
changed the disposition of the operator buttons, to take up less
vertical space. Now it should be better to fit smaller screens.
This is more Pythonic and makes the code more readable.
Backwards compatibility is provided by giving an alias with the
previous name of the class.
It will not be broken until the next major release.
By default when loading a file, a relation with the same name is
created.
Now, if the filename is not a valid relation name, the user will be
prompted to manually insert a relation name.
De-duplicated code for doing this when a new relation is created.
Apparently the new symbols used are not present in Dejavu fonts.
However they should be present in Cambria, which should be shipped
by default on windows.
Now relations are always named with the default name.
Multiple relations can be opened at once from the GUI.
Removed redundant code to select the default name for a relation.
Using system dependant splitter to determine the default name for a relation.