Tag:Resolving power

  • The method of realizing font size adaptive resolution with pyqt5

    Time:2019-12-10

    Recently, we have encountered a phenomenon that running a good software on a higher resolution computer will lead to incomplete font display and occlusion by controls. Specific reasons can be inquired online, and solutions will be recorded here. Two methods are recorded here. If the QT version used is later than 5.6.0, it can support […]

  • The method of obtaining the resolution of display by pyqt5

    Time:2019-12-9

    The code is as follows import sys from PyQt5.QtWidgets import QApplication, QWidget class Example(QWidget): def __init__(self): super().__init__() self.initUI() #Interface drawing to initui method def initUI(self): self.desktop = QApplication.desktop() #Get display resolution size self.screenRect = self.desktop.screenGeometry() self.height = self.screenRect.height() self.width = self.screenRect.width() print(self.height) print(self.width) #Show window self.show() if __name__ == ‘__main__’: #Create applications and objects app […]

  • [vncserver] centos7.4 install VNC to connect Huawei cloud or Amazon cloud

    Time:2019-11-26

    1.1 document background CentOS 7 / RHEL 7 deployment graphical interface Install vncserver to realize desktop operation of virtual machine in Linux system and ordinary users   2. Vncserver server deployment 2.1 install vncserver Update package, install desktop yum install -y tigervnc-server xorg-x11-fonts-Type1 yum -y groupinstall gnome   2.2 configure vncserver 1. Copy configuration file […]

  • Carding the key process of hard solution at mobile end

    Time:2019-8-19

    There are many articles introducing the use of Android/iOS hard solution in mobile terminal. Based on the author’s experience in practical development, this paper will draw out several key parts to share with you, aiming at solving the problems of flower screen, green screen and incomplete playback that may be encountered in practical work.This paper […]

  • A Method of Modifying the Resolution of Centos System in Virtual Machine

    Time:2019-8-14

    The default resolution of CentOS system installed by VMware virtual machine is very low. The resolution of CentOS system in virtual machine can be modified by the following methods. Let’s go with Xiaobian. 1,# vi /boot/grub/grub.conf 2. Find the line of the kernel.For example: kernel/vmlinuz-2.6.32-504.el6.x86_64 ro root=/dev/mapper/vg_centos6-lv_root rd_NO_LUKS rd_NO_MD rd_LVM_LV=vg_centos6/lv_swap crashkernel=auto LANG=zh_CN.UTF-8_LVM_Lrd=vg_quietos6/lv_root KEBOYDT=pKE_BLE=pgrh_BLE 3. Add VGA […]

  • How does CentOS 7.0 set screen resolution?

    Time:2019-3-15

    How does CentOS 7.0 modify screen resolution? The resolution of the computer screen is not very clear. If you want to reset it, how do you set it? Now let’s take a look at the detailed tutorial. 1. Click“Application”“System Tools”→“Set up” 2. Click“display” 3. Click“Unknown Dislay” 4. Select the resolution size and click“Application “Button 5、“Restore […]