Commit Graph

1050 Commits

Author SHA1 Message Date
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
Lioncash 9401275564 CExportGameDialog: Make use of Qt 5 signals and slots 2020-07-03 06:58:25 -04:00
Lioncash d779a1cdfa CEditorApplication: Make use of Qt 5 signals and slots 2020-07-03 06:57:07 -04:00
Lioncash 66a6ff3e86 CWorldInfoSidebar: Make use of Qt 5 signals and slots 2020-07-03 06:51:41 -04:00
Lioncash 9c8749d5b0 CWorldTreeModel: Tidy up warnings 2020-07-03 06:45:36 -04:00
Lioncash 32041a843d CWorldTreeModel: Make static icon instances const
Prevents modifications from occurring.
2020-07-03 06:31:05 -04:00
Lioncash 8634d9b29e CWorldTreeModel: Make use of Qt 5 signals and slots 2020-06-29 05:14:31 -04:00
Lioncash b31f9c9347 CVirtualDirectoryTreeView: Make use of Qt 5 signals and slots 2020-06-29 05:12:50 -04:00
Lioncash d6309a54d3 CVirtualDirectoryModel: Make use of Qt 5 signals and slots 2020-06-29 05:11:07 -04:00
Lioncash 781bbaef0e CTweakEditor: Make use of Qt 5 signals and slots 2020-06-29 04:58:58 -04:00
Lioncash e6cb5c3462 CTemplateEditDialog: Make use of Qt 5 signals and slots 2020-06-29 04:57:19 -04:00
Lioncash df8b0543ba CStringEditor: Make use of Qt 5 signals and slots 2020-06-29 04:51:55 -04:00
Lioncash 8df5ec051d CSelectResourcePanel: Make use of Qt 5 signals and slots 2020-06-29 04:43:15 -04:00
Lioncash f28e4d4914 CSelectInstanceDialog: Make use of Qt 5 signals and slots 2020-06-29 04:40:58 -04:00
Lioncash a0805c4584 CSceneViewport: Make use of Qt 5 signals and slots 2020-06-29 02:53:40 -04:00
Lioncash 3118996cfa CScanEditor: Make use of Qt 5 signals and slots 2020-06-29 02:48:19 -04:00
Lioncash 8f9da5c5ed CResourceTableView: Make use of Qt 5 signals and slots 2020-06-29 02:47:00 -04:00
Lioncash 52c284c9d5 CResourceTableModel: Make use of Qt 5 signals and slots 2020-06-29 02:46:07 -04:00