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: Run any PyQt5 program in Emacs Date: Tue, 26 Jun 2018 23:38:08 +0800 Message-ID: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="00000000000061d52b056f8d4aab" X-Trace: blaine.gmane.org 1530027453 2579 195.159.176.226 (26 Jun 2018 15:37:33 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 26 Jun 2018 15:37:33 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jun 26 17:37:29 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 1fXq25-0000aW-9Q for ged-emacs-devel@m.gmane.org; Tue, 26 Jun 2018 17:37:29 +0200 Original-Received: from localhost ([::1]:53463 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fXq4C-0006x7-KI for ged-emacs-devel@m.gmane.org; Tue, 26 Jun 2018 11:39:40 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33148) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fXq39-0006ww-55 for emacs-devel@gnu.org; Tue, 26 Jun 2018 11:38:36 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fXq38-0004fE-50 for emacs-devel@gnu.org; Tue, 26 Jun 2018 11:38:35 -0400 Original-Received: from mail-ot0-x22a.google.com ([2607:f8b0:4003:c0f::22a]:45147) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fXq37-0004en-U5 for emacs-devel@gnu.org; Tue, 26 Jun 2018 11:38:34 -0400 Original-Received: by mail-ot0-x22a.google.com with SMTP id k3-v6so5940694otl.12 for ; Tue, 26 Jun 2018 08:38:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=tXDu8v1GAunUy37v1Ou+U9FrHBNNTDK7tJrzWTdWzz8=; b=t7Bs5B8wzkeQ8Z/cLcic29GOdoWni7jCcQ+PqApi6P/1hgQeyoSPp3nkP8xuvyCM2j q7es0SClQdud6F9eqf2YI1JEthXsV4HLL5ZfFz9f8c2r8MQxH8+hWCO3NyuBZVAzntcC 6haXSqLOJC9Dspcfzv6hVRMvup84F1R6XDB/3lBb2pMJG+/GDVGP21tVqxWHPX2jnOMk mQ//lR9Jy23cWNCcH6t0tKcsAW0I2fXPMOEBUvoNFIz3te8Gwybu3ky6/8YXlp39Eiaj Vvej7wwdNzMs7Yp9CMU756vYWkRiZN3EjjZW3vj0ewXrBV+GrXe28JWUHlQnlxsU8WJd 1c7Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=tXDu8v1GAunUy37v1Ou+U9FrHBNNTDK7tJrzWTdWzz8=; b=KAiI9gFlhJO5ijkJf81o46hJVWtqfK94VJ6HYRMXQCmaBom7XKE3cbNnRFBaWA6Gao fVWZE5FXGwxITD/RRm6KR8OJt1UHK5u/BwS8OUJxxsCZLAuavAZFTv5MxsnnHsC6Gujd ipLV4tcaE5fY8mXpV6wLf5FnWdsapiTkSC3ZZ4asOU8CTdQmmcP+wlYhVEerZn6cHCs/ 76jjy8gZFw5qAhiM9XRBdlQKuSTBjACzDZVjxExbmy/zkCsWaq/+muetsAkV0d3kjCp+ Aiv401dhxvpvmJJLUBWK9JLuHfELgckYbiI2dd+/qA8Tvsprjl4xoPbP1zZyn360HJbv WK2w== X-Gm-Message-State: APt69E3MfwX9IrwbsiAU7clctcXgLEYJNAxdGeX7MBkcnusmOMs5BbDs gfiV6ryURdpQ1slbnHRj2IXGNL3uanV44rL+e0uekw== X-Google-Smtp-Source: AAOMgpe1mEIzVU2MY+jbHG+4mT5u5U5ThRfIyGlgMQsxSdHpXNDAivhx+taA2Wp/sJH2SBGiSIh0wojVe6pqF7R4kgI= X-Received: by 2002:a9d:a48:: with SMTP id 66-v6mr1088898otg.138.1530027512549; Tue, 26 Jun 2018 08:38:32 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4003:c0f::22a 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:226742 Archived-At: --00000000000061d52b056f8d4aab Content-Type: text/plain; charset="UTF-8" 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 --00000000000061d52b056f8d4aab Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Hi guys

I just d= evelop a new framework=C2=A0https://git= hub.com/manateelazycat/emacs-application-framework

Emacs Application Framework is a development framework that dev= elopers 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


<= /p>

Below is some screenshots:


https://github.com/m= anateelazycat/emacs-application-framework/blob/master/screenshot/browser.gi= f


<= font color=3D"#1c1c1c" face=3D"Noto Sans, sans-serif">https://github.com/manateelazycat/emacs-application-frame= work/blob/master/screenshot/image_viewer.gif


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


=C2=A0-- AndyStewart

--00000000000061d52b056f8d4aab--