#hazzy Logs
Dec 15 2019
#hazzy Calendar
07:41 AM Not-5e4d: [02qtpyvcp] 07jethornton pushed 033 commits to 03master [+0/-0/±4] 13https://git.io/JeQVv
07:41 AM Not-5e4d: [02qtpyvcp] 07jethornton 0330ed5d1 - BUG: fix spindle faster/slower only working on spindle 0
07:41 AM Not-5e4d: [02qtpyvcp] 07jethornton 0367429fe - Merge branch 'MultiSpindle'
07:41 AM Not-5e4d: [02qtpyvcp] 07jethornton 03553526d - DOCS: expand spindle docstrings
07:52 AM Not-5e4d: [02qtpyvcp] 07KurtJacobson pushed 031 commit to 03gh-pages [+460/-0/±0] 13https://git.io/JeQVn
07:52 AM Not-5e4d: [02qtpyvcp] 07traviscibot 03ac77d6b - Deploy kcjengr/qtpyvcp to github.com/kcjengr/qtpyvcp.git:gh-pages
08:49 AM hazzy-m: Thanks JT!
09:06 AM jthornton: your welcome
09:48 AM roguish[m]: hazzy: good morning. and, no I haven't resolved my problem yet. tried lots with no success.
09:55 AM Lcvette: Hazzy, you in NC?
10:16 AM hazzy-m: Lcvette: no, just stayed a few hours, drove back down to Atlanta last night
10:18 AM hazzy-m: roguish: can you send your UI file and post your app line from your initial?
10:18 AM hazzy-m: INI*
10:19 AM roguish[m]: ok, give me a few secs
10:23 AM * roguish[m] posted a file: dro_v2.ui (25KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/YWjYpsfMQhbaVYdRAGvhsFGi >
10:24 AM * roguish[m] sent a long message: < https://matrix.org/_matrix/media/r0/download/matrix.org/FqfURqrogdppwmGpJyMsDRiM >
10:25 AM roguish[m]: as you can see, i' ve been trying all kinds of combinations..... not sure at all what to do at this point.
10:27 AM roguish[m]: oh, dro_v2.ui is a decent gui. dro_v3 got scrambled somehow and i need to fix it. but nearly identical, just some format differences.
10:35 AM TurBoss: hello
10:38 AM TurBoss: hello roguish whats your issue?
10:43 AM roguish[m]: TurBoss: buenos diaz
10:43 AM TurBoss: :)
10:45 AM roguish[m]: well, I am making a simple gui to run next to an axis gui. so far my gui is ok, but i cannot get it to be able to move around (drag) on the screen. it is stuck right in the center.
10:45 AM roguish[m]: that's the primary problem.
10:46 AM JT-Shop: TurBoss, is there a way to clear the error widget now?
10:46 AM roguish[m]: also, i'm trying to learn about the style and config files..... and where all the files go and what they do. but that is secondary
10:47 AM roguish[m]: if i put this line in the .ini file, the dro_v2 gui comes up and works, but is stuck in the center of the screen.
10:47 AM roguish[m]: APP = qtpyvcp --ini=/home/noel/linuxcnc/configs/3_xavien/x18200-3-5i24.ini /home/noel/dro_v2/ui/dro_v2.ui
10:49 AM TurBoss: afk 2 min
10:49 AM TurBoss: sorry
10:53 AM TurBoss: JT-Shop: nope
10:53 AM TurBoss: the logs you mean?
10:54 AM TurBoss: ok rogish you mean that you cant move the window?
10:55 AM roguish[m]: yes, that's the problem....
10:55 AM TurBoss: hmmm...
10:57 AM TurBoss: ok I can move it on designer
10:58 AM JT-Shop: yea the on screen display if it gets full then you can't see the last error
11:08 AM TurBoss: oh there is no scroll bar :|
11:09 AM TurBoss: roguish: i ran linuxcnc now how do i run the uifile you posted
11:10 AM TurBoss: ```qtpyvcp --ini=~/Proyectos/qtpyvcp/sim/xyz.ini Descargas/dro_v2.ui
11:10 AM TurBoss: * ```
11:10 AM TurBoss: qtpyvcp
11:10 AM TurBoss: ```
11:11 AM TurBoss: qtpyvcp --ini=~/Proyectos/qtpyvcp/sim/xyz.ini Descargas/dro_v2.ui
11:17 AM roguish[m]: run with an APP= line in the linuxcnc .ini file.
11:17 AM roguish[m]: APP = qtpyvcp --ini=/home/noel/linuxcnc/configs/3_xavien/x18200-3-5i24.ini /home/noel/dro_v2/ui/dro_v2.ui
11:17 AM TurBoss: ok
11:24 AM Not-5e4d: [02qtpyvcp] 07jethornton pushed 031 commit to 03master [+0/-0/±1] 13https://git.io/JeQKW
11:24 AM Not-5e4d: [02qtpyvcp] 07jethornton 031761bab - DOCS: add info about issue_mdi machine action
11:25 AM Not-5e4d: [02qtpyvcp] 07KurtJacobson pushed 031 commit to 03gh-pages [+460/-0/±0] 13https://git.io/JeQK4
11:25 AM Not-5e4d: [02qtpyvcp] 07traviscibot 035061ab8 - Deploy kcjengr/qtpyvcp to github.com/kcjengr/qtpyvcp.git:gh-pages
11:31 AM TurBoss: got the windows to load but if I load the VCP then it gives a hal_qlib error
11:31 AM TurBoss: :|
11:33 AM * TurBoss uploaded an image: image.png (74KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/BJjICyKNJiUQemdgOjSQsEpK >
11:40 AM Not-5e4d: [02qtpyvcp] 07jethornton pushed 031 commit to 03ClearNotifications [+0/-0/±1] 13https://git.io/JeQKb
11:40 AM Not-5e4d: [02qtpyvcp] 07jethornton 033e2f281 - ENH: add clear button
11:40 AM Not-5e4d: [02qtpyvcp] 07jethornton created branch 03ClearNotifications - 13https://git.io/fhCou
11:40 AM JT[m]: TurBoss: check it out when you get a chance
11:40 AM TurBoss: sure JT
11:41 AM roguish[m]: TurBoss: what? your gui shows the min/max/close buttons in the upper right. mine does not.
11:41 AM TurBoss: because was on full screen
11:41 AM travis-ci: kcjengr/qtpyvcp#1187 (ClearNotifications - 3e2f281 : John Thornton): The build passed.
11:41 AM travis-ci: Diff view : https://github.com/kcjengr/qtpyvcp/commit/3e2f281665cf
11:41 AM travis-ci: Build details : https://travis-ci.org/kcjengr/qtpyvcp/builds/625348393
11:42 AM TurBoss: i swiched to windows mode with f11
11:42 AM TurBoss: window*
11:42 AM TurBoss: what happends if you press f11?
11:43 AM roguish[m]: works..... what the heck?
11:44 AM TurBoss: :D
11:44 AM roguish[m]: guess that takes care of that. THANKS.
11:45 AM TurBoss: there is something to configure that in the config.yml
11:45 AM roguish[m]: OK. simple question. my axis label box is a statuslabel. I want it to change coleor when the axis is homed. how do I do that?
11:45 AM * TurBoss sent a long message: < https://matrix.org/_matrix/media/r0/download/matrix.org/yTLGfyudZLnBfRYeGfqONezn >
11:46 AM TurBoss: hmmmm
11:46 AM TurBoss: not sure xD
11:47 AM Lcvette: Use rules roguish
11:48 AM * hazzy-m boots into linuc
11:48 AM Lcvette: Check probe basic, it has color change for homed
11:48 AM Lcvette: Red unhomed black homed
11:49 AM roguish[m]: Lcvette: ok. will do.
11:49 AM Lcvette: Double click the drop in designer and it should pull the role format up for you
11:49 AM * TurBoss uploaded an image: image.png (15KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/MBkdVyZYndPUxqaNICqCfefK >
11:51 AM TurBoss: JT: you wan't a clean all signal?
11:55 AM hazzy-m: roguish: what does your dro_v3_config.yaml file have in it?
11:56 AM hazzy-m: ah
11:56 AM hazzy-m: so it was set to full screen
11:56 AM hazzy-m: that why I don't like having full screen bee the default
11:57 AM Lcvette: Full screen default is boss
11:57 AM hazzy-m: I saw someone on the forum was confused by that too and gave up because he could figure it out
11:57 AM Lcvette: Figure. What out?
11:58 AM hazzy-m: for ProbeBasic yes, but not for all QtPyVCP UIs
11:58 AM Lcvette: What was the issue?
11:58 AM hazzy-m: if gave up trying to use QtPyVCP because he could not move the windows around
11:59 AM Lcvette: Aly f11
11:59 AM Lcvette: Alt f11
11:59 AM hazzy-m: yes, but how are you supposed to know that?
11:59 AM hazzy-m: actually just F11
12:00 PM Lcvette: So how about add a full screen change button
12:01 PM Lcvette: In the file row at to he top
12:01 PM Tom_L: or a few instructions on how to use
12:01 PM hazzy-m: the problem is with VCP like roguish's that aren't set up for full screw use so don't expand to fill the screen, then its really confusing
12:04 PM TurBoss: yeah
12:06 PM roguish[m]: hazzy: i'm a bit confused with the config.yml file, and how it points to the .ui and the .qss
12:08 PM roguish[m]: in my APP= line, should I use --config-file or --style-sheet ????
12:08 PM Lcvette: Is there a way to make it so if you move the mouse to the top of the screen it shows the home screen to bar?
12:09 PM TurBoss: roguish: you can specify a stylesheet on the config file
12:09 PM TurBoss: iirc
12:10 PM roguish[m]: TurBoss: yes. just not sure of the correct paths, etc.
12:10 PM TurBoss: checking
12:10 PM roguish[m]: and should I include the .ui in the config.yml when it's already in the APP= line....
12:12 PM hazzy-m: roguish: the purpose of the config file is to be one place where you specify all the setting for a VCP, so you can set the .ui, .qss file etc. in the config file rather having to do it on the command line
12:13 PM hazzy-m: roguish: yes, so if you add the UI file to the YAML file you wont need it on the APP line anymore, all you will need is to specify the config file
12:13 PM hazzy-m: am I making any sense? lol
12:14 PM TurBoss: https://github.com/kcjengr/qtpyvcp/blob/master/qtpyvcp/yaml_lib/default_config.yml
12:14 PM TurBoss: just copy paste from here to your config
12:14 PM TurBoss: path is where you whant
12:17 PM roguish[m]: hazzy: your first point: that's what i've thought.
12:17 PM roguish[m]: your second point, also what I thought. i just am not getting all the path stuff correct in the yml file.
12:20 PM * roguish[m] sent a long message: < https://matrix.org/_matrix/media/r0/download/matrix.org/ymsnpzrenbCyFNnPcWWQeqZV >
12:22 PM roguish[m]: If I use this in the .yml, and do not put the .ui explicitly in the APP= line, the 'chooser' comes up.........not good.
12:23 PM roguish[m]: when ever I have not explicitly cited the .ui in the APP= line, the
12:23 PM roguish[m]: 'chooser' has come up.
12:24 PM roguish[m]: hazzy: also, I agree. full screen should not be the default.
12:37 PM roguish[m]: gentlemen. hanks for the help. gotta run out for a while to the local farmers market and get fresh veggies.............bbl
12:37 PM TurBoss: have fun
12:37 PM TurBoss: o/
12:42 PM TurBoss: for a uknown reason I ended havin 2 vcp with the same name in chooser but only one installed
12:42 PM TurBoss: 😲
01:01 PM JT[m]: the clear notifications branch should be safe to merge it's only a few lines of code
01:01 PM * JT[m] uploaded an image: Screenshot at 2019-12-15 12-53-27.png (22KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/KLHUGIvUcOZUbMphYJwoasel >
01:01 PM TurBoss: sure go fot it
01:01 PM * JT[m] uploaded an image: Screenshot at 2019-12-15 12-54-32.png (7KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/JWxqltdZnsoGvWDwtmICRaJv >
01:01 PM TurBoss: \o/
01:02 PM JT[m]: hazzy: v0.3.0?
01:09 PM TurBoss: I'll include one fix
01:09 PM TurBoss: for the VTK display
01:09 PM TurBoss: JT: is ok to merge clean notification
01:14 PM TurBoss: works fine
01:14 PM JT-Shop: done
01:39 PM Lcvette: \o/
01:42 PM TurBoss: Lcvette: how do you put images?
01:49 PM Not-5e4d: [02qtpyvcp] 07TurBoss pushed 033 commits to 03master [+0/-0/±3] 13https://git.io/JeQPb
01:49 PM Not-5e4d: [02qtpyvcp] 07TurBoss 03ba9901e - FIX: backplot polygons not drawing correcly on some graphic cards
01:49 PM Not-5e4d: [02qtpyvcp] 07TurBoss 035213fb9 - Merge remote-tracking branch 'kcjeng/ClearNotifications'
01:50 PM TurBoss: JT:
01:50 PM TurBoss: > hazzy: v0.3.0?
01:50 PM Not-5e4d: [02qtpyvcp] 07KurtJacobson pushed 031 commit to 03gh-pages [+460/-0/±0] 13https://git.io/JeQXe
01:50 PM Not-5e4d: [02qtpyvcp] 07traviscibot 03b7d023e - Deploy kcjengr/qtpyvcp to github.com/kcjengr/qtpyvcp.git:gh-pages
01:51 PM TurBoss: this link is broken ^
02:13 PM JT-Shop: weird
02:14 PM JT-Shop: https://qtpyvcp.kcjengr.com/
02:14 PM JT-Shop: docs are there
02:18 PM TurBoss: JT-Shop: any issue on master=
02:18 PM TurBoss: ??
02:21 PM JT-Shop: none that I know of
03:00 PM Lcvette: TurBoss (@TurBoss:matrix.org): still need to know how to do images?
03:01 PM TurBoss: yup
03:02 PM Lcvette: Need to add the image to the qrc file
03:02 PM TurBoss: labels work on designer but not on run
03:02 PM Lcvette: Then run the qcompile
03:02 PM TurBoss: just qcompile?
03:02 PM Lcvette: There is a .
03:03 PM Lcvette: Bit I'm not at dev to see it
03:03 PM Lcvette: It's either . qcompile or qcompile.
03:03 PM TurBoss: ok
03:03 PM TurBoss: ty
03:04 PM Lcvette: Then in the designer it should show up in the reference file
03:04 PM Lcvette: You select under pixmap I think it is?
03:04 PM Lcvette: In the design tree
03:06 PM * TurBoss sent a long message: < https://matrix.org/_matrix/media/r0/download/matrix.org/tzlKJwQWLQbAXsxoHJKoyKxU >
03:12 PM Lcvette: Is that the qrc file?
03:12 PM Lcvette: You can compare to probe basics, there's lots of images there
03:14 PM JT-Shop: I can go look as soon as I'm done breaking off taps...
03:15 PM TurBoss: \o/
03:15 PM TurBoss: done
03:15 PM Lcvette: Worked!
03:15 PM Lcvette: \o/
03:48 PM roguish[m]: Lcvette: when i'm using the widget rules editor, can I have more than 1 rule that is the same 'Property: Stylesheet'
03:48 PM roguish[m]: or how can I have more than 1 expression per rule?
03:57 PM hazzy-m: roguish: not generally. What are you trying to achieve?
03:59 PM Lcvette: roguish: hazzy knows rules better than i
04:01 PM hazzy-m: roguish: you could try using a \n to separate expressions
04:01 PM hazzy-m: I think they will both be executed, but would have to check the code
04:02 PM roguish[m]: hazzy: ok, i got the background and the text to change when 'homed'. the text is done with a 'property: text' and the background color is done with 'property: styleclass'. but I can't seem to get the font to stay big.
04:02 PM roguish[m]: I am really trying to stay within the ui designer and not use an additional file. am I being silly?
04:03 PM TurBoss: hazzyhazzy what could be the cause of have 2 installed vcp with the same name on chooser ?
04:17 PM TurBoss: Lcvette: I'm stuck on the online installer
04:17 PM TurBoss: I think that we can release the current one
05:17 PM JT[m]: roguish: set your styles in one of many places, in the widget or parent or in the qss file
05:33 PM Lcvette: TurBoss (@TurBoss:matrix.org): yes? It's ok to put on the webpage?
05:41 PM TurBoss: hmmm
05:41 PM TurBoss: maybe wait for 0.3
05:41 PM TurBoss: @lcv
05:46 PM roguish[m]: JT: yeah. figured. i'm working on setting them in the qss file (copying a lot of yours....) where can I find a listing or something showing what can be set, like font, border width, etc.....???
05:47 PM TurBoss: https://doc.qt.io/qt-5/stylesheet-syntax.html
05:47 PM JT[m]: yep
05:47 PM roguish[m]: anyway, it's looking much better.
05:48 PM roguish[m]: can the inch thread mills be used on metric? as long as pitch and diameters are correct?
05:49 PM roguish[m]: TurBoss: thanks. been looking there already. kinda makes my head hurt...
05:51 PM roguish[m]: got a new 1 tb ssd for my windows desktop. now I have to totally rebuild it. been working horribly, so it's a total rebuild. shit.
07:04 PM roguish[m]: THANKS FOR ALL THE HELP TODAY. see you tomorrow.....
07:04 PM TurBoss: n8
09:01 PM Lcvette: 0.3?