Bottom Page

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 Show GPG keys in pyqt5 window
#1
G'day mates! I'm working on RumpelstilskN and I've exhausted my admittedly meager pyqt5 knowledge. I need a way for all the GPG keys on the system to be listed in a window, much like enigmail does:
   
I also would like a way to interact with the keys in the list; so for example if I double click one then XYZ will happen.
But I can't figure out how to code this. Wall

My thought currently is to do something along the lines of "gpg2 --list-keys" and then export the result into a Qt window, but this has two shortcomings:
(a) It will include lots of useless information. I'd like a clean look much like enigmail (though granted, I'm not looking to make an enigmail clone).
(b) This wouldn't allow me to interact graphically with the keys.

So any ideas/pointers? I'd appreciate any help!


I'm only looking to write this for a Linux base right now, and I'm using python 3.

Thanks!
Fred
OS: Arch
Editor: Atom with Material Syntax UI and the Termination terminal plugin

Micah 6:8
Quote
#2
I'm not clear on your question(s). Is this a GUI question independent of GPG keys, and a question about how to cleanup the result of gpg --list-keys, or are they more coupled than they appear? What code have you tried?
Feel like you're not getting the answers you want? Checkout the help/rules for things like what to include/not include in a post, how to use code tags, how to ask smart questions, and more.

Pro-tip - there's an inverse correlation between the number of lines of code posted and my enthusiasm for helping with a question :)
Quote

Top Page

Possibly Related Threads...
Thread Author Replies Views Last Post
  tkinter window and turtle window error 1885 3 577 Nov-02-2019, 12:18 PM
Last Post: 1885
  Huge code problems (buttons(PyQt5),PyQt5 Threads, Windows etc) ZenWoR 0 522 Apr-06-2019, 11:15 PM
Last Post: ZenWoR
  How to show graph as a slideshow in PyQt5 using matplotlib binsha 0 1,432 Mar-08-2019, 03:58 AM
Last Post: binsha
  [PYQT5] Crashing when using .hide() and .show() aking76 0 2,490 Sep-18-2018, 02:09 PM
Last Post: aking76
  [PyQt] Can't show PyQt5 mediaPlayer in window DecaK 1 1,590 Sep-15-2018, 09:54 AM
Last Post: Axel_Erfurt
  [Tkinter] Is there any way to bind keys to a gui window in tkinter? Nwb 1 977 Jun-21-2018, 06:04 PM
Last Post: Larz60+
  update a variable in parent window after closing its toplevel window gray 5 3,311 Mar-20-2017, 10:35 PM
Last Post: Larz60+
  Show second window using classes iFunKtion 2 1,702 Feb-10-2017, 12:50 PM
Last Post: iFunKtion

Forum Jump:


Users browsing this thread: 1 Guest(s)