Qt::QWidget has no default method for modifying the size by dragging the title bar border

  This article is reproduced from: Qt::QWidget has no default title bar border. How to modify the size - childe Kaiming - blog Garden Development environment: win10+vs2015+qt5.9.1 Background: in the development process, the title bar and border provided by the system are rarely used; They often customize a scheme designed by themselves. ...

Posted by bkbragg on Thu, 30 Sep 2021 14:51:31 -0700

Count the number of various types of files in a specific directory (shell&c + +)

Shell language This problem uses command line + bat (windows batch file) to realize query. There are two main methods. The first is to use dir command and find command to count the number of various types of files in a specific directory; The second is to use the for statement to traverse and count the files in a specific directory, as follows: ...

Posted by LiquidEagle on Tue, 28 Sep 2021 12:03:56 -0700

Installing ROS noedic under Windows

Installing ROS noedic under Windows 1. System requirements ROS for Windows requires 64 bit Windows 10 Desktop or Windows 10 IoT Enterprise. Make sure you have installed Powershell and are in the system path. Exclude c:\opt (and subsequent workspace folders) from the real-time virus scanner because they interfere with installation and devel ...

Posted by EvilWalrus on Sun, 26 Sep 2021 03:33:53 -0700

Windows Terminal installation and beautification

1 Overview In my last article, we learned how to quickly build various development environments through Scoop and WSL, but did you find that the default powershell is ugly and difficult to use. Today, I teach you how to install and beautify Windows Terminal. Windows Terminal is an ideal matching for WSL2. It is fast, configurable and beautiful ...

Posted by EverLearning on Thu, 23 Sep 2021 17:49:01 -0700

[audio and video] camera acquisition (2-1)

Starting from this article, the author's journey of audio and video programming is about to enter the second stage. On the basis of collecting the playable files such as desktop, microphone and speaker written as mp4|mkv, the acquisition of camera is added. The camera can replace the desktop as the video input source, or the two video streams o ...

Posted by kwong on Tue, 21 Sep 2021 16:19:34 -0700

Working principle and code of socket communication

Question: 1. What is the socket communication mechanism? The official explanation is: The most commonly used scheme in network programming is the client / server model. In this scenario, the client application requests services from the server program. A service program usually listens for requests for services at a well-known address, that is, ...

Posted by andynick on Mon, 20 Sep 2021 05:41:02 -0700

Beginners can also learn, from 0 to the Deployment yolov5 tutorial, Windows Linux PC arm Jeston Platform-wide Deployment-

Continue with the previous article on training your own dataset using yolov5. This article will show you how to deploy yolov5 using Msnhnet on windows and linux, pc and jetson nx platforms. pytorch model to msnhnet Open the terminal under the yolov5 folder. Copy best.pt to the weights folder. Execute python yolov5ToMsnhnet.py The content ...

Posted by Matth_S on Sun, 19 Sep 2021 08:56:36 -0700

LVM Disk Management

1. Introduction to LVM LVM is an abbreviation of Logical Volume Manager (Logical Volume Management), which connects several disks or disk partitions into a single block volume group to form a storage pool.Administrators can arbitrarily create logical volumes on volume groups and further create file systems on logical volumes.Administrators can ...

Posted by toplay on Mon, 06 Sep 2021 18:08:58 -0700

SELinux autonomous access control system for Linux

What is SELinux selinux(security enhanced linux) is a security enhanced linux system. It is not only a linux kernel module, but also a security subsystem of linux. Role of SELinux The main function of selinux is to minimize the resources accessible by the service process in the system (the principle of minimum permission) SELinux's permissi ...

Posted by wezalmighty on Sun, 05 Sep 2021 11:42:18 -0700

The Ubuntu 20.04 subsystem of windows 10 installs the GUI interface gnome and uses remote connection

1. Configure Windows system settings 1.1 developer options You need to turn on the developer option in the settings. 1.2 subsystem options You need to check the Windows subsystem for Linux in the control panel. 2. WSL version If there are no requirements for the GUI of Ubuntu subsystem, you can skip this step. However, if you want ...

Posted by mcloan on Sun, 05 Sep 2021 10:03:38 -0700