Garux
60e3e48dd0
Revert "fix build in ubuntu via using deprecated Qt function"
...
This reverts commit c618ce39af .
2024-02-04 09:53:31 +06:00
Garux
454660c3e8
adjust some too pruning QLayout::setContentsMargins
2024-01-30 02:56:56 +06:00
Garux
df02774ff5
tweak StringOutputStream use
...
auto str = StringOutputStream()(bla) use form was not doing copy elision or move, but copy
2024-01-29 16:54:08 +06:00
Garux
9a13f9ed55
simplify build code
2024-01-24 17:09:04 +06:00
Garux
38f0f660ec
entity smartedit.color key entry.change icon to one also making sense in linux
2024-01-14 07:44:32 +06:00
Garux
eba6783b89
update Entity Attributes scrollbar on deselection; Qt updates on widget addition, doesn't on chosen way of deletion
2023-09-19 20:18:46 +06:00
Garux
3eff56211d
in .def ent defs treat -, x & unused* spawnflags as dummy
...
#150
2023-09-19 17:04:09 +06:00
Garux
1c3300d4bb
be safe while doing copy to EntityClass::flagnames
2023-09-18 21:30:15 +06:00
Garux
ca3c035a54
Entity Inspector: support unknown entities added during runtime: clear entity comment, deselect entity class list
2023-08-22 17:47:08 +06:00
Garux
22f017283b
change browse file/directory icon from SP_FileDialogStart to semantically correct SP_DialogOpenButton
2023-08-21 15:41:07 +06:00
Garux
7396eef067
* fix QComboBox popup leaking shortcuts
2023-07-03 12:26:20 +06:00
Garux
2b3a34b299
improve performance of console, shader view
2023-05-18 19:09:19 +06:00
Garux
a99892751b
entity, surface inspectors: clear focus widget while showing to keep global shortcuts working
2023-02-02 19:39:39 +06:00
Garux
0ac6b342d8
sanitize Entity inspector key/value input
2023-01-10 00:15:08 +06:00
Garux
2ed868d254
manage conflicting hotkeys in QComboBox, QLineEdit, QSpinBox
2022-12-20 23:41:16 +06:00
Garux
f1672c42a3
EntityInspector::Key field::enter: in addition to jumping to Value field selectAll() it
2022-11-02 09:55:25 +03:00
Garux
c618ce39af
fix build in ubuntu via using deprecated Qt function
2022-10-27 09:51:52 +03:00
Garux
9d3d204018
Qt
2022-10-27 09:10:31 +03:00
Garux
0c390241c8
fix formatting
2021-10-26 18:16:24 +03:00
Garux
d812cbd4d4
replace ArrayRange by tcb::span (reproduction of std::span)
2021-10-24 08:32:10 +03:00
Garux
02a3b9c026
use ostream_write( CopiedString )
2021-09-18 15:30:11 +03:00
Garux
da98f5f9d9
add and use Entity::getClassName(), Entity::hasKeyValue()
...
do not return default value from getKeyValue()
2021-05-16 10:13:42 +03:00
Garux
72248bd95f
* add optional soundtypes keyword of .game config, affecting file types shown in sound browsing dialog
2021-05-07 16:30:52 +03:00
Garux
2222100316
indent classes, align by spaces
2021-03-24 00:25:15 +03:00
Garux
5b1b9b5e6c
fix xml entity key description with escaped characters reading
...
handle special symbols in smartedit key description tooltip
2021-03-21 05:44:28 +03:00
Garux
2944cff834
* entity inspector: select entities by key, value, key+value buttons
...
replaces and complements obscure behavior of SelectAllOfType with entity inspector shown
2020-08-19 08:23:04 +03:00
Garux
ded059f817
GTK_COMBO_BOX -> GTK_COMBO_BOX_TEXT
2020-05-22 01:15:54 +03:00
Garux
62603d25fb
don't check equality to gboolean FALSE and TRUE
2020-05-21 16:27:31 +03:00
Garux
70cf8c4bdd
gtk_widget_ref/gtk_widget_unref -> g_object_ref/g_object_unref
2020-05-21 16:27:28 +03:00
Garux
0140da6e72
only #include <gtk/gtk.h>
2020-05-21 16:27:17 +03:00
Garux
4f8e6e7ee5
fix the rest of errors with CFLAGS+="-DGSEAL_ENABLE" except accel_label->accel_string required hack
2020-05-21 16:27:14 +03:00
Garux
ff33df7d45
replace GTK_WIDGET_VISIBLE -> gtk_widget_get_visible()
2020-05-19 23:46:54 +03:00
Garux
112f66fb06
remove deprecated GTK_WIDGET_SET_FLAGS GTK_WIDGET_UNSET_FLAGS use
2020-05-19 22:08:00 +03:00
Garux
0831e0966d
Replace GDK_<keyname> with GDK_KEY_<keyname>
2020-05-19 21:15:11 +03:00
Garux
4b2f9d6080
* open/save dialogs: use current file path, name, focus it, if present
...
brushexport plugin: case insensitive extension check
2020-03-01 19:38:27 +03:00
wongit
df7d260538
fix for spawnflags toolstips now showing when bits are skipped
...
(undefined)
2020-02-21 22:03:20 +00:00
Garux
05d7db4e3e
don't append excess slash to g_qeglobals.m_userGamePath
2019-09-12 20:21:24 +03:00
Garux
1628abfd0f
calm down -Wdelete-non-virtual-dtor warnings
...
remove -Wno-non-virtual-dtor from makefile (what does it do anyway? -Wdelete-non-virtual-dtor is part of -Wall)
2019-02-26 19:08:47 +03:00
Garux
b7bfa11b55
* entity inspector::smartEdit: display real key names
...
* entity inspector::smartEdit: show tooltips with extended names and descriptions for keys and flags
2019-01-11 21:25:31 +03:00
Garux
fb53d5094a
some more sensible gui default sizes
2019-01-11 18:35:37 +03:00
Garux
c5f2279f4a
* render direction arrow for group entities, having angle/angles key set or having angle/angles/direction attribute in .ent
...
draw condition relies on entity.getKeyValue, which also provides default values; thus removed default "0" for all group entities in .def loader
mind to add entity.getOnlySpecifiedKeyValue func or perform by visitor?
2018-08-16 20:00:58 +03:00
Garux
b1e2f26124
use globalWarningStream()
2018-03-21 04:21:07 +03:00
Garux
565f7fc6db
* Entity Inspector->smartedit: enable array, target, targetname, skin attribute types
...
* Entity Inspector->smartedit: enable texture attribute type, add full shader path autocompletion
* fix lags, caused by texture entries autocompletion
2018-03-01 04:01:18 +03:00
Garux
286f784ecf
* Entity Inspector->smartedit->color chooser sets actual key, was always _color
2018-02-28 13:15:05 +03:00
Garux
5b226482b8
* Entity Inspector->smartedit angle(s), direction fields: add "set from camera view direction" button
2018-02-24 14:08:41 +03:00
Garux
eae7ac024a
clean namedentity, forward declarations, ostream_write
2018-02-22 18:56:53 +03:00
Garux
c22187907e
* entity inspector -> clear all: keep origin key
2018-02-03 09:03:59 +03:00
Garux
a28b531d84
Radiant:
...
misc...
* entity inspector, entity list->'autofocus on selection' buttons: also do FocusAllViews() on clicking them
* focus on preferences treeview on 2nd+ call to make text search to work
* fixed WindowPositionTracker globally: minus many particular hacks, plus correct wnds positioning in Floating viewports layout
* fixed ToggleShown functionality: shown/hidden wnds states are saved and loaded correctly in Floating viewports layout
* also save/load XY and Cam viewports visibility states
* new preferences->layout icons
* fix: stop chaseMouseMotion on mouse button release
2017-08-02 09:54:33 +03:00
Garux
0139fa9de6
Radiant:
...
binds...
* doubleClick/Enter in Entity inspector Class list = convert entities
* ctrl during creating brush = cube brush
misc...
* on worldspawn entity create/convert to one do most expected move-selected-primitives-to-worldspawn
* convert point entity to group one = placeholder brush at origin + remove origin key
* convert group entity to point one: set origin key to contained primitives center
* fix uniform rotation operations for eclassmodel, miscmodel entities
* scale miscmodel entities uniformly
* added func_detail to world and detail filters
* region->set_xy: using active projection, not just xy one; is subtractive (no region off before applying)
* new brush prefab: icosahedron
* refactored CSGTool, improved Hollow::diagonal algorithm stability
improved view_cubiclipping.png
2017-08-02 09:44:13 +03:00
Garux
7e36f12449
Radiant:
...
binds...
* Tab + mWheel in freelook: offset focus distance with dist2origin/8 step; exponentially, if moving far away
menus...
* Misc->Colors->Themes->Blender/Dark color theme
misc...
* surface inspector: renamed poorly named Axial button to Reset
* arbitrary brush texture projections in brush primitives map format: axial, from ortho view, from cam
* frame 2 frame time render stat
* renamed confusingly named command GroupSelection to RegroupSelection
* fix: changing clipper color via theme loading doesn't require restart
* fix: changing CameraSelectedBrushColor, SelectedBrushColor don't require restart
2017-08-02 09:42:08 +03:00