This commit is contained in:
Egor Deev 2021-12-01 20:21:19 +07:00 committed by GitHub
parent 0106d7bbff
commit 9bbeb9e1fb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 497 additions and 227 deletions

37
main.py
View file

@ -4,7 +4,6 @@ import sys
from PyQt5 import QtCore, QtWidgets, QtGui, uic from PyQt5 import QtCore, QtWidgets, QtGui, uic
from PyQt5.QtWidgets import QApplication, QMessageBox, QMainWindow, QTableWidgetItem from PyQt5.QtWidgets import QApplication, QMessageBox, QMainWindow, QTableWidgetItem
from PyQt5.QtWidgets import QWidget, QTableView, QTableWidget, QComboBox
if hasattr(QtCore.Qt, 'AA_EnableHighDpiScaling'): if hasattr(QtCore.Qt, 'AA_EnableHighDpiScaling'):
QtWidgets.QApplication.setAttribute(QtCore.Qt.AA_EnableHighDpiScaling, True) QtWidgets.QApplication.setAttribute(QtCore.Qt.AA_EnableHighDpiScaling, True)
@ -30,6 +29,9 @@ class MyWidget(QMainWindow): # Ui_MainWindow
self.check_but2.clicked.connect(self.check) self.check_but2.clicked.connect(self.check)
self.check_but3.clicked.connect(self.check) self.check_but3.clicked.connect(self.check)
# ЗАМЕТКИ
self.complete.clicked.connect(self.add_notes) # ДОБАВЛЕНИЕ
# ДАННЫЕ ТАБЛИЦЫ # ДАННЫЕ ТАБЛИЦЫ
self.table() self.table()
@ -52,7 +54,7 @@ class MyWidget(QMainWindow): # Ui_MainWindow
obj = "" obj = ""
subjects.append((obj, )) subjects.append((obj, ))
day.setColumnCount(1) day.setColumnCount(1)
day.setHorizontalHeaderLabels(["Предмет"]) day.horizontalHeader().setVisible(False)
day.setRowCount(0) day.setRowCount(0)
for i, row in enumerate(subjects): for i, row in enumerate(subjects):
@ -76,6 +78,29 @@ class MyWidget(QMainWindow): # Ui_MainWindow
except Exception: except Exception:
pass pass
# ЗАПОЛНЕНИЕ ВЫПАДАЮЩИХ СПИСКОВ CHOOSE 1 / 2
try:
with self.connection:
notes = self.cursor.execute('SELECT `note` FROM `notes`').fetchall()
notes = [i[0] for i in notes]
for choose_obj in [self.choose, self.choose_2]:
choose_obj.clear()
if self.choose == choose_obj:
choose_obj.insertItem(0, "Все за этот день!")
choose_obj.insertItems(1, notes)
else:
choose_obj.insertItems(0, notes)
except Exception:
pass
# НАСТРОЙКА ДИСПЛЕЕВ ДАТ
now = QtCore.QDateTime.currentDateTime()
for date in [self.date_1, self.date_2, self.date_3]:
date.setDateTime(now)
date.setDateRange(QtCore.QDate.currentDate().addDays(-365), QtCore.QDate.currentDate().addDays(365))
if self.date_1 == date:
date.setDisplayFormat("dd.MM.yyyy")
# ВСЕ ЗАМЕТКИ # ВСЕ ЗАМЕТКИ
with self.connection: with self.connection:
note = self.cursor.execute("SELECT `date`, `note` FROM notes").fetchall() note = self.cursor.execute("SELECT `date`, `note` FROM notes").fetchall()
@ -115,6 +140,7 @@ class MyWidget(QMainWindow): # Ui_MainWindow
except Exception: except Exception:
QMessageBox.about(self, 'Ошибка!', "Таблица данных не найдена!") QMessageBox.about(self, 'Ошибка!', "Таблица данных не найдена!")
# РАСПИСАНИЕ
def add(self): def add(self):
day = self.weekday1.currentIndex() day = self.weekday1.currentIndex()
obj = self.object1.currentIndex() obj = self.object1.currentIndex()
@ -227,8 +253,11 @@ class MyWidget(QMainWindow): # Ui_MainWindow
else: else:
self.table() self.table()
def notes(self): # ЗАМЕТКИ
pass def add_notes(self):
ind = self.choose.currentIndex()
if ind:
pass
def closeEvent(self, event): def closeEvent(self, event):
self.connection.close() self.connection.close()

