You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First thanks for the awesome lib! I'm trying it out for the first time and I did manage to do something already by searching through the examples so that's great.
So far I have managed to create a Tab and some checkboxes, and it all works fine.
Instead of output some build info only when the state is changed, I'd like to display the high level info next to the checkbox (or make a Table I could select Rows on). I'd like to display something like this, but I'm struggling to make it work.
Build_dir
build_type
branch
elapsed_time
SHA
EnergyPlus-build
Debug
9432_ConvectionCoefficient_Perimeter
01:47
63374d4c4e
EnergyPlus-build
Debug
9191-pure-loads-calc
18:44
d98628b5f16
EnergyPlus-build-release
Release
9432_ConvectionCoefficient_Perimeter
2 days
63374d4c4e
EnergyPlus-build-release
Release
9191-pure-loads-calc
3 days
d98628b5f16
EnergyPlus-build-release-develop
Release
develop
2 days
f012700f3d0
EnergyPlus-build2
Debug
develop
9 days
0c9b8c4944b
I think my main issue is that I still don't really get the Element/Component/Container relationship. I can't seem to be able to put some text intside a Container::Horizontal because text is an Element, and the container wants a Component.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Bonjour Arthur,
First thanks for the awesome lib! I'm trying it out for the first time and I did manage to do something already by searching through the examples so that's great.
I'm making a little utility for myself that I intend to use to select some build folders that are outdated. I have built the backend that will produce a struct with all info I need for each build folder (eg: elapsed_time (time since last build), build type (Release/Debug), branch name, git sha etc). The struct can be found here: https://github.com/jmarrec/build-dir-status/blob/1614a982abd60d517a56adbe206296ccc02693cf/src/BuildDirectoryInfo.hpp#L12-L29
So far I have managed to create a Tab and some checkboxes, and it all works fine.
Instead of output some build info only when the state is changed, I'd like to display the high level info next to the checkbox (or make a Table I could select Rows on). I'd like to display something like this, but I'm struggling to make it work.
I think my main issue is that I still don't really get the Element/Component/Container relationship. I can't seem to be able to put some
text
intside aContainer::Horizontal
becausetext
is an Element, and the container wants aComponent
.My main is here: https://github.com/jmarrec/build-dir-status/blob/1614a982abd60d517a56adbe206296ccc02693cf/src/main.cpp#L85-L109
Any help / pointers would be very much appreciated!
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions