Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
8f86095
Multiplot container widget class
Scarcity23 Mar 30, 2026
8d3166f
add resize event implementation to fix compile errors, and add aterna…
Scarcity23 Mar 30, 2026
8331559
Added getFunction to Container & MultiPlot
Scarcity23 Mar 30, 2026
c71d569
Virtual Add series and minor big fix in SetupMultiPlot
Scarcity23 Apr 1, 2026
65fee15
Merge branch 'main' of https://github.com/team-gets/gui into three_plots
Scarcity23 Apr 1, 2026
7071c2f
Expose Qt6::Widgets link
jc-luna Apr 1, 2026
4e2d8c4
Margin spacing on 2dPlots + Time range changes when points added
Scarcity23 Apr 1, 2026
fb76cf8
Merge branch 'main' of https://github.com/team-gets/gui into three_plots
Scarcity23 Apr 1, 2026
61d40c9
Remove container sources
jc-luna Apr 1, 2026
baedc70
Remove refs to PlotContainer
jc-luna Apr 1, 2026
c89c441
Solve multiple inheritance in plots
jc-luna Apr 1, 2026
814963c
Merge branch 'three_plots' of github.com:team-gets/gui into flatten-p…
jc-luna Apr 2, 2026
5982689
Some more cleanup post-merge
jc-luna Apr 2, 2026
dc1a3c5
Remove GR dependency and target
jc-luna Apr 2, 2026
8478dd9
Remove GR integration Sources
jc-luna Apr 2, 2026
524c8e3
Fix accidentally removed Status Column initter
jc-luna Apr 2, 2026
de5856b
Ensure properly scaling by enforcing a hierarchy in derived plot back…
jc-luna Apr 2, 2026
1fa485a
Get rid of vcpkg dependencies for GR
jc-luna Apr 2, 2026
a3ed356
Might as well init all private members in the initializer list
jc-luna Apr 2, 2026
a52a475
Remove vcpkg
jc-luna Apr 2, 2026
2fd4cc7
Remove vcpkg submodule
jc-luna Apr 2, 2026
f003d30
Merge pull request #45 from team-gets/flatten-plotting
Scarcity23 Apr 2, 2026
9a8ddb2
Added Red/Yellow Armed/Disarmed button function
Scarcity23 Apr 2, 2026
b3d11af
180 Major spacing
Scarcity23 Apr 2, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 0 additions & 35 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,24 +42,6 @@ jobs:
sudo apt install cmake -y
echo Installing automake...
sudo apt install autoconf autoconf-archive automake libtool
echo Installing mono...
sudo apt install mono-complete
- uses: lukka/run-vcpkg@v11
with:
vcpkgDirectory: "${{ github.workspace }}/lib/vcpkg"
vcpkgJsonGlob: "**/vcpkg.json"
- name: "Setup NuGet Credentials"
run: |
mono `vcpkg fetch nuget | tail -n 1` \
sources add \
-source "https://nuget.pkg.github.com/team-gets/index.json" \
-storepasswordincleartext \
-name "GitHub" \
-username "team-gets" \
-password "${{ secrets.GITHUB_TOKEN }}"
mono `vcpkg fetch nuget | tail -n 1` \
setapikey "${{ secrets.GITHUB_TOKEN }}" \
-source "https://nuget.pkg.github.com/team-gets/index.json"
- name: Prepare CMake
run: |
cmake -S . -B build --preset=linux-gcc
Expand All @@ -81,23 +63,6 @@ jobs:
target: "desktop"
arch: "win64_msvc2022_64"
modules: "qtcharts"
- uses: lukka/run-vcpkg@v11
with:
vcpkgDirectory: "${{ github.workspace }}/lib/vcpkg"
vcpkgJsonGlob: "**/vcpkg.json"
- name: "Setup NuGet Credentials"
shell: "bash"
run: |
`./lib/vcpkg/vcpkg fetch nuget | tail -n 1` \
sources add \
-source "https://nuget.pkg.github.com/team-gets/index.json" \
-storepasswordincleartext \
-name "GitHub" \
-username "team-gets" \
-password "${{ secrets.GITHUB_TOKEN }}"
`./lib/vcpkg/vcpkg fetch nuget | tail -n 1` \
setapikey "${{ secrets.GITHUB_TOKEN }}" \
-source "https://nuget.pkg.github.com/team-gets/index.json"
- uses: ilammy/msvc-dev-cmd@v1.13.0
- name: Prepare CMake
run: |
Expand Down
6 changes: 0 additions & 6 deletions .gitmodules

This file was deleted.

30 changes: 2 additions & 28 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
cmake_minimum_required(VERSION 3.30...4.0)
set(CMAKE_TOOLCHAIN_FILE "${CMAKE_SOURCE_DIR}/lib/vcpkg/scripts/buildsystems/vcpkg.cmake"
CACHE STRING "Vcpkg toolchain file" FORCE)

