Salvo 'LtWorf' Tomaselli
a30aac5f5b
Remove result text box
...
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.
2016-01-02 15:28:17 +07:00
Salvo 'LtWorf' Tomaselli
e017949f7d
Navigate history with arrows
...
In single line query mode, the history can be navigated
in a way that is somewhat similar to the shell.
2016-01-02 12:36:28 +07:00
Salvo 'LtWorf' Tomaselli
7acc0d19d0
Changed the blur thing with a simple label
...
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.
2015-12-31 18:07:23 +07:00
Salvo 'LtWorf' Tomaselli
76cdfe7d06
Function to add shortcuts via code
...
I plan on adding a few more.
2015-12-31 14:29:12 +07:00
Salvo 'LtWorf' Tomaselli
239e0e58dd
Blurs UI while processing
...
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.
2015-12-21 00:54:05 +07:00
Salvo 'LtWorf' Tomaselli
c8c894bb7b
Removed useless line
2015-12-06 13:47:56 +07:00
Salvo 'LtWorf' Tomaselli
be8230d54a
Align query editing box with relation viewer
...
Not sure of what the problem was, probably some layout or frame that
had spacing.
Replaced the whole mess with a stacked widget instead.
close #8
2015-11-20 17:06:59 +07:00
Salvo 'LtWorf' Tomaselli
3012a08ff3
Removed unused variable
2015-11-11 17:01:52 +07:00
Salvo 'LtWorf' Tomaselli
f5ef1027d0
Refactored main window creation
...
The main window was created in a somewhat stupid way, that required
multiple steps to be taken from the main module.
Now it's all in one call.
2015-09-29 12:47:20 +07:00
Salvo 'LtWorf' Tomaselli
7a85b77f50
Save state of splitter in GUI
...
The splitters are not stored as part of the window's state, so
store it separately.
2015-09-11 12:41:33 +07:00
Salvo 'LtWorf' Tomaselli
c6d6bbfeaf
Refresh relation list in any case
...
If a query was failing, created relations were not shown in the list
of relations.
2015-09-09 14:45:17 +07:00
Salvo 'LtWorf' Tomaselli
66855ad50c
Clear session function
...
Added a function to clear the current session
2015-09-09 12:38:54 +07:00
Salvo 'LtWorf' Tomaselli
edc5078475
Use session handling in GUI
...
The UI stores the session when closing and loads it at the next
use.
2015-08-03 15:58:11 +07:00
Salvo 'LtWorf' Tomaselli
be7e6fe12d
Classes have now names that begin with uppercase
...
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.
2015-07-14 15:39:35 +07:00
Salvo 'LtWorf' Tomaselli
73dd14d9dd
Style
2015-07-14 11:01:35 +07:00
Salvo 'LtWorf' Tomaselli
98ac364dc7
Removed encoding string
...
Not needed in Python 3
2015-07-14 10:43:13 +07:00
Salvo 'LtWorf' Tomaselli
5218f41e7b
Use handler to suggest name
2015-06-17 16:35:14 +07:00
Salvo 'LtWorf' Tomaselli
05e13bfeac
Use the new class
...
Simplify error reporting with a new function.
2015-06-16 13:22:58 +07:00
Salvo 'LtWorf' Tomaselli
3060a8562f
Ask for relation name if filename is not valid
...
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.
2015-06-07 13:37:24 +07:00
Salvo 'LtWorf' Tomaselli
cdbd59bab3
Update UI for header changes
...
Updates the UI to work with the new header changes
2015-06-06 15:27:11 +07:00
Salvo 'LtWorf' Tomaselli
92adb10bc6
Able to load non .csv files from UI
2015-06-04 22:38:25 +07:00
Salvo 'LtWorf' Tomaselli
62c51ab150
Removed useless compatibility module from UI
...
It was originally created to support both PyQt and PySide but
at this point is useless
2015-06-02 14:56:44 +07:00
Salvo 'LtWorf' Tomaselli
36a2c192a8
Fix save relation dialog
...
Also add an error in case no relation is selected.
2015-06-02 14:41:41 +07:00
Salvo 'LtWorf' Tomaselli
8102dbe959
Fixed and changed semantic of open relation
...
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.
2015-06-02 12:35:47 +07:00
Salvo 'LtWorf' Tomaselli
9d4284d624
Store the state of the main window when closing and restore it.
2015-06-01 14:20:29 +07:00
Salvo 'LtWorf' Tomaselli
d60b5f7983
Print compiled expressions for multiline queries
2015-06-01 07:34:21 +07:00
Salvo 'LtWorf' Tomaselli
cd5c2845e1
Store last multiline query
...
When loading, the last multiline query used will be available.
Also, refactored the part to execute multiline queries in a
separate function.
2015-06-01 00:17:19 +07:00
Salvo 'LtWorf' Tomaselli
f3af25f132
Support multi-line editing mode
...
This mode supports the insertion of multiple queries in one shot,
assign them to variables and reuse them.
Basically a program. Less interactive mode but better for more
complicated queries.
2015-06-01 00:00:59 +07:00
Salvo 'LtWorf' Tomaselli
abfa6a00c2
Use constants rather than hardcoded symbols
...
In the code that inserts the symbols in the query, use constants from the
parser module.
2015-05-31 19:03:17 +07:00
Salvo 'LtWorf' Tomaselli
5bfbe4f4af
Ask again if the relation name is incorrect
...
When creating a new relation, if the name is incorrect, ask again rather than
drop entirely the new relation.
2015-02-23 14:19:28 +07:00
Salvo 'LtWorf' Tomaselli
512aafd946
Style
2015-02-19 14:06:11 +07:00
Salvo 'LtWorf' Tomaselli
cf377eca46
Initial Qt5/Python3 switch
...
This converts the GUI code to use Qt5 and Python3
The GUI is still somewhat buggy, and it can't open files yet,
but seems to be mostly working, extensive testing will
be needed before this can be released.
2015-02-19 14:00:47 +07:00
Salvo 'LtWorf' Tomaselli
da4c549ea0
Drop support for PySide
...
It's no longer developed and I'm moving to Qt5 which
is not supported
2015-02-18 17:53:02 +07:00
Salvo 'LtWorf' Tomaselli
556eecc118
Changed about and README to not point to galileo anymore
2013-12-27 00:31:43 +07:00
Salvo 'LtWorf' Tomaselli
5e4a703f56
New way of checking for new versions
2013-12-27 00:16:12 +07:00
LtWorf
48bde3ea84
- Improved tokenizer
...
- GUI shows unicode errors (i really can't wait for debian to have pyqt in python 3)
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@339 014f5005-505e-4b48-8d0a-63407b615a7c
2011-11-01 18:47:03 +07:00
LtWorf
ee1e103c8f
- tests with pyside and fixes
...
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@332 014f5005-505e-4b48-8d0a-63407b615a7c
2011-10-15 22:30:31 +07:00
LtWorf
9344304f68
- More fixes for unicode...
...
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@330 014f5005-505e-4b48-8d0a-63407b615a7c
2011-10-15 22:00:17 +07:00
LtWorf
17452f1e0b
- migrating to unicode
...
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@329 014f5005-505e-4b48-8d0a-63407b615a7c
2011-10-15 21:45:33 +07:00
LtWorf
9d12667b11
- Debian package can now be installed with pyside and not pyqt
...
- Make dist makes a file for the debian format
- Make dist removes .svn from relational_pyside
- setup.py installs relational_pyside module
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@326 014f5005-505e-4b48-8d0a-63407b615a7c
2011-10-13 20:15:38 +07:00
LtWorf
2f8e604d0d
- Can create relation classes from the table
...
- Can add new relations and edit current ones, it apparently works
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@325 014f5005-505e-4b48-8d0a-63407b615a7c
2011-10-13 18:44:20 +07:00
LtWorf
e6c871b785
- Buttons to edit and create relation
...
- Default example cells when working on a new relation
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@323 014f5005-505e-4b48-8d0a-63407b615a7c
2011-10-13 17:06:24 +07:00
LtWorf
c5af23d05c
- apparently it works, needs further testing
...
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@319 014f5005-505e-4b48-8d0a-63407b615a7c
2011-10-08 22:35:24 +07:00
LtWorf
b186ddae39
- Unified main GUI too, but work is still in progress...
...
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@317 014f5005-505e-4b48-8d0a-63407b615a7c
2011-10-08 18:32:31 +07:00
LtWorf
fb7e9d2b6f
- Can perform survey from command line interface too
...
- Module to send survey directly
- Can check the latest version from the svn repository
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@311 014f5005-505e-4b48-8d0a-63407b615a7c
2011-06-14 16:21:15 +07:00
LtWorf
3ca26b10c6
- Forces relations to have correct attribute names
...
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@296 014f5005-505e-4b48-8d0a-63407b615a7c
2011-04-01 07:06:08 +07:00
LtWorf
f8b0ab746b
- Added test
...
- Re-sorted CHANGELOG
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@286 014f5005-505e-4b48-8d0a-63407b615a7c
2011-03-22 13:28:41 +07:00
LtWorf
9c65a60b22
- Small fix and simplified code
...
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@285 014f5005-505e-4b48-8d0a-63407b615a7c
2011-03-21 16:10:22 +07:00
LtWorf
8065f65d2d
- simplified linegui checking if query is an assignment
...
- Reports missing GUI modules
- Will not load relations if given name is not valid
- Will not execute if relation dest name is not valid
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@283 014f5005-505e-4b48-8d0a-63407b615a7c
2011-03-21 07:43:57 +07:00
LtWorf
e563972436
- Changed window title
...
- Added menu!
- Can restore from history
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@282 014f5005-505e-4b48-8d0a-63407b615a7c
2011-03-20 23:23:20 +07:00