add QAD::VirtualKeyboard library, vkbd for widgets with JSON-based description

This commit is contained in:
2024-05-29 21:42:16 +03:00
parent 85adc666ef
commit ac0f5bc325
18 changed files with 871 additions and 3 deletions

View File

@@ -0,0 +1,74 @@
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>VirtualKeyboard</class>
<widget class="QWidget" name="VirtualKeyboard">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>565</width>
<height>389</height>
</rect>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="styleSheet">
<string notr="true">QWidget{
background-color: black;
}
QToolButton{
background-color: rgb(64,64,64);
color: white;
}
QToolButton:pressed{
background-color: rgb(48,48,48);
}
QToolButton:disabled{
background-color: rgb(32,32,32);
color: rgb(128,128,128);
}
QToolButton:checked{
background-color: rgb(52,52,52);
color: rgb(92,192,92);
}
</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<property name="spacing">
<number>0</number>
</property>
<property name="leftMargin">
<number>0</number>
</property>
<property name="topMargin">
<number>0</number>
</property>
<property name="rightMargin">
<number>0</number>
</property>
<property name="bottomMargin">
<number>0</number>
</property>
<item>
<widget class="QStackedWidget" name="stackedPages">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="styleSheet">
<string notr="true">font:14pt</string>
</property>
</widget>
</item>
</layout>
</widget>
<layoutdefault spacing="6" margin="11"/>
<resources/>
<connections/>
</ui>