###To laptop
Specify an IP address to eth0 (here 192.168.56.1)
sudo ifconfig eth0 192.168.56.1 netmask 255.255.255.0
# first get the window size | |
> .\adb.exe shell wm size | |
Physical size: 1440x3200 | |
# Second change to lower size depending on dead area | |
> .\adb.exe shell wm size 1440x3100 |
cmake_minimum_required(VERSION 3.5) | |
project(DBusTest) | |
find_package(Qt5 CONFIG REQUIRED Core DBus) | |
set(prog_SRCS my.test.Calculator.xml) | |
qt5_generate_dbus_interface(Calc.hh | |
my.test.Calculator.xml | |
OPTIONS -A | |
) |
""" | |
Example with Signal-Slot system from QT | |
When generate data, sends and load on the Gui's text widget | |
""" | |
import sys | |
from PyQt5.QtCore import QObject, pyqtSignal, QSharedMemory | |
from PyQt5.QtWidgets import QApplication | |
from PyQt5.QtWidgets import QMainWindow |