-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Node Widget #15
Labels
Comments
How about:
Note that the lists can change during simulation (like adding/removing netdevices) so we may need to handle those types of events by creating protocol handlers and net device listeners. |
This was referenced Nov 2, 2020
bpe2
added a commit
that referenced
this issue
Jul 7, 2022
bpe2
added a commit
that referenced
this issue
Aug 8, 2022
…d dynamic updating, track expanded items See: #15
bpe2
added a commit
that referenced
this issue
Aug 8, 2022
bpe2
added a commit
that referenced
this issue
Aug 8, 2022
bpe2
added a commit
that referenced
this issue
Aug 8, 2022
bpe2
added a commit
that referenced
this issue
Aug 10, 2022
bpe2
added a commit
that referenced
this issue
Aug 10, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Seeing a Node in the 3D scene is nice, and there are some properties we can keep track of by changing things like the color of the model, but ns-3 supplies a lot of data that is much easier to comprehend in a text format, so add a widget that displays details about a given Node at the current time.
Widget Items
This widget should be able to display basic data about the Node, already known to the application (like location, name, and base/highlight color), as well as some new data (like IP addresses).
For now, at least, We'll keep this information read only, but we may allow for changes to visual elements (like Name and Base/Highlight color) later
Here's a list of some properties to show on the widget, their types, and where they came from:
Name
unsigned int
] (ns-3)string
] (NetSimulyzer)Color
Position
double
] (ns-3)double
]double
] (NetSimulyzer)Size
double
] (NetSimulyzer)double
] (NetSimulyzer)double
] (NetSimulyzer)double
] (NetSimulyzer)double
] (NetSimulyzer)Network
string
] (ns-3)string
] (ns-3)If there's anything interesting that NetAnim uses, that would be good too
Here's a screenshot of NetAnim's node info
Resources
https://doc.qt.io/qt-5/modelview.html
https://doc.qt.io/qt-5/qtwidgets-itemviews-simpletreemodel-example.html
The text was updated successfully, but these errors were encountered: