Marc Zinnschlag
554c44892a
Merge branch 'newgame'
2013-09-10 16:45:09 +02:00
Marc Zinnschlag
e9f14449eb
added AdjusterWidget
2013-09-10 16:45:01 +02:00
Marc Zinnschlag
2dc3c0ae4f
integrated startup icons
2013-09-09 09:41:43 +02:00
Marc Zinnschlag
25b7cd33ea
added FileWidget; fixed OpenCS configuration
2013-09-08 14:31:20 +02:00
Marc Zinnschlag
ecedb60169
splitting new game and new addon functions (new game currently not working)
2013-09-08 12:06:28 +02:00
Marc Zinnschlag
f7940d7d1a
focus load document button by default in startup window
2013-09-08 11:24:06 +02:00
Marc Zinnschlag
cae5eb424d
cleaned up opening the settings dialogue from a view
2013-09-08 09:33:45 +02:00
Marc Zinnschlag
efdf2961f0
open user settings dialogue centered
2013-09-08 09:28:43 +02:00
Marc Zinnschlag
0e81fb32dd
hooked up edit config signal from startup window
2013-09-08 09:26:43 +02:00
Marc Zinnschlag
17bf7e59a4
added proper startup dialogue (still missing icons)
2013-09-08 09:15:26 +02:00
Marc Zinnschlag
3d66f7521e
Merge remote-tracking branch 'marcrbouvier/master'
2013-09-06 08:44:59 +02:00
Marc Bouvier
784cba21f2
[Feature #881 ] Change Tabs to Spaces
...
Some of the tabs were not made of spaces, so Git defaults tabs to the
length of 8 spaces. OpenMW uses 4 spaces per tab.
2013-09-05 23:02:51 -05:00
Marc Zinnschlag
dc345dd43d
Merge branch 'filter'
2013-09-05 15:47:52 +02:00
Marc Zinnschlag
8f0ab29a9f
allow the use of keywords for strings without quotation marks
2013-09-05 15:47:38 +02:00
Marc Zinnschlag
645b50ef36
added support for half-sided intervals to filter parser
2013-09-05 15:38:28 +02:00
Marc Zinnschlag
f3ce9c22a1
rewrote value node to support half-sided intervals (meaning infinity or -infinity for the missing half)
2013-09-05 15:22:14 +02:00
Marc Zinnschlag
9332684335
allow the use of value types in string filters
2013-09-05 15:05:49 +02:00
Marc Zinnschlag
f2e86e860e
allow the use of record types in string filters
2013-09-05 14:39:56 +02:00
Marc Zinnschlag
8bebe7179c
some UniversalId fixes
2013-09-05 13:58:36 +02:00
Alexander "Ace" Olofsson
5e42c73356
Better fix for unshield, comments on changes, no more commented out code.
2013-09-05 10:39:17 +02:00
Alexander "Ace" Olofsson
22a5f7198f
A few fixes to build on Windows
2013-09-04 23:25:47 +02:00
Marc Zinnschlag
842a616909
more cleanup
2013-09-03 14:18:34 +02:00
Marc Zinnschlag
6cd7da6547
Merge remote-tracking branch 'marcrbouvier/master'
2013-09-03 13:47:07 +02:00
Marc Bouvier
6b11f59ed4
[Feature #881 ] Rename QLocalServer
...
The server name should be more unique to the project so there isn't a
interprocess clash.
2013-09-03 06:24:11 -05:00
Marc Zinnschlag
80f8024da7
allow specifying record modification status column enum via strings
2013-09-03 13:03:02 +02:00
Marc Zinnschlag
f80373a849
removed two unused files
2013-09-03 12:53:45 +02:00
Marc Zinnschlag
1744a64f77
in filters allow specifiying boolean columns as strings
2013-09-03 12:32:06 +02:00
Marc Bouvier
0ae2bb2fae
[Feature #881 ] Code Formatting
...
Code formatted to the OpenMW policy.
2013-09-03 05:22:48 -05:00
Marc Bouvier
563bd0b430
[Feature #881 ] Raise OpenCS New Window After Re-execution
...
The OpenCS startup window of the existing exist is raised when trying to
start a new instance. This is done by the new instance connection to the
existing instance's QLocalServer. Once the connection is established the
existing instance raises the startup window.
2013-09-03 04:12:19 -05:00
Marc Bouvier
51332b86a1
[Feature #811 ] Only 1 Instance of OpenCS is Allowed
...
If another instance of OpenCS is started, then it will terminate. This
is done by creating a QLocalServer with a unique ID. If another
QLocalServer with the same ID attempts to be opened, then the creation
of the QLocalServer will fail and the application will terminate.
2013-09-03 01:44:21 -05:00
Marc Zinnschlag
9cb121bd04
allow specifying enums as text in filters
2013-09-02 12:23:19 +02:00
Marc Zinnschlag
649ef6f120
moved list of enum literals from ViewManager to Columns (which makes them available to the rest of model now)
2013-09-02 11:58:05 +02:00
Marc Zinnschlag
9f0b34eae0
fixed reference loading code (editor)
2013-08-29 13:27:54 +02:00
Marc Zinnschlag
26b3d93293
streamlined filter syntax
2013-08-27 18:58:23 +02:00
Marc Zinnschlag
2e9948e86a
improved one-shot filter handling; allow empty pre-defined filters
2013-08-26 14:40:34 +02:00
Marc Zinnschlag
aa935ff03d
update tables on filter record changes
2013-08-26 12:49:13 +02:00
Marc Zinnschlag
20bd0707dc
avoid use of column number literals
2013-08-26 12:25:52 +02:00
Marc Zinnschlag
937f5b11a2
fixed broken record deletion
2013-08-26 12:25:19 +02:00
Marc Zinnschlag
d007d4dc9a
allow colons in names (filter)
2013-08-24 19:12:47 +02:00
Marc Zinnschlag
7e02c9acf2
added filter text column to filter table
2013-08-24 18:53:11 +02:00
Marc Zinnschlag
25e6380884
implemented use of predefined filters
2013-08-24 17:40:00 +02:00
Marc Zinnschlag
d1516792ce
made document data available to filter parser
2013-08-24 17:17:22 +02:00
Marc Zinnschlag
7aee1da5c6
fixed some columns
2013-08-24 16:51:49 +02:00
Marc Zinnschlag
51fbb0f3f4
fixed a segfault when opening views for tables that do not allow the creation of new records
2013-08-24 15:33:46 +02:00
Marc Zinnschlag
948cb0ef34
Merge remote-tracking branch 'marcrbouvier/master'
2013-08-24 15:13:07 +02:00
Marc Zinnschlag
78c7de440d
simplified filter nodes even more
2013-08-24 14:49:05 +02:00
Marc Zinnschlag
cf58670c85
removed global filter scope (would have caused sync problems between projects)
2013-08-24 14:46:42 +02:00
Marc Zinnschlag
3cf60da5a7
added numeric value filter node
2013-08-24 14:43:38 +02:00
Marc Zinnschlag
537ab38985
fixed type in error message
2013-08-23 14:49:41 +02:00
Marc Zinnschlag
c56007cceb
fixed a record counting bug (was using the wrong model)
2013-08-23 14:11:33 +02:00
Marc Zinnschlag
63b1df85e7
fixed string parsing
2013-08-22 15:22:39 +02:00
Marc Zinnschlag
f615a9397b
made text node filter case-insensitive
2013-08-22 15:16:22 +02:00
Marc Zinnschlag
de956737fe
added text filter node
2013-08-22 14:50:42 +02:00
Marc Zinnschlag
decd826208
fixed an include guard
2013-08-22 14:00:55 +02:00
Marc Zinnschlag
ba6edc55d4
added not filter node
2013-08-22 13:45:50 +02:00
Marc Zinnschlag
806e9a2888
added and and or filter nodes
2013-08-22 13:14:35 +02:00
Marc Zinnschlag
50041fc211
simplified filter system by taking out filter references and user values for now (these are post-1.0 features anyway)
2013-08-22 09:17:57 +02:00
Marc Bouvier
2e8b0cf502
Remove Directory Paths in Qt Classes Includes
...
Qt recommends that the path location not be used when including a class.
Also, this is how other files include Qt classes in the OpenCS app. This
change is for consistency only.
2013-08-21 17:14:29 -05:00
Marc Zinnschlag
a61215dab1
some general filter parser cleanup
2013-08-20 16:04:06 +02:00
Marc Zinnschlag
c87a279444
added error reporting in the filter edit widget (change the text colour for now)
2013-08-18 17:54:18 +02:00
Marc Zinnschlag
c7e97a83e1
automatically build column map on filter change
2013-08-18 17:28:04 +02:00
Marc Zinnschlag
ea8b9ce45b
apply filter to table after filter text change
2013-08-18 16:53:28 +02:00
Marc Zinnschlag
470f890a9a
fixed BooleanNode constructor
2013-08-18 16:52:51 +02:00
Marc Zinnschlag
c38860fa72
added parser and custom filter edit widget (parser not functional yet; always returns a false boolean node)
2013-08-18 14:17:18 +02:00
Marc Zinnschlag
236dc9fc43
replaced binary filter node with a n-ary node
2013-08-16 14:18:31 +02:00
Marc Zinnschlag
528e047fd5
repalced std::auto_ptr with boost::shared_ptr in filter nodes
2013-08-16 13:57:54 +02:00
Marc Zinnschlag
789a66eaa7
added filter box and basic record filter UI (not functional yet; only supporting on-the-fly filters for now)
2013-08-11 20:39:21 +02:00
Marc Zinnschlag
f5b06d5d52
basic filter tree structure
2013-08-09 14:49:05 +02:00
Marc Zinnschlag
a95715b61d
added description field to filter record
2013-08-09 13:45:50 +02:00
Marc Zinnschlag
f6226e4859
added Creator class for filters
2013-08-08 15:55:23 +02:00
Marc Zinnschlag
0944338c27
avoid the use of hardcoded column numbers
2013-08-08 12:49:30 +02:00
Marc Zinnschlag
76b9d3dbc1
columns are now identified via an enum instead the name string
2013-08-07 09:36:05 +02:00
Marc Zinnschlag
d2f96deb98
renamed columns.hpp to columimp.hpp
2013-08-02 10:42:52 +02:00
Marc Zinnschlag
adb05737ee
Merge branch 'master' into filter
...
Conflicts:
apps/opencs/model/world/universalid.cpp
apps/opencs/view/doc/view.cpp
apps/opencs/view/world/subviews.cpp
2013-07-30 15:55:50 +02:00
Marc Zinnschlag
434f97c95c
fixed two missing icons
2013-07-30 12:55:02 +02:00
Marc Zinnschlag
102700a498
added specialised Creator for references
2013-07-30 12:53:03 +02:00
Marc Zinnschlag
57be764cce
added specialised Creator for referenceable records
2013-07-30 12:34:18 +02:00
Marc Zinnschlag
34c825ce52
added icons and type listing to UniversalId class
2013-07-29 16:21:42 +02:00
Marc Zinnschlag
661b290c49
automatically scroll table to the position of a newly created record
2013-07-29 15:00:41 +02:00
Marc Zinnschlag
82958e6514
added custom creator for cell records
2013-07-28 18:08:57 +02:00
Marc Zinnschlag
899e18b2cf
report ID errors also via input field tool tips
2013-07-28 15:28:35 +02:00
Marc Zinnschlag
5ec9d370cb
check if ID is already in use when creating new IDs
2013-07-28 15:27:15 +02:00
Marc Zinnschlag
124a70906f
added creator edit lock
2013-07-28 14:51:47 +02:00
Marc Zinnschlag
32c697abc6
validate IDs entered by the user
2013-07-28 14:40:11 +02:00
Marc Zinnschlag
4f6e99c391
more compact layout for the bottom box
2013-07-28 14:00:26 +02:00
Marc Zinnschlag
00fcb79f08
moved record creation to GenericCreator class (now taking ID from user instead of using a procedurally generated one)
2013-07-28 13:43:16 +02:00
Marc Zinnschlag
2d46a1db2f
changed CreateCommand to work directly on the model instead of the proxy
2013-07-28 13:39:33 +02:00
Marc Zinnschlag
f93af52486
handling down a reference to Data and the undo stack to the creators
2013-07-27 13:28:12 +02:00
Marc Zinnschlag
fee748d4b5
added creator bar UI and cancel button
2013-07-26 21:09:23 +02:00
Marc Zinnschlag
b8ac45defe
added creator to bottom box layout and re-routed add record event to bottom box
2013-07-26 18:22:31 +02:00
Marc Zinnschlag
d899cbb449
removed some junk
2013-07-26 18:14:34 +02:00
Marc Zinnschlag
ed83e2e70a
added creator to bottom box; more cleanup
2013-07-26 12:51:45 +02:00
Marc Zinnschlag
6c4bdc0101
minor cleanup; less pointer usage
2013-07-26 12:42:15 +02:00
Marc Zinnschlag
ba5ca5beed
replaced createAndDelete flag with a new class hierarhy (Creator)
2013-07-26 12:35:17 +02:00
Marc Zinnschlag
4327b81bc3
fixed column handling in table (had problems with filtered out columns before)
2013-07-25 14:38:53 +02:00
Marc Zinnschlag
55e7e71c11
added optional per-subview status bar
2013-07-25 14:29:56 +02:00
Marc Zinnschlag
a80e80dd94
added layout to table sub view
2013-07-23 21:59:02 +02:00
Marc Zinnschlag
7600d6c04b
basic filter table
2013-07-22 21:18:47 +02:00
Marc Zinnschlag
66534a45da
replaced double click in table with a context menu item (edit) because double click was interfering with basic table functionality
2013-07-21 17:53:39 +02:00
Marc Zinnschlag
0fad2e7f40
restructured main menu
2013-07-20 13:46:56 +02:00