Marc Zinnschlag
ebb1dab8e1
removed debugging leftovers
2013-03-21 10:19:07 +01:00
Marc Zinnschlag
d05508db52
switching editor id tables from QAbstractTableModel to QAbstractItemModel (in preparation for record types like containers)
2013-03-21 10:07:25 +01:00
Marc Zinnschlag
10fad47a81
some cleanup
2013-03-12 14:51:16 +01:00
graffy76
50abb22162
Fix to allow application closing from multiple views and a single view.
2013-03-12 06:28:13 -05:00
graffy76
96b62940b3
Fixes docked subviews becoming tabbed and application closure when
...
closing one of several views.
2013-03-11 06:38:27 -05:00
graffy76
ce91ef36ea
Fix for warnings on close, leaves all views open until a decision is
...
made
2013-03-10 07:49:43 -05:00
graffy76
c17821e6c8
Merge branch 'master' of https://github.com/zinnschlag/openmw into saveOnClose
2013-03-08 20:08:56 -06:00
graffy76
03c7f18112
Fixes for save-on-close message boxes
2013-03-07 17:48:05 -06:00
Marc Zinnschlag
a994a23f4e
file loading fixes
2013-03-07 07:56:29 +01:00
Pieter van der Kloet
9145fb210b
Merge remote-tracking branch 'upstream/master' into opencsui
2013-03-07 03:02:03 +01:00
Pieter van der Kloet
7504ae675b
Implemented a file dialog for the editor using launcher .ui
2013-03-07 03:00:59 +01:00
Marc Zinnschlag
46de45b9a2
added var type column to globals
2013-03-05 11:37:13 +01:00
Marc Zinnschlag
ba4907fbaf
use new Variant type for GMSTs
2013-03-05 08:02:27 +01:00
Marc Zinnschlag
a1ac20c6f3
changed global variable records to new variant type
2013-03-04 14:32:59 +01:00
Marc Zinnschlag
65081f5520
added variant class
2013-03-04 14:32:23 +01:00
graffy76
6911868f2a
File->close and File->exit menu items added. Exit uses
...
closeAllWindows() to ensure ViewManager::closeRequest is called on the
last open window. Exit will close all open windows but the last one in
cases of active save operation or modified file.
2013-03-03 15:58:26 -06:00
graffy76
eb90bd71ba
Fixed triggering confirmation messages boxes when more than one view is
...
open.
2013-03-02 21:34:55 -06:00
graffy76
bf6c855e6d
Final changes to implement save-on-close features
2013-03-02 12:49:26 -06:00
graffy76
9193ddc9d3
Merge branch 'master' into saveOnClose
2013-03-02 09:24:42 -06:00
graffy76
a2e36594c9
Completed "abort save on close" feature
2013-03-02 09:22:44 -06:00
graffy76
f85be6a744
80% complete save-on-close feature
2013-03-02 07:57:41 -06:00
Marc Zinnschlag
d98ec67671
Merge remote-tracking branch 'graffy76/recentfiles'
2013-02-23 18:53:33 +01:00
graffy76
89dace3cc3
Fix for operations widget - hides when no operations are running.
2013-02-23 09:07:13 -06:00
Marc Zinnschlag
868916a9a2
added add-on global variables in the same way add-on GMSTs were added
2013-02-23 12:51:45 +01:00
Marc Zinnschlag
6f5a772d02
fixed another case handling problem
2013-02-23 12:35:05 +01:00
Marc Zinnschlag
c9ca565462
removed a redundant function call
2013-02-23 12:05:09 +01:00
graffy76
6f89d453a5
Operations widget height fix and abort button feature. Successfully
...
tested resizing of Operations QDockWidget for multiple concurrent
operations.
2013-02-22 21:53:32 -06:00
Marc Zinnschlag
a50ff34774
better default value for string GMSTs
2013-02-18 09:23:14 +01:00
Marc Zinnschlag
475f4f9311
implicitly add Tribunal/Bloodmoon GMSTs to base, if present neither in base nor in modified
2013-02-17 20:03:39 +01:00
Marc Zinnschlag
abd307d70e
Issue #567 : workaround for crash with non-English ESX files
2013-02-17 19:26:01 +01:00
Marc Zinnschlag
9221c861c5
Merge remote-tracking branch 'graffy76/next' into next
...
Conflicts:
apps/opencs/CMakeLists.txt
2013-02-17 17:38:33 +01:00
Marc Zinnschlag
bb990b96bf
Merge branch 'globaltype' into next
2013-02-17 17:27:41 +01:00
Marc Zinnschlag
50d61a5b6e
proper implementation of gmst type column
2013-02-17 17:27:25 +01:00
graffy76
ceefae81e8
fix for the opencs icon
2013-02-17 07:46:50 -06:00
Marc Zinnschlag
5e3529783d
Merge remote-tracking branch 'ace/win-fixes' into next
2013-02-12 15:42:45 +01:00
Alexander "Ace" Olofsson
0ae01794f1
Fixed build errors in OpenCS
2013-02-12 13:57:16 +01:00
Marc Zinnschlag
1fd7d8ed2a
Merge remote-tracking branch 'graffy76/master' into next
2013-02-11 15:35:59 +01:00
graffy76
55dd17c27c
Added setBarColor() function to CSVDoc::Operation. Created four color
...
types for existing operations (save, verify, compile and search), with a
default for future / undefined ops.
2013-02-11 04:30:16 -06:00
Marc Zinnschlag
eb6590f7d8
added delegate factory
2013-02-10 17:21:25 +01:00
Marc Zinnschlag
d40ee06897
fixed base/modified logic
2013-02-09 15:25:50 +01:00
Marc Zinnschlag
828695f295
added value column to gmst table
2013-02-08 14:48:38 +01:00
Marc Zinnschlag
cce2d63433
added type column to gmst table
2013-02-08 12:20:03 +01:00
Marc Zinnschlag
d5dd0640c7
basic gmst support
2013-02-08 09:58:19 +01:00
Marc Zinnschlag
dd2b7d5c63
handle deleted records
2013-02-07 13:26:00 +01:00
Marc Zinnschlag
c1cd8305bc
a bit of cleanup for the previous commit
2013-02-07 13:13:06 +01:00
Marc Zinnschlag
21733e8181
hide startup dialogue when opening open dialogue
2013-02-07 13:11:41 +01:00
Marc Zinnschlag
adcaea464b
basic globals record loading
2013-02-07 12:52:01 +01:00
Marc Zinnschlag
7d112e4d5c
rewrote logic of content file loading
2013-02-07 11:33:08 +01:00
Michal Sciubidlo
347a734364
Move OpenDialog to editor and use it in startup dialogue.
...
Remove debug output from DataFilesList.
2013-02-05 22:06:36 +01:00
Michal Sciubidlo
f7e5ea24f4
Merge branch 'startup' into cs_load.
...
Fix include in textinputdialog.cpp.
2013-02-05 21:23:49 +01:00
Michal Sciubidlo
66ec4ca7d9
Split launcher specific code from DataFilesList back to DataFilesPage.
2013-02-04 22:14:14 +01:00
Marc Zinnschlag
ba0d13fc12
moved code for creating new base content records into the Document class
2013-02-04 13:50:38 +01:00
Marc Zinnschlag
4c973a0f67
constructing documents from a file list instead of a single name
2013-02-04 13:46:54 +01:00
Marc Zinnschlag
3f0a49a2f6
Merge branch 'master' into startup
...
Conflicts:
apps/opencs/CMakeLists.txt
2013-02-04 10:22:37 +01:00
Marc Zinnschlag
a4872e3217
rewrote the opencs cmake scripts (more compact and no more annoying warnings)
2013-02-03 13:30:40 +01:00
Michal Sciubidlo
155cca0c9a
Upload missing files.
...
Fix folder name.
Keep Qt optional.
Move open dialogue from doc to tools.
Rename 'load' to 'open'.
Deleted wrong comment.
2013-02-02 18:36:01 +01:00
Marc Zinnschlag
67a1ec5166
added provisional startup dialogue
2013-02-02 16:14:58 +01:00
Michal Sciubidlo
492482de7f
Add "open" option in opencs.
2013-02-01 00:42:03 +01:00
Marc Zinnschlag
90d05858ef
disabling dialogue sub-views for now
2013-01-22 11:50:08 +01:00
Marc Zinnschlag
cd662af634
Merge branch 'globals'
2013-01-22 11:47:24 +01:00
Marc Zinnschlag
2d96f52864
select correct record when opening a dialogue sub view
2013-01-19 14:29:14 +01:00
eduard
2dc0064cc2
more string lowercase
2013-01-09 20:51:52 +01:00
Marc Zinnschlag
d4a9236ae5
hocking up dialogue sub view to a widget mapper
2013-01-08 14:59:40 +01:00
Marc Zinnschlag
b7b51f24d6
added new Role for table headers (Role_Display)
2013-01-03 11:20:25 +01:00
Marc Zinnschlag
714b1924a5
partial dialogue subview implementation
2012-12-30 14:01:52 +01:00
Marc Zinnschlag
8d4afe3bf5
post merge fix
2012-12-28 23:45:13 +01:00
Marc Zinnschlag
77852439ce
moved ColumnBase and Column struct into a separate translation unit
2012-12-16 12:52:23 +01:00
Marc Zinnschlag
f95e72166c
hide type column in non-mixed type tables
2012-12-13 15:03:35 +01:00
Marc Zinnschlag
faa5ef0874
rewrote column class
2012-12-13 14:53:16 +01:00
Marc Zinnschlag
640c218df3
made record state uneditable again
2012-12-13 13:52:26 +01:00
Marc Zinnschlag
3d4c8c5444
added dialogue sub view (editing of a single record; not functional yet); fixed a bug in Universal to string conversion
2012-12-13 13:35:08 +01:00
Marc Zinnschlag
02184526e6
moved two helper classes from view/world/table into a separate translation unit
2012-12-13 11:24:39 +01:00
Marc Zinnschlag
cc18b30e17
open sub view on double click in report view
2012-12-12 22:36:20 +01:00
Marc Zinnschlag
c75563c184
report model and view
2012-12-11 15:35:47 +01:00
Marc Zinnschlag
2db930a5cf
rewrote subview factory system
2012-12-11 13:22:43 +01:00
Marc Zinnschlag
0ed378dfb2
changed sub view factory method signature
2012-12-11 11:24:30 +01:00
Marc Zinnschlag
832fc56d34
changed UniversalId to string conversion
2012-12-09 11:10:35 +01:00
Marc Zinnschlag
9fe7ff9690
added mandatory ID check stage
2012-12-08 23:27:59 +01:00
Marc Zinnschlag
72623652e4
addded messages interface for operations/stages
2012-12-08 18:38:36 +01:00
Marc Zinnschlag
89b4497331
added missing edit locks for create/revert/delete
2012-12-08 18:15:00 +01:00
Marc Zinnschlag
6c18be39f0
added stage class
2012-12-08 17:53:45 +01:00
Marc Zinnschlag
8b7f342641
removed last remains of old verify implementation
2012-12-08 17:00:58 +01:00
Marc Zinnschlag
af9b48f4d3
added operations base class
2012-12-08 15:25:50 +01:00
Marc Zinnschlag
a2b4f43176
moved document state enum to a separate file
2012-12-08 14:44:03 +01:00
Marc Zinnschlag
fdc7e93835
preliminary multi-threaded verify implementation (does not actually perfom any document verification yet)
2012-12-08 11:59:13 +01:00
Marc Zinnschlag
2b53cf6547
do not list actions in the pop up menu that do not apply to any of the selected records
2012-12-06 15:25:31 +01:00
Marc Zinnschlag
c12ee129f7
added delete command
2012-12-06 15:18:41 +01:00
Marc Zinnschlag
b41cc5e9e9
added revert command
2012-12-06 14:56:04 +01:00
Marc Zinnschlag
f07b7d17cd
improved exception handling
2012-12-04 20:43:47 +01:00
Marc Zinnschlag
5cd2fe00ab
initialise blank global records
2012-12-03 22:16:02 +01:00
Marc Zinnschlag
8e93bfa607
turned the global class into a general purpose table subview class
2012-12-03 22:03:02 +01:00
Marc Zinnschlag
0a8b7602d3
fixed edit lock
2012-12-03 21:51:42 +01:00
Marc Zinnschlag
49d6239004
added pop-up menu with create record action
2012-12-03 21:44:16 +01:00
Marc Zinnschlag
db29e411c4
added merge functions; temporarily merge on document creation
2012-12-03 13:56:02 +01:00
Marc Zinnschlag
bd5e364ac1
display record state in table
2012-12-01 13:42:12 +01:00
Marc Zinnschlag
ec1f957e54
edit lock for sub views
2012-11-30 13:58:10 +01:00
Marc Zinnschlag
8dd76b49af
factored out table widget from globals sub view
2012-11-29 19:09:06 +01:00
Marc Zinnschlag
fd55c0cae2
record IDs are no longer handled as a special case
2012-11-29 18:56:28 +01:00
Marc Zinnschlag
4086b556d2
use commands for modifying globals
2012-11-29 16:05:28 +01:00
Marc Zinnschlag
8a09e03d5c
global variable editing (no undo support yet)
2012-11-29 14:45:34 +01:00
Marc Zinnschlag
92f70635a2
improved selection behaviour
2012-11-27 10:42:46 +01:00
Marc Zinnschlag
ef9575498f
basic (non-editable) subview for global variables
2012-11-26 12:29:22 +01:00
Marc Zinnschlag
eece4226c0
basic sub view system (very incomplete)
2012-11-24 13:30:43 +01:00
Marc Zinnschlag
4c0dcd46a1
added UniversalId class
2012-11-24 11:01:53 +01:00
Marc Zinnschlag
019146756f
minor documentation changes regarding future improvements and additions
2012-11-24 10:14:43 +01:00
Marc Zinnschlag
303506d24b
added new document function
2012-11-23 14:08:20 +01:00
Marc Zinnschlag
997386d873
implemented world verify function (doesn't do anything yet; mostly meant as a test for multi-operation interface)
2012-11-23 13:15:45 +01:00
Marc Zinnschlag
2fc183d595
added operations progress bar
2012-11-23 12:20:35 +01:00
Marc Zinnschlag
eaa58e0530
preparations for multiple parallel progress-type operations
2012-11-23 10:52:46 +01:00
Marc Zinnschlag
04158d03b0
clean up properly after closing a top level window
2012-11-23 10:30:14 +01:00
Marc Zinnschlag
03aacd3263
added progress tracking
2012-11-23 10:25:34 +01:00
Marc Zinnschlag
931eb08114
implemented edit locking (used during saves)
2012-11-23 00:51:04 +01:00
Marc Zinnschlag
5838929371
implemented a dummy save function (does not actually save anything)
2012-11-23 00:36:01 +01:00
Marc Zinnschlag
d7c63d4c74
track document modification state and display it in the top level window title bar
2012-11-22 23:42:17 +01:00
Marc Zinnschlag
8e546ebd30
added test command
2012-11-22 16:00:23 +01:00
Marc Zinnschlag
ed3d8b8ca2
added undo stack and undo/redo actions
2012-11-22 15:54:31 +01:00
Marc Zinnschlag
1ddcea1f07
display view indices in title bar
2012-11-22 15:25:16 +01:00
Marc Zinnschlag
789cecb9df
added main menu and implemented new view function
2012-11-22 14:51:38 +01:00
Marc Zinnschlag
758371d7e4
implemented view/document closing
2012-11-22 14:10:23 +01:00
Marc Zinnschlag
9834bb3ad5
basic document handling
2012-11-22 13:30:02 +01:00
Marc Zinnschlag
c3cd6e8a8a
new attempt at the editor
2012-11-21 17:31:18 +01:00