Commit Graph

28 Commits

Author SHA1 Message Date
Lioncash 8b4a096b50 Editor/CMakeLists: Add QT_NO_CAST_FROM_BYTEARRAY
Disables implicit conversions from QByteArray, instead requiring such
conversions to be explicit.
2019-08-25 23:06:55 -04:00
Lioncash f269b66f85 Editor/CMakeLists: Add QT_NO_PROCESS_COMBINED_ARGUMENT_START
Disables an error-prone start() overload for QProcess. This prevents
cases where arguments to a process may be split unintentionally.
2019-08-25 22:59:47 -04:00
Lioncash 694ecdd9c3 Editor/CMakeLists: Add QT_NO_URL_CAST_FROM_STRING
Prevents implicit conversion from QString to QUrl in order to avoid
potentially incorrect conversions from being performed. This makes all
such conversions explicit.
2019-08-25 22:56:50 -04:00
Lioncash e3dc475d7d Editor/CMakeLists: Add QT_NO_NARROWING_CONVERSIONS_IN_CONNECT
Requires narrowing conversions to be made explicitly.
2019-08-25 22:54:20 -04:00
Lioncash da54ade80b Editor/CMakeLists: Add QT_NO_CAST_FROM/TO_ASCII
Prevents implicit conversions to QString, requiring the conversions to
be made explicitly. Prevents potentially incompatible encodings from
being intermixed with one another.
2019-08-25 22:53:16 -04:00
Lioncash 658c33eb0d Editor/CMakeLists: Add QT_USE_QSTRINGBUILDER definition 2019-08-25 21:37:48 -04:00
Lioncash 56a7d842b5 CMakeLists: Set CMAKE_AUTORCC
Allows the build system to automatically handle qrc resource files
automatically without having to do all the manual book keeping.
2019-08-25 18:55:00 -04:00
Lioncash f452516f12 CMakeLists: Set CMAKE_AUTOUIC
Allows the build system to automatically handle invoking uic for UI
files. This is beneficial since CMake will cache runs of uic, avoiding
running it again if its not necessary (no modifications were made to the
file, etc). This also means we don't need to keep track of all the UI
files explicitly in the CMake file.
2019-08-25 18:33:41 -04:00
Lioncash f140972920 CMakeLists: Set CMAKE_AUTOMOC
This allows the build system to automatically invoke moc for us when
building the GUI. Now we don't need to manually keep track of which
files need to be wrapped, simplifying the CMake file a little bit more.
2019-08-25 18:33:41 -04:00
Lioncash 07b4f02d1d CMakeLists: Migrate off separate variables for source files where applicable
We can append the sources to the target with target_sources() instead.
2019-08-25 18:33:41 -04:00
Lioncash 771abb3390 CMakeLists: Organize GUI source listings
Alphabetizes and sorts the entries for linear readability.
2019-08-25 18:33:37 -04:00
Lioncash a016b72ea6 CMakeLists: Migrate Qt checking over to using components
Qt has since made their library usable with the components system within
CMake, so we can just use that to simplify the library finding and linking.
2019-08-25 05:02:32 -04:00
Jack Andersen 2a3444400e Better CMake dependency handling 2019-06-11 16:02:52 -10:00
Jack Andersen 7719459ac7 Switch to lzokay library 2018-12-19 17:45:26 -10:00
Jack Andersen 303877655f Fixes for Windows 2018-08-19 10:05:39 -10:00
Jack Andersen fec074ad30 Studio setup window and volume LUT 2018-08-15 20:26:44 -10:00
Jack Andersen 5e89954094 More undo commands and pitch/mod coding fix 2018-08-13 22:36:02 -10:00
Jack Andersen d24e06f101 All editors implemented 2018-08-09 20:19:23 -10:00
Jack Andersen 2abed18784 Finish CurveEditor implementation 2018-08-04 12:05:01 -10:00
Jack Andersen c2a242022a Use manual Qt macros in CMake 2018-08-03 16:31:47 -10:00
Jack Andersen f5984141fd Implement amuse playback 2018-07-27 18:34:29 -10:00
Jack Andersen ca81c07600 Add translation infrastructure 2018-07-24 20:01:01 -10:00
Jack Andersen f50ee6e8f1 More work on Amuse Editor 2018-07-17 21:39:26 -10:00
Jack Andersen 3f265cdb46 Initial ProjectModel implementation 2018-07-16 18:48:38 -10:00
Jack Andersen 4c884d019d Lots of foundational work for Amuse editor 2018-07-13 20:06:33 -10:00
Jack Andersen cdc720b8a7 Work on amuse GUI, use C++ linking for audio decoders 2018-07-09 11:05:31 -07:00
Jack Andersen 912eb7950c Add amuse-gui .rc in CMake 2018-03-23 11:54:52 -10:00
Jack Andersen f5a0a46453 Stub editor application 2018-03-14 14:25:29 -10:00