PyQt5 -- basic part: using Eric 6 tools to achieve three-level linkage effect

Today, I'd like to introduce the three-level linkage effect of python gui interface. We use the tool Eric 6 to realize it. Let's see the effect chart first.         First, we create a project link, and then create a new form to enter the Qt designer tool to start the design interface, and then save and exit.   Compile the form in the eric6 t ...

Posted on Sat, 04 Apr 2020 16:12:24 -0400 by willwill100

[QT] QT getting started from scratch (4): menu bar, toolbar, status bar

Menu bar, toolbar and taskbar are common components in the software. This section will explain how to create menu bar and generate primary menu and secondary menu, how to add icons and controls in the toolbar, and how to display text in the taskbar. menu bar // First menu QMenu *menu1 = menuBar()->addMenu(tr("Menu bar 1")); // Cre ...

Posted on Sat, 04 Apr 2020 14:44:03 -0400 by SulleyMonstersInc

Learning notes of PyQt5

Learning PyQt Because I love it. Content reference from ARCHi's blog 1, Object oriented creation GUI 1. Create a graphical interface according to the following format class Example(QWidget): # The above can be inherited from QWidget and QMainWindow, indicating that they are controls or main windows respectively ...

Posted on Fri, 03 Apr 2020 16:16:51 -0400 by kwilameiya

[QT] QT getting started from scratch (6): QDockWidget docking window

QDockWidget                      .    common functions:    1 , addDockWidget: add a docking control to specify or change the location and direction of the docking control. void QMainWindow::addDockWidget(Qt::DockWid ...

Posted on Wed, 01 Apr 2020 23:14:54 -0400 by vMan

Mysql 5.7 for linux Installation binary

. check whether other versions of mysql are installed and uninstall (when installing linux, mysql is often installed by default.) [root@localhost ~]# yum list installed | grep mysql [root@localhost ~]# yum remove mysql-libs.x86_64 install 1. Download the installation package [root@localhost ~]# wget http://cdn.mysql. ...

Posted on Tue, 31 Mar 2020 23:05:34 -0400 by Norsk.Firefox

Qt print QR code

Add profile to printer support: QT += printsupport Create a new Widget project named MyQRCode, and create the qrlib folder in the project directory Download the tripartite support library from: https://github.com/nayuki/QR-Code-generator Copy the following six files in the cpp directory to the qrlib folder Add the qr library file to the ...

Posted on Sun, 29 Mar 2020 11:48:42 -0400 by jk11uk

PyQt5 Case Summary (concise version)

01 Menu Bar import sys from PyQt5.QtWidgets import QMainWindow, QAction, qApp, QApplication from PyQt5.QtGui import QIcon class Example(QMainWindow): def __init__(self): super().__init__() self.initUI() def initUI(self): exitAct = QAction(QIcon('exit.png'), '&Exit', self) exitAct.setShortcut('Ct ...

Posted on Fri, 27 Mar 2020 05:10:57 -0400 by mkoga

PYQT5 series - reference from long live Frank

Source: address of Jianshu Long live Frank Address of Jianshu PYQT5 (I) MAIN.PY standard start 1 import sys 2 from PyQt5.QtWidgets import QApplication 3 4 from lib.main_window import main_window 5 6 if __name__=='__main__': 7 app = QApplication(sys.argv) 8 m=main_window() 9 sys.exit(app.exec_()) PYQT5(2) solve the problem of sub ...

Posted on Mon, 23 Mar 2020 03:16:09 -0400 by dud3r

Detailed QtLocation: Implementing offline caching for custom LBS plug-ins

Write before Static plug-in parameters As mentioned earlier, we only have one on the QML side Map Objects, a wide variety of map sources are achieved by configuring the LBS plug-in; plug-in parameters can also be configured while configuring the plug-in PluginParameter For plug-in parameters that can be configured by the official LBS plug-in ...

Posted on Sun, 22 Mar 2020 15:52:54 -0400 by speedyslow

Use and optimization of the for loop: solving integer indefinite equations

qualitative analysis How do I get an integer solution to this equation? Reference Video Equation: Functions f1, f2, and f3: The derivative of F1 and f2, the slope of curve f, is theoretically steeper than that of f1, where F1 and F2 have only a limited number of intersections. The integer solution of the equation is the intersection of the ...

Posted on Fri, 20 Mar 2020 03:15:12 -0400 by koglakci