Commit Graph

1067 Commits

Author SHA1 Message Date
Lioncash d8c865e438 CResourceMimeData: Make use of std::move 2020-07-10 11:53:59 -04:00
Lioncash c7fff2816e CResourceTableModel: Make use of push_back 2020-07-10 11:48:09 -04:00
Lioncash a904cf97ff CResourceTableModel: Unindent some code 2020-07-10 11:46:32 -04:00
Lioncash 5a7d03a5cf CRotateNodeCommand: Convert operator<< into push_back() 2020-07-10 11:40:42 -04:00
Lioncash 6e0169ca16 CRotateNodeCommand: Default destructor 2020-07-10 11:39:37 -04:00
Lioncash 4d932246ca CSceneViewport: Mark IsHoveringGizmo() as const
This doesn't modify internal member state.
2020-07-10 11:36:37 -04:00
Lioncash 2263af8d2f CTemplateEditDialog: Make use of ranged for where applicable 2020-07-10 11:31:35 -04:00
Lioncash 412b29b6f1 CTemplateEditDialog: Make use of push_back over <<
Same behavior, more immediately readable.
2020-07-10 11:29:31 -04:00
Lioncash b2e8c18298 CStringListModel: Make use of QVector initializer list 2020-07-10 11:27:58 -04:00
Lioncash 942e707626 CStringEditor: Make use of QSignalBlocker 2020-07-10 11:25:10 -04:00
Lioncash a5d9f41559 CStringEditor: Unindent some code 2020-07-10 11:22:34 -04:00
Lioncash 0b33933a16 CTweakEditor: Make use of QSignalBlocker 2020-07-10 11:14:30 -04:00
Lioncash 63678a558b CTweakEditor: Unindent some code 2020-07-10 11:08:49 -04:00
Lioncash a65af0dd22 CVirtualDirectoryTreeView: Make use of QSignalBlocker()
Same behavior, but automatically releases blocked signals.
2020-07-10 10:57:23 -04:00
Lioncash fc4c0a6c58 CSceneViewport: Mark HoverPoint() as const
This doesn't modify internal member state.
2020-07-05 10:40:30 -04:00
Lioncash 602c0cf1e3 CVirtualDirectoryModel: Mark GetIndexForDirectory as const
This function doesn't modify instance state.
2020-07-05 10:37:11 -04:00
Lioncash 05df1fcf89 CVirtualDirectory: Make use of size_t where applicable 2020-07-05 10:31:43 -04:00
Lioncash a8e51f86d7 CVirtualDirectory: Add const getters
Allows data retrieval even with const variants of virtual directories.
2020-07-05 10:22:55 -04:00
Lioncash 97fa0c7f2d CVirtualDirectoryModel: Return std::optional from GetProposedIndex()
Same behavior, minus out parameters.
2020-07-05 10:19:52 -04:00
Lioncash dcfb34ca1c CVirtualDirectoryModel: Eliminate string copies where applicable 2020-07-05 10:13:34 -04:00
Lioncash fdcb0b770c CTweakEditor: Make use of STL equivalents over << where applicable
More recognizable with regards to behavior being performed.

