Commit Graph

96 Commits (6cb5ac6e63fb9bf6b27e827a227161f6dbc82f0a)

Author SHA1 Message Date
Alexander Stillich 1177e5ac79 Issue a single dataChanged() when the modified column changes 6 years ago
Doc West d26b5a13ef Fixed comment 6 years ago
Doc West 01b8ce5f70 Notify views of changes in all columns when updating the ColumnId_Modification column 6 years ago
Doc West 4780f1b2bd Notify views of changes of all cells in a row to properly update the row after revert 6 years ago
Kyle Cooley d27071f06a Fix LTEX import bug. 7 years ago
Kyle Cooley 2f5449a68c Remove now unnecessary overrides. 7 years ago
Kyle Cooley dfcbee3ab1 Ignore case when comparing textures, also add new textures to lookup map. 7 years ago
Kyle Cooley 3981f79d38 Change flag for base land textures 7 years ago
Kyle Cooley 054e6a780e Use map for texture lookup. 7 years ago
Kyle Cooley 25d4a0370f Changes to land data access in tables, also update Land once per frame in scene view. 7 years ago
Kyle Cooley 99e90ef808 Cleanup. Also modify ltex index generation. 7 years ago
Kyle Cooley 97d0fd756a LTEX importing 7 years ago
Kyle Cooley 1d480015b4 Add ability to touch records, LAND records in particular 7 years ago
Kyle Cooley 9e41f1340a Replace nonconst getId with setId, add template specialization and specialized derived classes for LandTexture 7 years ago
Allofich 125e94ef0e Fix shadowing warnings 8 years ago
scrawl b9b73d7b12 Replace "sys::default" with ESM::CellId::sDefaultWorldspace 8 years ago
Rob Cutmore e6863c8f79 Editor: Undo editable column check in record add 8 years ago
Rob Cutmore 307f04f827 Editor: Fix issue adding start script (Bug #3331)
Updated to verify column is editable when adding a new record.
8 years ago
Marc Zinnschlag 7d8bd56e11 create new records with basic data in the same step without updates inbetween (Fixes #3207) 8 years ago
Stanislav Bas 720aca8f3d Inform about State change (not a whole row) when modifying a table value 9 years ago
Stanislav Bas 25b653e316 Inform about Modified status change when modifying a value of a model 9 years ago
Stanislav Bas f84c36b500 CommandDelegate: extract a display type from a model if it isn't specified 9 years ago
Stanislav Bas e943d17b29 Check for invalid index in IdTable::flags(). This prevents QCompleter from crashes 9 years ago
cc9cii ec808843c3 Do not rebuild the dialogue subview unless required. Should resolve Bug #2581.
The loss of focus was caused by each text change (i.e. character entry) to a QPlainTextEdit resulting in dataChanged() signal which in turn rebuilt the dialogue subview.  Changes in this commit include:

- Do not send signal to update entire row if only a single item has changed.
- Do not rebuild the dialogue subview unless the data item that triggers a conditional display is changed.
- Add column flags to indicate whether the data in this column should rebuild the dialogue subview.
- Return the correct flags for nested columns
- Disable, rather than grey out, checkbox that does not apply to creature levelled list
9 years ago
cc9cii 3c82e6d034 Retrieve the correct index for the type of record being un-deleted. 9 years ago
Marc Zinnschlag f1c0847897 Merge remote-tracking branch 'cc9cii/moveref' 9 years ago
cc9cii f1a58994c6 Merge branch 'master' into moveref
Conflicts:
	apps/opencs/model/world/columns.hpp
	apps/opencs/model/world/commands.cpp
	apps/opencs/model/world/commands.hpp
	apps/opencs/model/world/ref.cpp
	apps/opencs/view/world/dialoguesubview.cpp
	apps/opencs/view/world/dialoguesubview.hpp
	apps/opencs/view/world/util.cpp
	components/esm/cellref.hpp
9 years ago
cc9cii 8aaa74a983 Undo for delete operation in referenceables table. Implemented by saving UniversalId::Type in DeleteCommand. 9 years ago
cc9cii bdf0d8db22 Re-organise the inheritance structure once more in preparation for adding Pathgrid tables. 9 years ago
cc9cii 83bcc8d451 Reorganised class inheritance structure of collections, columns and idtable model. 9 years ago
cc9cii ece34a1baa Workaround for crash while exiting the application. 9 years ago
cc9cii 619b5206cd More consistency nit pick. 9 years ago
cc9cii 29ef08bb75 Spelling and other consistencies nit pick. 9 years ago
cc9cii 6d6ff8c6a4 Resolved compile issues, but not fully working. 9 years ago
cc9cii fb2ba7610c Merge remote-tracking branch 'remotes/upstream/master' into NonTableFields
Conflicts:
	apps/opencs/CMakeLists.txt
	apps/opencs/model/doc/document.cpp
	apps/opencs/model/world/columnbase.hpp
	apps/opencs/model/world/columns.cpp
	apps/opencs/model/world/columns.hpp
	apps/opencs/model/world/commands.cpp
	apps/opencs/model/world/idtable.cpp
	apps/opencs/view/world/dialoguesubview.cpp
	apps/opencs/view/world/dialoguesubview.hpp
	apps/opencs/view/world/util.cpp
9 years ago
Marc Zinnschlag 561ddfa0c5 make column type accessable via the regular table model 9 years ago
cc9cii 13f028e27b Avoid out of range exceptions. 10 years ago
Marek Kochanowicz 40edf15ab0 cleaning up the code 10 years ago
Marek Kochanowicz c6194e7ea3 inserted additional class for nested collections 10 years ago
Marek Kochanowicz 87eed066c2 undo works now 10 years ago
Marek Kochanowicz 4d79034dbf correctly handling the nestedTable for undo (but removing and adding
rows in proper QT way is still TODO)
10 years ago
Marek Kochanowicz 1ff8abb240 store whole container representing the nested table inside of the
command

Static nature of C++ forced me to use templates. Bit frustraiting.
10 years ago
Marek Kochanowicz f0c6ef185e Nest columns directly, created NestedColumn class and NestColumn. 10 years ago
Marek Kochanowicz 4b4a72c3b6 Merge remote-tracking branch 'refs/remotes/master/master' into NonTableFields 10 years ago
Marek Kochanowicz 72392ad68c emit data changed signal when adding and removing the nested row 10 years ago
Marek Kochanowicz d221486a14 Fixed problem in the idtable. 10 years ago
Marc Zinnschlag 1b1f1bade3 injected new class IdTableBase between QAbstractItemModel and IdTable 10 years ago
Marek Kochanowicz bb675ff41d Removing rows and undo works 10 years ago
Marek Kochanowicz 77afb754e5 adding new rows works 10 years ago
Marek Kochanowicz c50cecdc64 Small cleanup 10 years ago