Evil Eye
4c11dcdd7d
Merge branch 'display_fix' into 'master'
...
Improve screen detection for editor's widgets
Closes #8146
See merge request OpenMW/openmw!4364
2024-10-29 16:51:37 +00:00
Evil Eye
c9ef03fdd1
Change INFO id generation to not exceed 31 characters
2024-10-03 22:24:08 +02:00
Andrei Kortunov
8dc16f0a17
Improve screen detection for editor's widgets
2024-09-28 10:19:30 +04:00
Andrei Kortunov
21db4219de
Use QPersistentModelIndex to react to model changes
2024-07-26 09:57:35 +04:00
Andrei Kortunov
355dd0bccf
Do not store references to disposed objects
2024-07-23 10:27:23 +04:00
Andrei Kortunov
54271b872c
Improve QVariant usage
2024-07-20 14:32:56 +04:00
Andrei Kortunov
dc7407a34c
Use signed variables to match an API
2024-07-04 09:54:48 +04:00
Andrei Kortunov
a9108a743d
Do not make redundant copy
2024-07-01 20:50:25 +04:00
Andrei Kortunov
5390634e22
Add a missing null pointer check
2024-06-27 21:10:38 +04:00
psi29a
0013a44b71
Merge branch 'datadisplaydelegate' into 'master'
...
React to scale or color changes in editor tables
See merge request OpenMW/openmw!4098
2024-06-22 09:03:19 +00:00
Evil Eye
fbc6629d40
Rework land texture handling
2024-06-12 17:09:28 +02:00
Evil Eye
965bc20bab
Set mPluginIndex to -1 for textures defined in this plugin
2024-06-10 21:39:10 +02:00
Andrei Kortunov
204267d211
React to scale or color changes in editor tables
2024-05-27 18:38:33 +04:00
Andrei Kortunov
bf568da6de
Remove redundant checks
2024-05-12 17:26:18 +04:00
Andrei Kortunov
e7d566eb2e
Remove border from status bar
2024-05-12 17:26:10 +04:00
Andrei Kortunov
b56c255be2
Improve appearance of script editor in the OpenMW-CS
2024-05-06 12:22:30 +04:00
Andrei Kortunov
070327a259
Change SVG color in the editor
2024-04-27 09:57:47 +04:00
psi29a
02cdeb6252
Merge branch 'scalable_editor' into 'master'
...
Treat editor icons as scalable
See merge request OpenMW/openmw!4042
2024-04-23 07:04:59 +00:00
Andrei Kortunov
1bb48bcef7
Treat editor icons as scalable
2024-04-21 20:56:06 +04:00
Andrei Kortunov
2264d067fc
Clamp widgets coordinates to avoid crashes
2024-04-21 17:15:33 +04:00
psi29a
3600c6c7c7
Merge branch 'filterview' into 'master'
...
Validate INFO filters when loading the record
See merge request OpenMW/openmw!4003
2024-04-17 13:08:49 +00:00
Andrei Kortunov
1ad9e5f9e8
Rework editor icons
2024-04-14 08:17:10 +04:00
Evil Eye
a4625ea784
Deduplicate dialogue filter parsing
2024-04-11 22:29:33 +02:00
Sam Hellawell
a62da201e5
check for land index not -1, fix warning
...
Signed-off-by: Sam Hellawell <sshellawell@gmail.com>
2024-03-16 09:02:47 +00:00
Sam Hellawell
aa0c9fb4cb
Fix: cannot drag region into map, map columns are rectangular
2024-03-16 07:48:40 +00:00
Dave Corley
090a389feb
Cleanup(idvalidator): Just don't use isValid function and instead
...
directly check if input is a printable char
2024-02-22 02:52:58 -06:00
Dave Corley
9fc66d5de6
Fix(idvalidator): Allow any printable character in refIds
2024-02-21 15:25:13 -06:00
Andrei Kortunov
737d3b499b
Use move semantics for tools
2024-01-21 20:20:37 +04:00
Andrei Kortunov
074ab682ab
Move local variables in the editor
2024-01-12 10:10:27 +04:00
elsid
39dd73263d
Avoid converting UniversalId to a different type via string
2023-12-29 14:15:28 +01:00
Andrei Kortunov
6f68df9ac2
Avoid redundant copies
2023-12-06 23:45:25 +04:00
Andrei Kortunov
d3d7a663c6
Move some objects instead of copying
2023-07-31 20:43:46 +04:00
Evil Eye
6b7e7acd16
Replace a number of incorrect index types
2023-06-03 16:30:35 +02:00
Evil Eye
9214ffb50b
Replace some empty constructors and destructors with default
2023-05-29 13:37:19 +02:00
florent.teppe
56cb2a83ec
removed sDefaultWorldspace, only sDefaultWorldspaceId now.
...
sDefaultWorldspaceId is a StringRefId to be able to getvalue easily.
2023-05-12 22:05:53 +02:00
psi29a
4fd8ed8f13
Merge branch 'qt_scene' into 'master'
...
Migrate from GraphicsWindowQt to QOpenGLWidget
See merge request OpenMW/openmw!2895
2023-04-11 10:51:07 +00:00
Andrei Kortunov
8df7ce545e
Migrate from GraphicsWindowQt to QOpenGLWidget
2023-04-05 19:43:42 +04:00
florent.teppe
f99e65843a
Removes most cellId.hpp include, simplifies id generation for cells.
2023-04-03 14:16:32 +02:00
florent.teppe
c2182c2fcc
Get Rid of ESM::CellId almost everywhere
...
it was a competing concept from using RefIds for cell.
There is almost no point to it now, except to load older data.
2023-04-03 14:16:05 +02:00
Evil Eye
6e33da6cfe
Don't capture temporaries by reference
2023-03-20 19:07:51 +01:00
elsid
e892c62b10
Fix loading, inserting and moving topic info records
...
Topic info records need to have specific order defined via mNext and mPrev
fields (next and previous records). When loading multiple files a record may be
inserted into middle of the topic but neighborhood records may not be aware of
it. Having the order it's possible to move the records within one topic.
Sort the record once after loading all content files but preserve the order for
all other operations. Use std::map to group info ids by topic to make sure the
topics order is stable. Keep order within a topic for info ids on loading new
records. Use this order later for sorting the records.
2023-03-13 21:57:38 +01:00
elsid
e618026c69
Use ESM::RefId as index key in collections
2023-02-17 11:08:46 +01:00
Andrei Kortunov
7e2aedf637
Add an initial Qt6 support
2023-02-06 18:38:59 +04:00
psi29a
3f9cae7947
Merge branch 'dragdetails' into 'master'
...
[OpenMW-CS] Generate record filters based on cell content and column header
Closes #7161
See merge request OpenMW/openmw!2617
2023-02-03 09:29:36 +00:00
unelsson
5bbe9bc5d8
cleanup and style (const ref instead of value, consistent ifndef naming)
2023-01-29 21:42:01 +02:00
unelsson
2e7d41373b
Remove unused includes, fix std::get logic at editwidget
2023-01-29 20:35:00 +02:00
unelsson
2fac4d0e40
Use struct with sensible member names
2023-01-29 17:25:25 +02:00
unelsson
9b808a495c
Use std::variant and std::visit instead of function overloads, add float type search, fix QMetaType and Type conversion
2023-01-26 00:05:51 +02:00
florent.teppe
3780033837
Reverts Cell name to a string
2023-01-21 18:39:42 +01:00
unelsson
ba6c47bb07
Implement record filter search by value and QVariant type recognition
2023-01-17 02:55:47 +02:00