Commit graph

355 commits

Author SHA1 Message Date
Huy Pham
d34a58dff0 small edits on cel dialog 2019-12-12 11:04:55 -08:00
Huy Pham
71e6df76ce create layout for check emulation light dialog 2019-12-12 10:49:52 -08:00
Huy Pham
a7e1035f5a Merge branch 'coretk' into coretk-selectbox 2019-12-12 08:33:36 -08:00
Blake Harnden
0372e43cc5 Merge branch 'coretk' of https://github.com/coreemu/core into coretk 2019-12-11 16:22:01 -08:00
Blake Harnden
9c9ccdf04f some cleanup to layout for service configuration, updated titles for service config and node config dialogs 2019-12-11 16:21:37 -08:00
Huy Pham
80fb0e26b6 attempt to work on check engine light dialog 2019-12-11 16:16:59 -08:00
Huy Pham
489d28d2fd Merge branch 'coretk' into coretk-selectbox 2019-12-11 14:43:34 -08:00
Huy Pham
d6ae39089e select box in select mode, link to selected for wlan/emane nodes, send session data to damon before save xml 2019-12-11 14:42:00 -08:00
Blake Harnden
899eb51c55 added common padding for x, y, and frame paddings, to easily modify and provide consistent look and feel 2019-12-11 14:36:27 -08:00
Blake Harnden
69296d6ea9 pass on updating dialogs to have buttons float to bottom and start using common pad configuration 2019-12-11 14:09:50 -08:00
Blake Harnden
8585911900 updated theme and size for picker buttons, also added text for clarity 2019-12-11 11:42:05 -08:00
Huy Pham
fa1f344fd7 Merge branch 'coretk' into coretk-validation 2019-12-11 09:18:15 -08:00
Huy Pham
4cc83cf313 cel 2019-12-11 09:17:39 -08:00
Blake Harnden
e5430ab5e7 Merge branch 'coretk' of https://github.com/coreemu/core into coretk 2019-12-10 19:25:20 -08:00
Blake Harnden
737c14cc0f updated canvas wallpaper to scale with zoom level 2019-12-10 19:25:00 -08:00
Huy Pham
8bdc5c8e2e Merge branch 'coretk' into coretk-validation 2019-12-10 16:53:01 -08:00
Huy Pham
6a42748191 controlnet validation 2019-12-10 16:50:28 -08:00
Blake Harnden
0c61c6bffe updates to wallpaper drawing and redrawing on zoom 2019-12-10 16:31:01 -08:00
Blake Harnden
5dda7396ef Merge branch 'coretk' of https://github.com/coreemu/core into coretk 2019-12-10 14:34:14 -08:00
Blake Harnden
51163a30d3 updates to handling movement for nodes/shapes on canvas, added initial canvas zoom/panning, fixed some issues with mobility player event handling when dialog is closed 2019-12-10 14:33:52 -08:00
Huy Pham
c4a117a236 insert default value to some entry when entry is empty 2019-12-10 13:23:03 -08:00
Huy Pham
2292001e17 Merge branch 'coretk' into coretk-validation 2019-12-10 09:58:54 -08:00
Huy Pham
ada21997e9 add validation to canvassizescale, wlanconfig, nodename 2019-12-10 09:57:12 -08:00
Blake Harnden
21f0857e65 reset mobility player to default dialog size 2019-12-09 23:09:39 -08:00
Blake Harnden
d78ef86cef added grpc error display and updated grpc calls to catch and display grpc exceptions 2019-12-09 22:50:26 -08:00
Huy Pham
7039a3682e fix merge conflict 2019-12-09 16:37:52 -08:00
Huy Pham
542d632066 fix merge conflict 2019-12-09 16:37:24 -08:00
Huy Pham
0b3f3a5166 start working on input validation 2019-12-09 16:33:32 -08:00
Blake Harnden
33e3a46146 better gui startup connection failure message 2019-12-09 16:25:29 -08:00
Blake Harnden
088a69d9d9 catching grpc error on setup, displaying error dialog and exiting app 2019-12-09 16:23:09 -08:00
Blake Harnden
c36a72bc16 small tweak to statusbar to define the different sections 2019-12-09 15:27:51 -08:00
Blake Harnden
b04e61ccee added common tags file for canvas created items, to reduce duplicate strings 2019-12-09 14:13:21 -08:00
Blake Harnden
afdacf0c94 set to selection mode when starting/stopping a session as well as joining for runtime/design states 2019-12-09 13:19:45 -08:00
Blake Harnden
2a29cd1fe5 after joining a session default to select mode 2019-12-09 13:09:01 -08:00
Blake Harnden
4ca9ab910e added spinbox missing from 3.6, added spinbox theme, updated config gen to display a file picker for labels with file in it 2019-12-09 13:05:07 -08:00
Blake Harnden
5003e2356c small cleanup to canvas resize/redraw logic and updates to support saving/drawing gridlines and canvas dimensions 2019-12-09 12:07:42 -08:00
Huy Pham
27131ef367 start on input validation 2019-12-09 10:07:21 -08:00
Huy Pham
11f771417e Merge branch 'coretk' into coretk-servicefix 2019-12-09 08:54:53 -08:00
Huy Pham
456e331870 loading xml set canvas state to select mode and display that on toolbar 2019-12-09 08:53:54 -08:00
Blake Harnden
0308a4c8d7 fixed temp issue for dealing with xml and node positions as floats, updated shape metadata to save bold/italic/underline options and read them back from xml 2019-12-06 22:33:21 -08:00
Blake Harnden
71df2a3b7f updated annotation text to be selectable/moveable, save annotation text with other shapes and reload from xml 2019-12-06 22:10:27 -08:00
Huy Pham
2add215704 fix configuring newly added services 2019-12-06 15:06:35 -08:00
Blake Harnden
2824ae09b0 updated sample1.xml to draw shapes using new metadata logic 2019-12-06 14:18:13 -08:00
Blake Harnden
bf710b9afc merged latest from coretk 2019-12-06 14:02:57 -08:00
Blake Harnden
742eb2bed6 cleanup for shapes and creating shapes and storing and restoring shapes from metadata 2019-12-06 14:01:03 -08:00
Huy Pham
6a08bff7de Merge branch 'coretk' of https://github.com/coreemu/core into coretk 2019-12-06 12:53:45 -08:00
Huy Pham
a7d9d588ae add display throughput back to the gui 2019-12-06 12:46:00 -08:00
Blake Harnden
c238b5dfc8 moved node context services option higher for better convenience, added check that context services only shown for container nodes 2019-12-06 11:17:05 -08:00
Blake Harnden
9ef5cdd70b added basic about dialog and created codetext widget for displaying text in terminal like colors using scrolledtext widget 2019-12-06 11:13:43 -08:00
Blake Harnden
0593d0c6a2 Merge branch 'coretk' of https://github.com/coreemu/core into coretk 2019-12-06 09:43:07 -08:00
Blake Harnden
45a23a6c14 updated usage of time.time to time.monotonic or time.perf_counter due to time.time possibly rolling backwards 2019-12-06 09:42:41 -08:00
Blake Harnden
b9bbf397c9 updated node context menu option for wireless to use nodeutils 2019-12-06 09:13:58 -08:00
Huy Pham
27ead56a15 remove redundant file 2019-12-06 09:11:21 -08:00
Blake Harnden
49acac026c updates to move node context logic to node class and added check to display options the same as old core 2019-12-06 09:10:50 -08:00
Huy Pham
e832787f1c fix merge conflict 2019-12-06 09:09:05 -08:00
Huy Pham
4a34aaa30d working on shapes and texts 2019-12-06 09:03:21 -08:00
Blake Harnden
6077e81bf4 moved node/edge delete logic into their own classes for helping make them managing their own data a bit easier 2019-12-05 17:01:48 -08:00
Blake Harnden
81eeac9ec6 merged drawing antenna code to graph node class 2019-12-05 16:37:48 -08:00
Huy Pham
7e2ebb4a2c delete some extra print statement 2019-12-05 13:43:12 -08:00
Huy Pham
6a43f73940 Merge branch 'coretk' of https://github.com/coreemu/core into coretk 2019-12-05 13:40:07 -08:00
Huy Pham
a44fc0b6f9 load shapes from xml 2019-12-05 13:39:09 -08:00
Blake Harnden
6425b08878 updated graph canvas width and height to use the id it already knows of 2019-12-05 13:17:12 -08:00
Blake Harnden
7c8f9dac0f removed nodedelete module and added logic to the graph canvas itself 2019-12-05 13:13:35 -08:00
Huy Pham
c82453b981 load shapes 2019-12-05 11:15:51 -08:00
Blake Harnden
d970d5ee85 separated out graph code into more file and its own sub package 2019-12-05 11:12:25 -08:00
Huy Pham
8c30ad6af5 commit before splitting files 2019-12-05 10:39:53 -08:00
Huy Pham
6d4c437d2d Merge branch 'coretk' into coretk-shapes 2019-12-05 10:17:24 -08:00
Huy Pham
59614fa8d3 try to load canvas config 2019-12-05 10:12:31 -08:00
Blake Harnden
1de3ac9d09 Merge branch 'coretk' of https://github.com/coreemu/core into coretk 2019-12-04 16:40:41 -08:00
Blake Harnden
c7b9c7bfb4 updated sample1 xml to store all metadata in json format 2019-12-04 16:40:33 -08:00
Huy Pham
d024bdf0b7 fix small logic 2019-12-04 15:12:31 -08:00
Huy Pham
b9a5c428cc Merge branch 'coretk' of https://github.com/coreemu/core into coretk 2019-12-04 15:09:14 -08:00
Huy Pham
96d273815d support moving multiple nodes and shape 2019-12-04 15:08:05 -08:00
Blake Harnden
5aa01d9bb5 simplify some join session logic to loop over nodes once 2019-12-04 14:44:43 -08:00
Blake Harnden
5a387537bb updates clean up setting wallpaper for graph canvas, updates to read metadata for canvas to display wallpaper from loaded xml file, update to allow reopening mobility player from node context 2019-12-04 13:40:35 -08:00
Huy Pham
bbb8be6655 shape configuration, replace tunntel tool image 2019-12-04 09:28:16 -08:00
Huy Pham
41a9b88189 working on shape config 2019-12-03 17:17:45 -08:00
Huy Pham
0a26a8f8e3 shape dialog, fix move shape 2019-12-03 16:18:00 -08:00
Huy Pham
ff473b9748 shape dialog 2019-12-02 16:05:10 -08:00
Huy Pham
a0caff6ca2 fix merge conflict 2019-11-27 16:44:42 -08:00
Huy Pham
5c04225cc4 working on shape 2019-11-27 16:39:48 -08:00
Blake Harnden
6a8e0c8360 fixed app quit when grpc fails, fixed quitting when not stopping the running session 2019-11-27 16:27:53 -08:00
Blake Harnden
b30b8ab83d updated status bar text to be centered 2019-11-27 16:14:14 -08:00
Blake Harnden
693d7beeb7 updated remove antenna logic to simplify, updated wireless edges to be objects 2019-11-27 15:40:54 -08:00
Blake Harnden
3c7bf57b5c simplified select logic to check against known nodes and modified get_selected to avoid returning the canvas id 2019-11-27 14:25:29 -08:00
Huy Pham
1a05571e50 shape 2019-11-27 14:04:49 -08:00
Huy Pham
2fc8782360 shape 2019-11-27 13:58:34 -08:00
Blake Harnden
804b95d486 consolidated node move logic to one function, used by both node events and node drag 2019-11-27 13:23:45 -08:00
Huy Pham
0f6cca1194 Merge branch 'coretk' into coretk-progress 2019-11-27 13:15:57 -08:00
Huy Pham
f3ca5682ac start on shape drawing 2019-11-27 13:15:04 -08:00
Blake Harnden
d1db5e4b4e added some data for node events to have a source field to help distinguish what originates from the gui or not 2019-11-27 12:55:39 -08:00
Blake Harnden
354d227cb3 removed old service config code 2019-11-27 12:20:00 -08:00
Blake Harnden
5708dbd083 fixed issue when deleting node without a link tuple 2019-11-27 12:16:56 -08:00
Blake Harnden
554028ad5c display mobility player context for mobility configured nodes during runtime 2019-11-27 12:11:11 -08:00
Blake Harnden
9a55ff4ca5 display mobility player on session start, change buttons and progress bar on session events 2019-11-27 11:41:54 -08:00
Huy Pham
8278641cf4 Merge branch 'coretk' into coretk-progress 2019-11-27 11:21:56 -08:00
Huy Pham
d51dc0e909 canvas size 2019-11-27 11:21:03 -08:00
Huy Pham
1ca9aec247 canvas size added to preferences and updated to dialog 2019-11-27 09:54:43 -08:00
Blake Harnden
af9915191d fixed wireless link events displaying over nodes 2019-11-27 08:52:20 -08:00
Huy Pham
15e484c8c2 Merge branch 'coretk' into coretk-progress 2019-11-27 08:51:02 -08:00