Bret Curtis
66a527c3de
Merge pull request #3075 from akortunov/warnfix
...
Fix MSVC's C4244 and C4267 warnings
2021-05-14 21:28:56 +02:00
jvoisin
06ae26037f
Remove some superfluous includes in the opencs
2021-05-14 10:57:31 +02:00
Andrei Kortunov
f9d42ed396
Fix MSVC's C4267 warnings
2021-05-12 10:34:39 +04:00
Andrei Kortunov
8084a336b5
Replace zeroes and nulls by nullptrs
2020-11-29 11:14:07 +04:00
Andrei Kortunov
8ca3c3b123
Mark overrided methods by override keyword
2020-10-16 22:18:54 +04:00
Bret Curtis
61a5c6125d
#5480 : Drop Qt4 support and require Qt 5.12 or later.
2020-06-22 12:17:06 +02:00
Nelsson Huotari
ec2ff2a9b0
Fix if oneliners
2020-03-26 14:47:40 +02:00
Nelsson Huotari
731e5b57f5
Tool outline for terraintexturemode and square shape. Various fixes.
2020-03-26 13:25:33 +02:00
Andrei Kortunov
e44021b369
Fix most of deprecated API usage in the editor
2019-12-20 12:59:56 +04:00
Nelsson Huotari
71eff60d22
Do in-class init. if possible, mLayoutSliderSize -> layoutSliderSize
2019-10-22 21:26:55 +03:00
Nelsson Huotari
16ba32ffd5
assignments to member initialization list
2019-10-22 21:26:55 +03:00
Nelsson Huotari
8acfa2600f
Terrain shape editing related fixes
2019-10-22 21:26:55 +03:00
Nelsson Huotari
4f9ec24e41
use enum for brushshape at scenetoolshapebrush
2019-10-22 21:26:55 +03:00
Nelsson Huotari
3599e804e1
Fix the default value of mBrushSize
2019-10-22 21:26:55 +03:00
Nelsson Huotari
1046d57190
Remove unneeded forward declarations.
2019-10-22 21:26:55 +03:00
Nelsson Huotari
60c0a25004
Fix smooth tool and flatten tool. Default tool strength to 8.
2019-10-22 21:25:10 +03:00
Nelsson Huotari
16138fc896
Transient land shape editing
2019-10-22 21:25:10 +03:00
Nelsson Huotari
78f2a5181d
Default brush size to 1
2019-10-10 14:27:22 +03:00
Nelsson Huotari
fbb9800e89
Better terrain texture ID handling
2019-10-10 14:27:22 +03:00
Nelsson Huotari
301c05662b
assignment to memb. init. list, publics to private, virtual -> final
2019-10-10 14:27:22 +03:00
Capostrophic
e47f1ef3e3
Fix some color picker regressions
...
Don't assign invalid color returned when the color picker is closed by Cancel as the new color
Restore "picking finished" signal to make value saving work again
2019-02-05 18:02:47 +03:00
mp3butcher
9de6c630f2
fix moc achieving to reach unparsable boost code
2018-12-01 21:27:43 +01:00
Andrei Kortunov
e06f0b797a
Replace all NULLs to nullptr
2018-10-09 10:21:12 +04:00
Thunderforge
5a2e9868c1
Fixes #3681
...
This changes the way that the popup works to use [`QtColorDialog::getColor()`](http://doc.qt.io/archives/qt-4.8/qcolordialog.html#getColor ) instead of the problematic open() function. Also makes the button change to create the modal dialog when pushed, rather than being a checkbox of sorts
2018-08-21 22:13:05 -05:00
Marc Zinnschlag
bbc337a0af
code cleanup
2018-05-26 12:16:02 +02:00
Marc Zinnschlag
e76df5f4d3
minor tooltip fixes
2018-05-26 11:53:08 +02:00
Nelsson Huotari
825c331764
Remove texture filtering, better ltex importing, reindexing duplicates
2018-05-22 14:55:09 +03:00
Nelsson Huotari
8ae46519cf
Fix missed worldspacehits, add linebreak to tooltip
2018-05-20 21:58:40 +03:00
Nelsson Huotari
21e8d08e69
Handle invalid texture id's
2018-05-20 21:20:40 +03:00
Nelsson Huotari
c2cddc91e4
Brush maximum size to a custom setting
2018-05-18 11:32:42 +03:00
Nelsson Huotari
758ccac75a
Show texture id + filename
2018-05-16 11:34:58 +03:00
Nelsson Huotari
49ae5bc75c
List initialization -> initialization in constructor
2018-05-10 22:57:48 +03:00
Nelsson Huotari
1c79d5311c
Brush history menu
2018-05-10 21:58:36 +03:00
Nelsson Huotari
d2cf764a46
Tooltips, fixes
2018-05-10 15:01:53 +03:00
Nelsson Huotari
62066f01bd
clean-up
2018-05-10 11:18:54 +03:00
Nelsson Huotari
d33c98c68d
Revert unintended changes
2018-05-10 11:18:54 +03:00
Nelsson Huotari
5656745445
Select dragged texture-assets, add brush settings widget-type, fixes.
2018-05-10 11:18:54 +03:00
Nelsson Huotari
7139889566
Brush button window opens at modebutton, slider 1-50, doxygen comments
2018-05-10 11:18:54 +03:00
Nelsson Huotari
4ae75d1d20
Terrain texture brush frame
2018-05-10 11:18:54 +03:00
Rob Cutmore
3f2cd9b669
Editor: Do color to int conversion in ColorEditor
2017-07-26 19:56:54 -04:00
Rob Cutmore
c7241c692f
Editor: Do int to color conversion in ColorEditor
2017-07-26 19:43:37 -04:00
Aesylwinn
2f97d6cffb
Move tool tip processing to ShortcutManager,
...
Process cell arrow tooltip,
Fix cell arrows not being added when cell is added
2016-07-29 16:02:46 -04:00
Aesylwinn
3edc77a32b
Remove QShortcut usage,
...
Add a lot of shortcuts,
Remove debug messages
2016-07-27 00:24:16 -04:00
Aesylwinn
051aec2729
Added methods to keep text mentioning shortcuts up to date,
...
fixed potential issue with widget relationship tracking,
hopefully got rid of signed/unsigned errors (Qt4/5 issue)
2016-07-25 20:49:09 -04:00
Marc Zinnschlag
b5005f7812
keep sub mode over mode changes
2016-03-05 11:41:42 +01:00
Marc Zinnschlag
a19ac72215
render marker
2016-03-01 15:48:34 +01:00
Marc Zinnschlag
4a02563708
Merge branch 'master' into buttons
...
Conflicts:
apps/opencs/view/render/instancemode.cpp
2016-01-19 13:59:24 +01:00
Marc Zinnschlag
ecbcd6b171
allow mode buttons to setup the context menu
2016-01-19 12:52:30 +01:00
Marc Zinnschlag
eee972a1a4
added scene tool mode context menu feature
2016-01-19 12:47:11 +01:00
scrawl
18320b2cd0
Move the Button enum to WorldSpaceWidget
2016-01-15 15:49:10 +01:00