project(rig_gui
LANGUAGES CXX C
Expand All @@ -25,38 +23,14 @@ qt_standard_project_setup(REQUIRES 6.10)
#target_compile_warn_all(guidev)
#
#target_link_libraries(guidev PRIVATE ${STD_APP_QT6_DEPS})
#
## Ideally you would quickly iter on QML designs by using the dev gui app
#qt_add_qml_module(qml.a_circle
# URI qml.a_circle
# OUTPUT_DIRECTORY "qml/a_circle"
# QML_FILES
# "qml/circle.qml"
#)

# Plotting Interface
add_library(plotting_iface SHARED ${PLOTTING_SOURCES})
target_link_libraries(plotting_iface PRIVATE Qt6::Core Qt6::Widgets)
target_link_libraries(plotting_iface PUBLIC Qt6::Core Qt6::Widgets)
target_include_directories(plotting_iface PUBLIC ${PLOTTING_SRC_DIR})
target_compile_definitions(plotting_iface PRIVATE COMPILING_PLOT_API_DLL)
target_compile_warn_all(plotting_iface)

find_package(PNG REQUIRED)
add_library(Libpng::Libpng ALIAS PNG::PNG) # Why does the vcpkg version not do this/why does GR do this
add_subdirectory_silence_warnings("${CMAKE_SOURCE_DIR}/lib/gr")

# GR Backend Compilation
add_library(gr_backend SHARED ${GR_BKND_SOURCES})
get_target_property(QT6GR_INCLUDES GR::GR INTERFACE_INCLUDE_DIRECTORIES)
target_include_directories(gr_backend PUBLIC
${QT6GR_INCLUDES} "${CMAKE_SOURCE_DIR}/src")

target_link_libraries(gr_backend PUBLIC plotting_iface)
target_link_libraries(gr_backend PUBLIC Qt6::Core Qt6::Widgets)
target_link_libraries(gr_backend PUBLIC GR::qt6gr qt6plugin)
target_compile_definitions(gr_backend PRIVATE COMPILING_GR_BACKEND_DLL)
target_compile_warn_all(gr_backend)

# QChart Backend Compilation
add_library(qchart_backend SHARED ${QCHART_BKND_SOURCES})
target_include_directories(qchart_backend PUBLIC "${CMAKE_SOURCE_DIR}/src")
Expand All @@ -76,4 +50,4 @@ target_include_directories(widgets_recreation PRIVATE ${STD_APP_INCLUDES})
target_compile_warn_all(widgets_recreation)

target_link_libraries(widgets_recreation PRIVATE ${STD_APP_QT6_DEPS})
target_link_libraries(widgets_recreation PRIVATE gr_backend qchart_backend)
target_link_libraries(widgets_recreation PRIVATE qchart_backend)
13 changes: 5 additions & 8 deletions cmake/cpp.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ set(APP_SOURCES

# sorry
set(OTHER_APP_SOURCES
"${CMAKE_SOURCE_DIR}/src/App/Recreation.cpp")
"${CMAKE_SOURCE_DIR}/src/App/testMultiplot.cpp")

set(WINDOWING_SOURCES
"${WINDOWING_SRC_DIR}/DevWindow.cpp"
Expand All @@ -27,19 +27,16 @@ set(DIAL_SOURCES
set(DISPLAYER_SOURCES
"${WIDGETS_SRC_DIR}/Displays/QuantitiesRatesDisplay.cpp"
"${WIDGETS_SRC_DIR}/Displays/QuantitiesRatesRow.cpp"
"${WIDGETS_SRC_DIR}/Displays/RateLabel.cpp")
"${WIDGETS_SRC_DIR}/Displays/RateLabel.cpp"
"${WIDGETS_SRC_DIR}/Displays/MultiPlotContainer.cpp")

set(WIDGET_SOURCES
${WINDOWING_SOURCES}
${DIAL_SOURCES}
${DISPLAYER_SOURCES})

set(PLOTTING_SOURCES
"${PLOTTING_SRC_DIR}/Plot2D.cpp"
"${PLOTTING_SRC_DIR}/Container.cpp")

set(GR_BKND_SOURCES
"${PLOTTING_SRC_DIR}/Backend/CoreGR.cpp")
"${PLOTTING_SRC_DIR}/Plot2D.cpp")

set(QCHART_BKND_SOURCES
"${PLOTTING_SRC_DIR}/Backend/CoreQChart.cpp")
Expand Down Expand Up @@ -75,4 +72,4 @@ function(add_subdirectory_silence_warnings IN_DIRECTORY)
add_subdirectory("${IN_DIRECTORY}" EXCLUDE_FROM_ALL)

set_directory_properties(PROPERTIES COMPILE_OPTIONS "${oldCompileOpts}")
endfunction(set_directory_compile_silence_warnings)
endfunction(add_subdirectory_silence_warnings IN_DIRECTORY)
1 change: 0 additions & 1 deletion lib/gr
Submodule gr deleted from 53ed71
1 change: 0 additions & 1 deletion lib/vcpkg
Submodule vcpkg deleted from 4bc3a4
14 changes: 14 additions & 0 deletions src/App/testMultiplot.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#include <QApplication>
#include <QWindow>
#include <QWidget>

#include "Windowing/WidgetsRecreation.hpp"

int main(int argc, char** argv) {
QApplication app(argc, argv);

VSCL::FromPpt::Widgets window;

window.show();
return app.exec();
}
13 changes: 0 additions & 13 deletions src/Plotting/Backend/APIGR.hpp

This file was deleted.

92 changes: 0 additions & 92 deletions src/Plotting/Backend/ColorGR.hpp

This file was deleted.

Loading
Loading