While we're at it, we can preallocate the backing asset QVector ahead of
time.
2020-07-05 10:03:52 -04:00
Lioncash d235fd4b17 CGizmo: Remove <iostream>
Same behavior, minus an injected static constructor.
2020-07-04 13:16:38 -04:00
Lioncash 872fe90a41 CPoiMapSidebar: Make use of ranged for 2020-07-03 23:17:37 -04:00
Lioncash d8817d8cb2 CModelEditorWindow: Mark a missed string as translatable 2020-07-03 22:59:02 -04:00
Lioncash 55e93e6111 CInstancesModel: Tidy up appending to lists 2020-07-03 22:57:46 -04:00
Lioncash 2d21d6af01 CGizmo: Mark NumSelectedAxes() as const
This doesn't modify internal member state.
2020-07-03 22:51:34 -04:00
Lioncash 54f90b3b8f CGeneratePropertyNamesDialog: Eliminate variable shadowing, etc 2020-07-03 22:44:26 -04:00
Lioncash dbd2912ee5 CExportGameDialog: Mark search string as constexpr 2020-07-03 22:30:21 -04:00
Lioncash 1f1d48fc40 CExportGameDialog: Remove unused prototype 2020-07-03 22:29:11 -04:00
Lioncash 6e8b7f4053 CEditorApplication: Mark string as translatable 2020-07-03 22:20:52 -04:00
Lioncash c8db5e2581 CCloneSelectionCommand: Make use of STL named functions 2020-07-03 22:13:33 -04:00
Lioncash a6f224b346 CChangeLayerCommand: Make use of STL named functions 2020-07-03 22:11:13 -04:00
Lioncash f60d826be2 CDeleteSelectionCommand: Make use of ranged for where applicable 2020-07-03 22:09:37 -04:00
Lioncash a03f76e545 CDeleteLinksCommand: Make use of ranged for where applicable 2020-07-03 21:31:57 -04:00
Lioncash 1ac105f859 UICommon: Prevent unnecessary string copies in OpenContainingFolder 2020-07-03 12:59:53 -04:00
Lioncash cacbdd9fc8 CTemplateListView: Make use of override 2020-07-03 12:57:24 -04:00
Lioncash deeb0d4a23 CLinkDialog: Make use of override 2020-07-03 12:54:29 -04:00
Lioncash e4ebeb8b91 CLayerEditor: Make use of override 2020-07-03 12:54:08 -04:00
Lioncash e86c396a6d CInstancesProxyModel: Make use of override 2020-07-03 12:53:41 -04:00
Lioncash c3b724a94b CCollisionRenderSettingsDialog: Make use of override 2020-07-03 12:52:55 -04:00
Lioncash e436e9dc7b CSoftValidatorLineEdit: Make use of override 2020-07-03 12:52:33 -04:00
Lioncash 4c7c422bad CFilteredResourceModel: Make use of override 2020-07-03 12:51:39 -04:00
Lioncash e8e5088001 CCheckableTreeWidgetItem: Make use of override 2020-07-03 12:49:57 -04:00
Lioncash 2d9406a287 TSerializeUndoCommand: Make use of override 2020-07-03 12:48:38 -04:00
Lioncash 24a69164f7 ICreateDeleteResourceCommand: Make use of override 2020-07-03 12:48:01 -04:00
Lioncash a8305d48b0 ICreateDeleteDirectoryCommand: Make use of override 2020-07-03 12:46:17 -04:00
Lioncash abfd035050 CSelectNodeCommand: Make use of override 2020-07-03 12:45:42 -04:00
Lioncash 77d3403419 CSelectAllCommand: Make use of override 2020-07-03 12:45:19 -04:00
Lioncash 220f261543 CSaveStoreCommand: Make use of override 2020-07-03 12:44:53 -04:00
Lioncash 2d980c57b3 CResizeScriptArrayCommand: Make use of override 2020-07-03 12:43:48 -04:00
Lioncash 3ad094f1e7 CMoveRenameResourceCommand: Make use of override 2020-07-03 12:42:54 -04:00
Lioncash d86df42867 CMoveRenameDirectoryCommand: Make use of override 2020-07-03 12:42:26 -04:00
Lioncash 992fe3dbfe CMoveResourceCommand: Make use of override 2020-07-03 12:41:56 -04:00
Lioncash 616cc3cc1d CMoveDirectoryCommand: Make use of override 2020-07-03 12:39:23 -04:00
Lioncash 70795c45d1 CInvertSelectionCommand: Make use of override 2020-07-03 12:38:49 -04:00
Lioncash 3b3770d18c CEditScriptPropertyCommand: Make use of override 2020-07-03 12:38:17 -04:00
Lioncash 921acf1d85 CEditIntrinsicPropertyCommand: Make use of override 2020-07-03 12:37:46 -04:00
Lioncash abdd9a75b9 CDeselectNodeCommand: Make use of override 2020-07-03 12:37:14 -04:00
Lioncash 169b405678 CClearSelectionCommand: Make use of override 2020-07-03 12:36:33 -04:00
Lioncash f09f04cfe0 CStringMimeData: Make use of override 2020-07-03 12:35:53 -04:00
Lioncash 1463974b1e CResourceProxyModel: Make use of override 2020-07-03 12:35:08 -04:00
Lioncash 9e976606ff CResourceBrowser: Make use of override 2020-07-03 12:33:19 -04:00
Lioncash dd91aded21 CResourceDelegate: Make use of override 2020-07-03 12:32:36 -04:00
Lioncash eb76ac9039 CResourceBrowser: Take search string by const reference
Same thing, less copies.
2020-07-03 11:01:21 -04:00
Lioncash 48b292ecee CResourceBrowser: Make use of ranged for 2020-07-03 11:00:34 -04:00
Lioncash c24b9ddb8f CPropertyView: Initialize all member variables 2020-07-03 10:54:15 -04:00
Lioncash 09058c5bfc CPropertyView: Resolve sign conversion warnings 2020-07-03 10:53:00 -04:00
Lioncash 9ddb7cc94f CPropertyNameValidator: Initialize all member variables
Provides a consistent initial state.
2020-07-03 10:44:44 -04:00
Lioncash a29e5dad74 CPropertyModel: Resolve sign conversion warnings 2020-07-03 10:44:23 -04:00
Lioncash 701120725e CLayerModel: Resolve sign conversion warning 2020-07-03 10:06:37 -04:00
Lioncash c36f5e2e2b CWorldEditor: Use default empty string QString 2020-07-03 08:59:54 -04:00
Lioncash 85556b28e2 CScanEditor: Make window title translatable 2020-07-03 08:48:48 -04:00
Lioncash 53ab3f4862 CTweakEditor: Make window title translatable 2020-07-03 08:48:17 -04:00
Lioncash 0b74006bd6 CModelEditorWindow: Make window title translatable 2020-07-03 08:47:13 -04:00
Lioncash 991f5de359 CCollisionEditor: Make window title translatable 2020-07-03 08:45:23 -04:00
Lioncash 0fd2a55e3b CCharacterEditor/CStringEditor: Make window titles translatable 2020-07-03 08:44:05 -04:00
Lioncash fa7b6a1bfe CCharacterEditor: Collapse QList construction into one line 2020-07-03 08:40:58 -04:00
Lioncash a419e6cdab CStringEditor: Mark title as a string literal 2020-07-03 08:38:42 -04:00
Lioncash f5b5c8ddc5 CStringEditor: Collapse QList construction into one line 2020-07-03 08:38:12 -04:00
Lioncash 9c9e5975b2 TestDialog: Make use of Qt 5 signals and slots 2020-07-03 08:32:42 -04:00
Lioncash 8f56333249 CPropertyDelegate: Make use of Qt 5 signals and slots 2020-07-03 08:29:25 -04:00
Lioncash f798517416 WInstancesTab: Make use of Qt 5 signals and slots 2020-07-03 08:19:18 -04:00
Lioncash a72c338585 WEditorProperties: Make use of Qt 5 signals and slots 2020-07-03 08:12:53 -04:00
Lioncash 981d74e820 WCreateTab: Make use of Qt 5 signals and slots 2020-07-03 08:08:08 -04:00
Lioncash e083526aee CEditorApplication: Make use of Qt 5 signals and slots 2020-07-03 08:05:47 -04:00
Lioncash 16ef9988d7 WVectorEditor: Make use of Qt 5 signals and slots 2020-07-03 08:04:48 -04:00
Lioncash 54a85f2fba WModifyTab: Make use of Qt 5 signals and slots 2020-07-03 08:00:50 -04:00
Lioncash 2d811bfe94 CPoiMapSidebar: Make use of Qt 5 signals and slots 2020-07-03 07:51:01 -04:00
Lioncash 9c4c387696 CPoiListDialog: Make use of Qt 5 signals and slots 2020-07-03 07:45:04 -04:00
Lioncash 8f0a3669d4 CLinkDialog: Make use of Qt 5 signals and slots 2020-07-03 07:41:07 -04:00
Lioncash 993f018bd1 CConfirmUnlinkDialog: Make use of Qt 5 signals and slots 2020-07-03 07:36:09 -04:00
Lioncash 9d8243d80b WColorPicker: Make use of Qt 5 signals and slots 2020-07-03 07:33:22 -04:00
Lioncash d05d767d66 CTimedLineEdit: Make use of Qt 5 signals and slots 2020-07-03 07:32:13 -04:00
Lioncash 57e1b272e9 CSoftValidatorLineEdit: Make use of Qt 5 signals and slots 2020-07-03 07:12:41 -04:00
Lioncash 9fac1a8b00 CTemplateEditDialog: Make use of Qt 5 signals and slots 2020-07-03 07:07:59 -04:00
Lioncash c7fbfb70e5 CQuickplayRelay: Make use of Qt 5 signals and slots 2020-07-03 07:06:58 -04:00
Lioncash 1be07ca571 INodeEditor: Make use of Qt 5 signals and slots 2020-07-03 07:05:23 -04:00
Lioncash bc09727429 IEditor: Make use of Qt 5 signals and slots 2020-07-03 07:02:15 -04:00
Lioncash 694f4ce03b CProgressDialog: Make use of Qt 5 signals and slots 2020-07-03 07:00:50 -04:00
Lioncash e7d5cacd0f CGeneratePropertyNamesDialog: Make use of Qt 5 signals and slots 2020-07-03 06:59:52 -04:00