タグ

PyQtに関するbirkのブックマーク (8)

  • レイアウトのお話

    GUIプログラムは、ウィジットのレイアウトが見やすく、操作しやすいことが肝要である。 また、場合によっては動的にレイアウトを変えたい場合もある。 Qt には QLabel、QPushButton などなど、たくさんの便利なウィジットと、 それらを簡単かつ自由にレイアウトするためのクラスが用意されている。 ウィジットを画面に適切にレイアウトし、signal と処理 slot を適切に接続すればGUIなプログラムを簡単に作成することができる。 稿ではウィジットをレイアウトする方法について解説する。 setGeomeatry() によるレイアウト QWidget 派生クラスのインスタンス生成時に親ウィジットを指定すると、その子ウィジットとなる 親ウィジット内での位置を setGeomeatry(x, y, wd, ht) または setGeomeatry(const QRect &) で指定可

    birk
    birk 2017/03/30
  • PyQt5入門 PythonでGUI作成 - yu00’s blog

    PythonGUIを作成できるPyQt5について,使い方を説明していきます. 注意 Pythonの基を知っていることを前提としています Pythonは3.x系です 情報,プログラムの正確さには細心の注意を払っていますが,それらの正確性は保証できません.間違いがありましたら指摘してくださるとありがたいです リンク・参考資料 Qt - Home - Qtの家 Riverbank | Software | PyQt | What is PyQt? - PyQtの家 Qt Reference Pages | Qt 5.5 - Qtのドキュメント PyQt5 tutorial - 英語ですが,わかりやすいPyQt5のチュートリアルです PyQt5の基 PyQt5でのプログラミングの基 - PyQt5での必要最小限のプログラム ウィジェット - PyQt5の基であるウィジェットの説明 レ

  • How to communicate or switch between two windows in PyQt?

    I am developing an application using python and Qt. I have designed 2 Main windows ie..QMainWindow (Not QWidget or QDialog) using Qt. Let it be. 1.LoginWindow -- LoginUI(Qt) 2.StuffWindow --- StuffUI First i should display Login Window. Then i should pass the username to StaffWindow (username needed for managing stuffs) StaffWindow should be shown and LoginWindow Should be Closed.. How can i achie

    How to communicate or switch between two windows in PyQt?
    birk
    birk 2017/03/23
  • Introduction to PyQt4

    last modified October 18, 2023 This is an introductory PyQt4 tutorial. The purpose of this tutorial is to get you started with the PyQt4 toolkit. The tutorial has been created and tested on Linux. About PyQt4PyQt4 is a toolkit for creating GUI applications. It is a blending of Python programming language and the successful Qt library. Qt library is one of the most powerful GUI libraries. The offic

  • PyQt Class Reference

    PyQt Class Reference Portions of this documentation have been adapted from the documentation provided with Qt 4.8.7. This document is not an official document from The Qt Company, but is provided with The Qt Company's permission. Because this is based on the Qt C++ documentation it still contains C++ code fragments, broken links etc. These will be fixed in future releases.

  • Introduction to PyQt4 toolkit

    last modified October 18, 2023 This is PyQt4 tutorial. The tutorial is suited for beginners and intermediate programmers. After reading this tutorial, you will be able to program non trivial PyQt4 applications. PyQt5 tutorial is the successor of this tutorial. Table of contentsE-bookA unique e-book covering advanced features of the PyQt4 library: Advanced PyQt4 tutorial. AuthorMy name is Jan Bodna

  • Python GUI Spyder と Qt Designer で かんたん GUI 開発 | Glob

    Python と PyQt を使うことで、簡単なGUIユーティリティをつくるのは非常に簡単になった。 Python GUI PyQt もっと早く使っておけばよかった PyQt を使って GUIテキストファイル分割ツールをPythonで作成する PyQtで文字数計測ツールつくる。簡単すぎ。 のだが、やはりGUIをコードでしこしこかくのは面倒なので、ツールを使いたい。 ということで、PyQt に含まれている、Qt Designer の使い方を覚えようと思う。 ちなみに、配布まで考えると、Portable Python で試した方がよいかと思ったら、今は開発が止まっているようで、WinPython 環境、および 同梱されている、Spyder というIDEを利用してみるが、基的にはどんな環境でも同じだと思う。 1.Spyder プロジェクトを作成 WinPython をダウンロードインストールす

  • PyQtではじめるGUIプログラミング

    2011-08-27に開催されたPyCon JP 2011のセッションで使用したスライドです。 サンプルプログラムのソースコードは http://alpa.homeip.net/files/PyConJP2011-SampleCodes.zip からDL可能です。 スライド内のURLをコピペすると文字コードの関係なのか何故か正しいURLとしてペーストできないので、注意してください。

    PyQtではじめるGUIプログラミング
  • 1