687
rasp.ui
View file

@ -54,6 +54,8 @@
<property name="font"> <property name="font">
<font> <font>
<pointsize>14</pointsize> <pointsize>14</pointsize>
<weight>75</weight>
<bold>true</bold>
</font> </font>
</property> </property>
<property name="styleSheet"> <property name="styleSheet">
@ -62,17 +64,38 @@
<property name="text"> <property name="text">
<string>Вторник</string> <string>Вторник</string>
</property> </property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget> </widget>
</item> </item>
<item> <item>
<widget class="QTableWidget" name="Tue_school"/> <widget class="QTableWidget" name="Tue_school">
<property name="minimumSize">
<size>
<width>0</width>
<height>242</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>16777215</width>
<height>242</height>
</size>
</property>
<property name="font">
<font>
<pointsize>10</pointsize>
</font>
</property>
</widget>
</item> </item>
<item> <item>
<widget class="QTableWidget" name="Tue_note"> <widget class="QTableWidget" name="Tue_note">
<property name="maximumSize"> <property name="maximumSize">
<size> <size>
<width>16777215</width> <width>16777215</width>
<height>80</height> <height>16777215</height>
</size> </size>
</property> </property>
</widget> </widget>
@ -94,6 +117,8 @@
<property name="font"> <property name="font">
<font> <font>
<pointsize>14</pointsize> <pointsize>14</pointsize>
<weight>75</weight>
<bold>true</bold>
</font> </font>
</property> </property>
<property name="styleSheet"> <property name="styleSheet">
@ -102,17 +127,38 @@
<property name="text"> <property name="text">
<string>Среда</string> <string>Среда</string>
</property> </property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget> </widget>
</item> </item>
<item> <item>
<widget class="QTableWidget" name="Wed_school"/> <widget class="QTableWidget" name="Wed_school">
<property name="minimumSize">
<size>
<width>0</width>
<height>242</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>16777215</width>
<height>242</height>
</size>
</property>
<property name="font">
<font>
<pointsize>10</pointsize>
</font>
</property>
</widget>
</item> </item>
<item> <item>
<widget class="QTableWidget" name="Wed_note"> <widget class="QTableWidget" name="Wed_note">
<property name="maximumSize"> <property name="maximumSize">
<size> <size>
<width>16777215</width> <width>16777215</width>
<height>80</height> <height>16777215</height>
</size> </size>
</property> </property>
</widget> </widget>
@ -134,6 +180,8 @@
<property name="font"> <property name="font">
<font> <font>
<pointsize>14</pointsize> <pointsize>14</pointsize>
<weight>75</weight>
<bold>true</bold>
</font> </font>
</property> </property>
<property name="styleSheet"> <property name="styleSheet">
@ -142,17 +190,38 @@
<property name="text"> <property name="text">
<string>Четверг</string> <string>Четверг</string>
</property> </property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget> </widget>
</item> </item>
<item> <item>
<widget class="QTableWidget" name="Thu_school"/> <widget class="QTableWidget" name="Thu_school">
<property name="minimumSize">
<size>
<width>0</width>
<height>242</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>16777215</width>
<height>242</height>
</size>
</property>
<property name="font">
<font>
<pointsize>10</pointsize>
</font>
</property>
</widget>
</item> </item>
<item> <item>
<widget class="QTableWidget" name="Thu_note"> <widget class="QTableWidget" name="Thu_note">
<property name="maximumSize"> <property name="maximumSize">
<size> <size>
<width>16777215</width> <width>16777215</width>
<height>80</height> <height>16777215</height>
</size> </size>
</property> </property>
</widget> </widget>
@ -174,6 +243,8 @@
<property name="font"> <property name="font">
<font> <font>
<pointsize>14</pointsize> <pointsize>14</pointsize>
<weight>75</weight>
<bold>true</bold>
</font> </font>
</property> </property>
<property name="styleSheet"> <property name="styleSheet">
@ -182,17 +253,38 @@
<property name="text"> <property name="text">
<string>Суббота</string> <string>Суббота</string>
</property> </property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget> </widget>
</item> </item>
<item> <item>
<widget class="QTableWidget" name="Sat_school"/> <widget class="QTableWidget" name="Sat_school">
<property name="minimumSize">
<size>
<width>0</width>
<height>242</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>16777215</width>
<height>242</height>
</size>
</property>
<property name="font">
<font>
<pointsize>10</pointsize>
</font>
</property>
</widget>
</item> </item>
<item> <item>
<widget class="QTableWidget" name="Sat_note"> <widget class="QTableWidget" name="Sat_note">
<property name="maximumSize"> <property name="maximumSize">
<size> <size>
<width>16777215</width> <width>16777215</width>
<height>80</height> <height>16777215</height>
</size> </size>
</property> </property>
</widget> </widget>
@ -214,6 +306,8 @@
<property name="font"> <property name="font">
<font> <font>
<pointsize>14</pointsize> <pointsize>14</pointsize>
<weight>75</weight>
<bold>true</bold>
</font> </font>
</property> </property>
<property name="styleSheet"> <property name="styleSheet">
@ -222,17 +316,50 @@
<property name="text"> <property name="text">
<string>Понедельник</string> <string>Понедельник</string>
</property> </property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget> </widget>
</item> </item>
<item> <item>
<widget class="QTableWidget" name="Mon_school"/> <widget class="QTableWidget" name="Mon_school">
<property name="minimumSize">
<size>
<width>0</width>
<height>242</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>16777215</width>
<height>242</height>
</size>
</property>
<property name="font">
<font>
<pointsize>10</pointsize>
</font>
</property>
<property name="showGrid">
<bool>true</bool>
</property>
<property name="gridStyle">
<enum>Qt::SolidLine</enum>
</property>
<property name="wordWrap">
<bool>true</bool>
</property>
<property name="cornerButtonEnabled">
<bool>true</bool>
</property>
</widget>
</item> </item>
<item> <item>
<widget class="QTableWidget" name="Mon_note"> <widget class="QTableWidget" name="Mon_note">
<property name="maximumSize"> <property name="maximumSize">
<size> <size>
<width>16777215</width> <width>16777215</width>
<height>80</height> <height>16777215</height>
</size> </size>
</property> </property>
<property name="baseSize"> <property name="baseSize">
@ -445,6 +572,8 @@ QPushButton:hover{
<property name="font"> <property name="font">
<font> <font>
<pointsize>14</pointsize> <pointsize>14</pointsize>
<weight>75</weight>
<bold>true</bold>
</font> </font>
</property> </property>
<property name="styleSheet"> <property name="styleSheet">
@ -453,17 +582,38 @@ QPushButton:hover{
<property name="text"> <property name="text">
<string>Пятница</string> <string>Пятница</string>
</property> </property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget> </widget>
</item> </item>
<item> <item>
<widget class="QTableWidget" name="Fri_school"/> <widget class="QTableWidget" name="Fri_school">
<property name="minimumSize">
<size>
<width>0</width>
<height>242</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>16777215</width>
<height>242</height>
</size>
</property>
<property name="font">
<font>
<pointsize>10</pointsize>
</font>
</property>
</widget>
</item> </item>
<item> <item>
<widget class="QTableWidget" name="Fri_note"> <widget class="QTableWidget" name="Fri_note">
<property name="maximumSize"> <property name="maximumSize">
<size> <size>
<width>16777215</width> <width>16777215</width>
<height>80</height> <height>16777215</height>
</size> </size>
</property> </property>
</widget> </widget>
@ -1084,26 +1234,44 @@ QPushButton:hover{
</font> </font>
</property> </property>
<property name="currentIndex"> <property name="currentIndex">
<number>2</number> <number>0</number>
</property> </property>
<widget class="QWidget" name="Doing"> <widget class="QWidget" name="Doing">
<attribute name="title"> <attribute name="title">
<string>Сделать</string> <string>Сделать</string>
</attribute> </attribute>
<layout class="QVBoxLayout" name="verticalLayout_3"> <layout class="QHBoxLayout" name="horizontalLayout_2">
<item> <item>
<widget class="QWidget" name="default1" native="true"> <widget class="QWidget" name="widget_2" native="true">
<widget class="QPushButton" name="complete"> <property name="minimumSize">
<property name="geometry"> <size>
<rect> <width>231</width>
<x>10</x> <height>0</height>
<y>10</y> </size>
<width>211</width> </property>
<height>51</height> <property name="maximumSize">
</rect> <size>
</property> <width>231</width>
<property name="styleSheet"> <height>16777215</height>
<string notr="true">QPushButton { </size>
</property>
<layout class="QVBoxLayout" name="verticalLayout_13">
<item>
<widget class="QPushButton" name="complete">
<property name="minimumSize">
<size>
<width>211</width>
<height>51</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>211</width>
<height>51</height>
</size>
</property>
<property name="styleSheet">
<string notr="true">QPushButton {
padding:10px; padding:10px;
color: #fffff; color: #fffff;
font-size: 18px; font-size: 18px;
@ -1119,36 +1287,73 @@ QPushButton:hover{
effect.setColor(QColor(57, 219, 255)) effect.setColor(QColor(57, 219, 255))
QPushButton.setGraphicsEffect(effect) QPushButton.setGraphicsEffect(effect)
}</string> }</string>
</property> </property>
<property name="text"> <property name="text">
<string>Выполнено</string> <string>Выполнено</string>
</property> </property>
</widget> </widget>
<widget class="QDateTimeEdit" name="date_1"> </item>
<property name="geometry"> <item>
<rect> <widget class="QDateTimeEdit" name="date_1">
<x>10</x> <property name="minimumSize">
<y>70</y> <size>
<width>211</width> <width>211</width>
<height>51</height> <height>51</height>
</rect> </size>
</property> </property>
<property name="font"> <property name="maximumSize">
<font> <size>
<pointsize>12</pointsize> <width>211</width>
</font> <height>51</height>
</property> </size>
</widget> </property>
<widget class="QComboBox" name="choose"> <property name="font">
<property name="geometry"> <font>
<rect> <pointsize>12</pointsize>
<x>240</x> <weight>50</weight>
<y>10</y> <bold>false</bold>
<width>411</width> </font>
<height>51</height> </property>
</rect> <property name="layoutDirection">
</property> <enum>Qt::LeftToRight</enum>
</widget> </property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
<property name="buttonSymbols">
<enum>QAbstractSpinBox::UpDownArrows</enum>
</property>
</widget>
</item>
<item>
<widget class="QWidget" name="fake4" native="true"/>
</item>
</layout>
</widget>
</item>
<item>
<widget class="QWidget" name="widget_4" native="true">
<layout class="QVBoxLayout" name="verticalLayout_17">
<item>
<widget class="QComboBox" name="choose">
<property name="minimumSize">
<size>
<width>0</width>
<height>51</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>16777215</width>
<height>51</height>
</size>
</property>
</widget>
</item>
<item>
<widget class="QWidget" name="fake6" native="true"/>
</item>
</layout>
</widget> </widget>
</item> </item>
</layout> </layout>
@ -1162,21 +1367,34 @@ QPushButton:hover{
<widget class="QWidget" name="default2" native="true"> <widget class="QWidget" name="default2" native="true">
<property name="minimumSize"> <property name="minimumSize">
<size> <size>
<width>233</width> <width>231</width>
<height>0</height> <height>0</height>
</size> </size>
</property> </property>
<widget class="QPushButton" name="added"> <layout class="QVBoxLayout" name="verticalLayout_3">
<property name="geometry"> <item>
<rect> <widget class="QPushButton" name="added">
<x>10</x> <property name="minimumSize">
<y>10</y> <size>
<width>211</width> <width>211</width>
<height>51</height> <height>51</height>
</rect> </size>
</property> </property>
<property name="styleSheet"> <property name="maximumSize">
<string notr="true">QPushButton { <size>
<width>211</width>
<height>51</height>
</size>
</property>
<property name="font">
<font>
<pointsize>-1</pointsize>
<weight>50</weight>
<bold>false</bold>
</font>
</property>
<property name="styleSheet">
<string notr="true">QPushButton {
padding:10px; padding:10px;
color: #fffff; color: #fffff;
font-size: 18px; font-size: 18px;
@ -1192,26 +1410,42 @@ QPushButton:hover{
effect.setColor(QColor(57, 219, 255)) effect.setColor(QColor(57, 219, 255))
QPushButton.setGraphicsEffect(effect) QPushButton.setGraphicsEffect(effect)
}</string> }</string>
</property> </property>
<property name="text"> <property name="text">
<string>Добавить</string> <string>Добавить</string>
</property> </property>
</widget> </widget>
<widget class="QDateTimeEdit" name="date_2"> </item>
<property name="geometry"> <item>
<rect> <widget class="QDateTimeEdit" name="date_2">
<x>10</x> <property name="minimumSize">
<y>70</y> <size>
<width>211</width> <width>211</width>
<height>51</height> <height>51</height>
</rect> </size>
</property> </property>
<property name="font"> <property name="maximumSize">
<font> <size>
<pointsize>12</pointsize> <width>211</width>
</font> <height>51</height>
</property> </size>
</widget> </property>
<property name="font">
<font>
<pointsize>12</pointsize>
<weight>50</weight>
<bold>false</bold>
</font>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
</item>
<item>
<widget class="QWidget" name="fake7" native="true"/>
</item>
</layout>
</widget> </widget>
</item> </item>
<item> <item>
@ -1228,21 +1462,34 @@ QPushButton:hover{
<widget class="QWidget" name="default3" native="true"> <widget class="QWidget" name="default3" native="true">
<property name="minimumSize"> <property name="minimumSize">
<size> <size>
<width>233</width> <width>231</width>
<height>0</height> <height>0</height>
</size> </size>
</property> </property>
<widget class="QPushButton" name="update"> <layout class="QVBoxLayout" name="verticalLayout_19">
<property name="geometry"> <item>
<rect> <widget class="QPushButton" name="update">
<x>10</x> <property name="minimumSize">
<y>10</y> <size>
<width>211</width> <width>211</width>
<height>51</height> <height>51</height>
</rect> </size>
</property> </property>
<property name="styleSheet"> <property name="maximumSize">
<string notr="true">QPushButton { <size>
<width>211</width>
<height>51</height>
</size>
</property>
<property name="font">
<font>
<pointsize>-1</pointsize>
<weight>50</weight>
<bold>false</bold>
</font>
</property>
<property name="styleSheet">
<string notr="true">QPushButton {
padding:10px; padding:10px;
color: #fffff; color: #fffff;
font-size: 18px; font-size: 18px;
@ -1258,36 +1505,58 @@ QPushButton:hover{
effect.setColor(QColor(57, 219, 255)) effect.setColor(QColor(57, 219, 255))
QPushButton.setGraphicsEffect(effect) QPushButton.setGraphicsEffect(effect)
}</string> }</string>
</property> </property>
<property name="text"> <property name="text">
<string>Обновить</string> <string>Обновить</string>
</property> </property>
</widget> </widget>
<widget class="QDateTimeEdit" name="date_3"> </item>
<property name="geometry"> <item>
<rect> <widget class="QDateTimeEdit" name="date_3">
<x>10</x> <property name="minimumSize">
<y>70</y> <size>
<width>211</width> <width>211</width>
<height>51</height> <height>51</height>
</rect> </size>
</property> </property>
<property name="font"> <property name="maximumSize">
<font> <size>
<pointsize>12</pointsize> <width>211</width>
</font> <height>51</height>
</property> </size>
</widget> </property>
<widget class="QComboBox" name="choose_2"> <property name="font">
<property name="geometry"> <font>
<rect> <pointsize>12</pointsize>
<x>10</x> <weight>50</weight>
<y>130</y> <bold>false</bold>
<width>211</width> </font>
<height>51</height> </property>
</rect> <property name="alignment">
</property> <set>Qt::AlignCenter</set>
</widget> </property>
</widget>
</item>
<item>
<widget class="QComboBox" name="choose_2">
<property name="minimumSize">
<size>
<width>211</width>
<height>51</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>211</width>
<height>51</height>
</size>
</property>
</widget>
</item>
<item>
<widget class="QWidget" name="fake8" native="true"/>
</item>
</layout>
</widget> </widget>
</item> </item>
<item> <item>
@ -1324,98 +1593,69 @@ QPushButton:hover{
<property name="alignment"> <property name="alignment">
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set> <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
</property> </property>
<widget class="QWidget" name="default4" native="true"> <layout class="QVBoxLayout" name="verticalLayout_20">
<property name="geometry"> <item>
<rect> <widget class="QComboBox" name="choosedate">
<x>10</x> <property name="minimumSize">
<y>20</y> <size>
<width>241</width> <width>0</width>
<height>221</height> <height>31</height>
</rect> </size>
</property>
<property name="styleSheet">
<string notr="true">QPushButton {
padding:10px;
color: #fffff;
font-size: 18px;
border-radius: 10px;
border: 1px solid #3873d9;
background-color: white; }
QPushButton:before {
content:'';
position: absolute;
top: 0;
left: 0;
width: 0;
height: 42px;
background: rgba(255,255,255,0.3);
border-radius: 5px;
transition: all 2s ease;
}
QPushButton:hover:before {
width: 100%;
}</string>
</property>
<widget class="QComboBox" name="choosedate">
<property name="geometry">
<rect>
<x>10</x>
<y>10</y>
<width>221</width>
<height>31</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>10</pointsize>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<item>
<property name="text">
<string>За всё время</string>
</property> </property>
</item> <property name="maximumSize">
<item> <size>
<property name="text"> <width>16777215</width>
<string>За месяц</string> <height>31</height>
</size>
</property> </property>
</item> <property name="font">
<item> <font>
<property name="text"> <pointsize>10</pointsize>
<string>За неделю</string> <weight>75</weight>
<bold>true</bold>
</font>
</property> </property>
</item> <item>
<item> <property name="text">
<property name="text"> <string>За всё время</string>
<string>На опред. дату</string> </property>
</item>
<item>
<property name="text">
<string>На месяц</string>
</property>
</item>
<item>
<property name="text">
<string>На неделю</string>
</property>
</item>
</widget>
</item>
<item>
<widget class="QWidget" name="fake9" native="true"/>
</item>
<item>
<widget class="QPushButton" name="showing">
<property name="minimumSize">
<size>
<width>0</width>
<height>41</height>
</size>
</property> </property>
</item> <property name="maximumSize">
<item> <size>
<property name="text"> <width>16777215</width>
<string>На опред. время</string> <height>41</height>
</size>
</property> </property>
</item> <property name="font">
</widget> <font>
<widget class="QPushButton" name="showing"> <pointsize>-1</pointsize>
<property name="geometry"> </font>
<rect> </property>
<x>10</x> <property name="styleSheet">
<y>170</y> <string notr="true">QPushButton {
<width>221</width>
<height>41</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>-1</pointsize>
</font>
</property>
<property name="styleSheet">
<string notr="true">QPushButton {
padding:10px; padding:10px;
color: #fffff; color: #fffff;
font-size: 18px; font-size: 18px;
@ -1431,12 +1671,13 @@ QPushButton:hover{
effect.setColor(QColor(57, 219, 255)) effect.setColor(QColor(57, 219, 255))
QPushButton.setGraphicsEffect(effect) QPushButton.setGraphicsEffect(effect)
}</string> }</string>
</property> </property>
<property name="text"> <property name="text">
<string>Показать</string> <string>Показать</string>
</property> </property>
</widget> </widget>
</widget> </item>
</layout>
</widget> </widget>
</item> </item>
</layout> </layout>

BIN
table.db

Binary file not shown.