From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Andy Stewart Newsgroups: gmane.emacs.devel Subject: Re: Run any PyQt5 program in Emacs Date: Thu, 28 Jun 2018 22:38:16 +0800 Message-ID: References: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000edfbb1056fb4af47" X-Trace: blaine.gmane.org 1530196617 2457 195.159.176.226 (28 Jun 2018 14:36:57 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 28 Jun 2018 14:36:57 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jun 28 16:36:53 2018 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fYY2V-0000WL-FK for ged-emacs-devel@m.gmane.org; Thu, 28 Jun 2018 16:36:51 +0200 Original-Received: from localhost ([::1]:36985 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fYY4a-0001aD-W1 for ged-emacs-devel@m.gmane.org; Thu, 28 Jun 2018 10:39:01 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48880) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fYY4I-0001Yp-G9 for emacs-devel@gnu.org; Thu, 28 Jun 2018 10:38:45 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fYY4H-0004iK-9Z for emacs-devel@gnu.org; Thu, 28 Jun 2018 10:38:42 -0400 Original-Received: from mail-ot0-x230.google.com ([2607:f8b0:4003:c0f::230]:39387) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fYY4H-0004ha-1V for emacs-devel@gnu.org; Thu, 28 Jun 2018 10:38:41 -0400 Original-Received: by mail-ot0-x230.google.com with SMTP id l15-v6so6386875oth.6 for ; Thu, 28 Jun 2018 07:38:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=IVtDfuaP/lFYnycpMsB/Le9n8G2FvvufvJei7gd9FAw=; b=MLUlSWZUV4e6iWmIfLHBTDfuXUbUmFVBW815qdnxjMGkIpDzvbUDB5Qks3f72bt4Dm hqDFdoQtNagbZCGKWnXiJKoAQzHiJcSBOivmeIvrh9bK3Bd5QX26WG90GInGMQfr0p/A K5Db0UcrnCm8N7+80J1xOO41S3Iu8k+3SClHy/1Y3YcUsaFQBv7qkIqDH+03wmgwkYNY H1J5MZ4Os3FBOMq56C4tIZAhgxF8cZpm10TYyc3yhUvEoYywuv4zWRu/RFfzOPeS6phi uBAjWXelOpSDmdDXyPf1b3qiZX+Rm9mdZgQj+Y2Dzybh8yXGuzXEyg04rHQCgtT0qgvN fJmg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=IVtDfuaP/lFYnycpMsB/Le9n8G2FvvufvJei7gd9FAw=; b=lLdJABquFrL9mnhVBQIKyAXHqR+yqXBFkv639ZUrHjl5oIBSXBWsuBPLcosd5PFpc1 zxf0h7qDVztWgVzg23Grod3NxyLaMMuQA6SDCFVrRVLDodGdwV/nVF/LVQZVT/wcLp5A 3wDe/QJCaNoNsxSF5kWnciO7kLhn0VA8J/Y0aAb2gShEkgckSJ8CEBDItymxKOnVleu/ iLiVCVfoPGe+1ib+/hMSJ6AP4kYZPsriL0NNnRW+cMCsIAhMcrNMRh+OadiqScvd9xw7 0nhLzq66kWH+KO1nRDA27I+Uit922gDLaJhAEO+/lqxS/ABySl4LAGKlMHoWU1djl2mo uzJA== X-Gm-Message-State: APt69E2kVG11MVgcdG2dQXyBdJT2QPFuDwNIzkBa9Msah/jgVEXZxZOM x2CRL6DJtOq1sQ/P8CNyHJeD7sNyT4Gbzr+poBm2mQ== X-Google-Smtp-Source: AAOMgpfR9qzB/aEZnTivLXyX0+dPE3xtSDCEKEiHFkVimO7VpfQ3ukLwnzGOtQRibPA86fmR6X8SYSH7HuEDTU8Hpl0= X-Received: by 2002:a9d:3b65:: with SMTP id z92-v6mr6513135otb.388.1530196719957; Thu, 28 Jun 2018 07:38:39 -0700 (PDT) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4003:c0f::230 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:226817 Archived-At: --000000000000edfbb1056fb4af47 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable I just develop new plugin -- pdf viewer: https://github.com/manateelazycat/emacs-application-framework/commit/cbe25c= b4c9c62b895e89e3bb06d5611ca0999d33 Screenshot at: https://github.com/manateelazycat/emacs-application-framework/blob/master/s= creenshot/pdf_viewer.gif Enjoy it. Andy Stewart =E4=BA=8E2018=E5=B9=B46=E6=9C=8826= =E6=97=A5=E5=91=A8=E4=BA=8C =E4=B8=8B=E5=8D=8811:38=E5=86=99=E9=81=93=EF=BC= =9A > Hi guys > > I just develop a new framework > https://github.com/manateelazycat/emacs-application-framework > > *Emacs Application Framework is a development framework that developers > can develop any PyQt program and integrate into Emacs.* > > This framework mainly implements three functions: > > 1. > > Integrate PyQt program window into Emacs Frame using Xlib Reparent > technology > 2. > > Listening to EAF buffer's keyboard event flow and controlling the > keyboard input of PyQt program via DBus IPC > 3. > > Created a window compositer to make the PyQt program window adapt > Emacs's Window/Buffer design > > Using this framework, you can use PyQt develop powerful graphics programs > to extend Emacs > > > Below is some screenshots: > > > > https://github.com/manateelazycat/emacs-application-framework/blob/master= /screenshot/browser.gif > > > > https://github.com/manateelazycat/emacs-application-framework/blob/master= /screenshot/image_viewer.gif > > > > https://github.com/manateelazycat/emacs-application-framework/blob/master= /screenshot/video_player.gif > > > -- AndyStewart > --000000000000edfbb1056fb4af47 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Andy Stewart <laz= ycat.manatee@gmail.com> =E4=BA=8E2018=E5=B9=B46=E6=9C=8826=E6=97=A5= =E5=91=A8=E4=BA=8C =E4=B8=8B=E5=8D=8811:38=E5=86=99=E9=81=93=EF=BC=9A

Hi guys

I just develop a new framework= =C2=A0https://github.com/manateelazycat/emacs-application-framework

Emacs Application Framework is a developm= ent framework that developers can develop any PyQt program and integrate in= to Emacs.

This fra= mework mainly implements three functions:

  1. Integrate PyQt program window into Emacs Frame using Xlib Reparen= t technology

  2. Listening to EAF = buffer's keyboard event flow and controlling the keyboard input of PyQt= program via DBus IPC

  3. Created = a window compositer to make the PyQt program window adapt Emacs's Windo= w/Buffer design

U= sing this framework, you can use PyQt develop powerful graphics programs to= extend Emacs


Below is some screenshots:


https://github.com/manateelazycat/= emacs-application-framework/blob/master/screenshot/browser.gif


https://github.com/manateelazycat/emacs-appl= ication-framework/blob/master/screenshot/image_viewer.gif


https://github.com/manateelazycat/emacs-applicati= on-framework/blob/master/screenshot/video_player.gif


=C2=A0-- AndyStewart

--000000000000edfbb1056fb4af47--