Commit Graph

156 Commits (d4d46fc60256177968c96e9653ced2f83652338e)

Author SHA1 Message Date
Ewan Higgs 38a2de3c51 convert std::autor_ptr to std::unique_ptr, originally by Ewan Higgs and updated by Bret Curtis 8 years ago
Allofich 1c54f54ab8 Fix shadowing warnings 8 years ago
Rob Cutmore 8f47ed17df Show nested tables only when they are editable 8 years ago
Rob Cutmore b59694c4f0 Set tooltip for read-only nested tables 8 years ago
Rob Cutmore 829345257c Allow disabled nested tables to be scrollable 8 years ago
scrawl daa94cc50e Fix cppcheck warnings 9 years ago
Marc Zinnschlag ecbd68a19b third batch of changing over user settings usage to the new system 9 years ago
Marc Zinnschlag a3a2c2f476 second batch of changing over user settings usage to the new system 9 years ago
cc9cii 107ccd84d4 Move TableEditModes enum inside a class scope. 9 years ago
cc9cii 77471d1592 Re-add mistakenly removed line and fix a silly typo. 9 years ago
cc9cii 80869d9bae Disable context menu for fixed size sub-tables. Should resolve bug #2932. 9 years ago
Marc Zinnschlag 23ccee0124 Merge remote-tracking branch 'dieho/master'
Conflicts:
	apps/opencs/view/world/dialoguesubview.cpp
10 years ago
Marc Zinnschlag 469a896ca1 make non-editable fields in dialogue sub view selectable (Fixes #2818) 10 years ago
taras.kudryavtsev 8ae7c63c45 #2730 and #2725 10 years ago
Stanislav Bas 6b3de5c720 Activate editing of nested table cells by a double click 10 years ago
Stanislav Bas 1590a04d03 Close EditWidget when a proper row removed 10 years ago
Marc Zinnschlag 2202973c24 replaced the script subview status bar with a bottom box (including a status bar) 10 years ago
Marc Zinnschlag fc6c14614b added user settings option to toggle toolbars in single-record subviews 10 years ago
Stanislav Bas c1b06538dc Add Edit 'ID' action for nested fields 10 years ago
Stanislav Bas 86dc5a2c67 Add Edit 'ID' action for nested tables 10 years ago
Stanislav Bas d73fd471c3 IdContextMenu: don't add Edit action if it's already in the context menu 10 years ago
Stanislav Bas 61ab0ba482 Prevent the Edit 'ID' action for the current ID of the dialogue subview 10 years ago
Stanislav Bas 149cb9d004 IdContextMenu: if the ID field is empty show the standard context menu (if available) 10 years ago
Stanislav Bas e8e34f37dd Edit 'ID' action is available in dialogue sub-views (for LineEdits and Labels) 10 years ago
Stanislav Bas 47b66b57ae Create a context menu handler for dialogue editors with ID information 10 years ago
Marc Zinnschlag 15bb2855a9 disable prev/next buttons if there is no previous/next record 10 years ago
Marc Zinnschlag 95522fcad2 more general cleanup 10 years ago
Marc Zinnschlag 9aa153984a fixed inconsistent handling of deleted records in dialogue; general cleanup 10 years ago
Marc Zinnschlag a8c26ec0c1 moved most of the code for next/prev buttons from DialogueSubView to RecordBUttonBar 10 years ago
Marc Zinnschlag d5e6d8a58b disable dialogue subview buttons while document is locked 10 years ago
Marc Zinnschlag 6769479358 moved code for initiating record cloning from DialogueSubView to RecordButtonBar 10 years ago
Marc Zinnschlag 7f1129df3b cleaned up DialogueSubView constructor; moved bottom box below button bar 10 years ago
Marc Zinnschlag 49dc30683f refactored dialogue subview button bar into a new class 10 years ago
Marc Zinnschlag 57015f3666 fixed handling of numeric read-only fields in dialogue sub views 10 years ago
Marc Zinnschlag 10fbe6aada split DialogueSubView in SimpleDialogueSubView and DialogueSubView 10 years ago
Stanislav Bas 7dcdd130bb Rework Dialogue subview code according to DropLineEdit changes 10 years ago
Stanislav Bas 27ece7f36a Rework DropLineEdit. Make it type-sensitive 10 years ago
Stanislav Bas 36271f25ec Rework creator factories to accept Document as a parameter 10 years ago
Marc Zinnschlag d5bc561d17 Merge remote-tracking branch 'smbas/feature-color-picking' 10 years ago
Stanislav Bas 1e368de289 Adjust columns of nested tables when a dialog subview is opened 10 years ago
Stanislav Bas eb5180ba86 Save selected color in a model when picking is finished 10 years ago
cc9cii 6821cb4133 Use the tree model rather than a nested proxy for the dialogue only listing (i.e. non table) items. Should resolve Bug #2586.
- QDataWidgetMapper requires the rootindex to be set, which was not possible with the nested proxy model.
10 years ago
Marc Zinnschlag 99dbd82a44 Merge remote-tracking branch 'cc9cii/fix-dialogue-subview-crash' 10 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
10 years ago
cc9cii 95f740ec40 Give CSVWorld::EditWidget::mMainWidget a chance to clean up its children. Should resolve Bug #2578. 10 years ago
Marc Zinnschlag 6402b82823 Merge remote-tracking branch 'cc9cii/master' 10 years ago
cc9cii 22420c3a83 Close DialogueSubView if the corresponding record is deleted. Should resolve Bug #2575.
- ToDo: Doesn't seem to shrink the widget width properly (when horizontal scrollbar is active)
10 years ago
cc9cii c721e340d8 Merge branch 'master' into npc-additional-data
Conflicts:
	apps/opencs/view/world/dialoguesubview.cpp
10 years ago
Rohit Nirmal 396fba7fa9 Silence -Wreorder warnings, and remove -Wno-reorder. 10 years ago
cc9cii 2fc964ca73 Grey out disabled entries rather than hiding them. 10 years ago