Commit 35180112 authored by IT19953748_D D P Kumara's avatar IT19953748_D D P Kumara

Merge branch 'revert-ae92be9b' into 'master'

Revert "Merge branch 'revert-fc896112' into 'master'"

See merge request !4
parents ae92be9b 314000f7
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>Dialog</class>
<widget class="QDialog" name="Dialog">
<property name="enabled">
<bool>true</bool>
</property>
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>1371</width>
<height>768</height>
</rect>
</property>
<property name="windowTitle">
<string>Dialog</string>
</property>
<widget class="QLabel" name="background">
<property name="enabled">
<bool>true</bool>
</property>
<property name="geometry">
<rect>
<x>-10</x>
<y>0</y>
<width>1391</width>
<height>771</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true">background-color:qlineargradient(spread:pad, x1:0, y1:0, x2:1, y2:0, stop:0 rgba(0, 0, 0, 255), stop:1 rgba(180, 180, 180, 255))</string>
</property>
<property name="text">
<string>bcakgtound_gi</string>
</property>
</widget>
<widget class="QLabel" name="label">
<property name="geometry">
<rect>
<x>440</x>
<y>60</y>
<width>521</width>
<height>581</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true"> background-color:rgb(145, 145, 145);
border-style: outset;
border-width: 2px;
border-radius: 10px;
border-color: rgb(0, 85, 255);
font: bold 14px;
min-width: 10em;
padding: 6px;</string>
</property>
<property name="text">
<string/>
</property>
</widget>
<widget class="QLabel" name="label_2">
<property name="geometry">
<rect>
<x>590</x>
<y>110</y>
<width>201</width>
<height>251</height>
</rect>
</property>
<property name="text">
<string/>
</property>
<property name="pixmap">
<pixmap>Sri_Lanka_Police_logo.svg.png</pixmap>
</property>
<property name="scaledContents">
<bool>true</bool>
</property>
</widget>
<widget class="QLineEdit" name="lineEdit">
<property name="geometry">
<rect>
<x>650</x>
<y>460</y>
<width>191</width>
<height>31</height>
</rect>
</property>
</widget>
<widget class="QLineEdit" name="lineEdit_2">
<property name="geometry">
<rect>
<x>650</x>
<y>510</y>
<width>191</width>
<height>31</height>
</rect>
</property>
</widget>
<widget class="QLabel" name="label_3">
<property name="geometry">
<rect>
<x>530</x>
<y>460</y>
<width>81</width>
<height>21</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true">
font: bold 14px;
</string>
</property>
<property name="text">
<string>User name</string>
</property>
</widget>
<widget class="QLabel" name="label_4">
<property name="geometry">
<rect>
<x>530</x>
<y>510</y>
<width>91</width>
<height>31</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true"> font: bold 14px;</string>
</property>
<property name="text">
<string>Password</string>
</property>
</widget>
</widget>
<resources/>
<connections/>
</ui>
import sys
from PyQt5 import QtWidgets,Qt
from PyQt5.QtWidgets import QDialog, QApplication
from PyQt5.uic import loadUi
from PyQt5 import QtGui,QtWidgets,QtCore
import numpy as np
import cv2
import sys
from PyQt5.QtWidgets import QWidget, QLabel, QApplication,QListWidgetItem
from PyQt5.QtCore import QThread, Qt, pyqtSignal, pyqtSlot,QTimer
from PyQt5.QtGui import QImage, QPixmap
from PyQt5.QtCore import QTimer, QTime, Qt
import imutils
from multiprocessing import Process
from PyQt5 import QtWidgets, QtGui
import os
from datetime import datetime,date
import time
import datetime
import threading
###############################################
class MainWindow(QDialog):
def __init__(self):
super(MainWindow,self).__init__()
loadUi("main_system.ui",self)
# self.tableWidget.setColumnWidth(0, 350)
# self.tableWidget.setColumnWidth(1, 200)
#
# self.tableWidget.setItem(0, 0, QtWidgets.QTableWidgetItem(('eee')))
# self.tableWidget.setItem(0, 1, QtWidgets.QTableWidgetItem(('24')))
# self.tableWidget.setItem(0, 2, QtWidgets.QTableWidgetItem(('95e')))
# self.tableWidget.setItem(0, 3, QtWidgets.QTableWidgetItem(('pile')))
# self.tableWidget.setItem(0, 4, QtWidgets.QTableWidgetItem(('ee')))
# self.tableWidget.setItem(0, 5, QtWidgets.QTableWidgetItem(('ee')))
#QListWidgetItem("Geeks", self.listView)
# QListWidgetItem("For", listWidget)
# QListWidgetItem("Geeks", listWidget)
#self.listView.QListWidgetItem("Geeks")
if __name__ == '__main__':
#p = Process(target=MainWindow.game_engin)
app=QApplication(sys.argv)
mainwindow=MainWindow()
widget=QtWidgets.QStackedWidget()
widget.addWidget(mainwindow)
widget.setFixedWidth(1336)
widget.setFixedHeight(768)
widget.show()
app.exec_()
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>Dialog</class>
<widget class="QDialog" name="Dialog">
<property name="enabled">
<bool>true</bool>
</property>
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>1371</width>
<height>768</height>
</rect>
</property>
<property name="windowTitle">
<string>Dialog</string>
</property>
<widget class="QLabel" name="background">
<property name="enabled">
<bool>true</bool>
</property>
<property name="geometry">
<rect>
<x>-10</x>
<y>0</y>
<width>1391</width>
<height>771</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true">background-color:qlineargradient(spread:pad, x1:0, y1:0, x2:1, y2:0, stop:0 rgba(0, 0, 0, 255), stop:1 rgba(180, 180, 180, 255))</string>
</property>
<property name="text">
<string>bcakgtound_gi</string>
</property>
</widget>
<widget class="QLabel" name="dp_pic">
<property name="geometry">
<rect>
<x>130</x>
<y>80</y>
<width>271</width>
<height>261</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true"> border-style: outset;
border-width: 5px;
border-color: rgb(255, 0, 0);
</string>
</property>
<property name="text">
<string/>
</property>
<property name="pixmap">
<pixmap>professor.jpg</pixmap>
</property>
<property name="scaledContents">
<bool>true</bool>
</property>
</widget>
<widget class="QTableWidget" name="tableWidget">
<property name="geometry">
<rect>
<x>570</x>
<y>80</y>
<width>551</width>
<height>271</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true"> border-style: outset;
border-width: 2px;
border-radius: 10px;
border-color: rgb(0, 0, 255);
font: bold 14px;
min-width: 10em;
padding: 2px;</string>
</property>
<row>
<property name="text">
<string>Name</string>
</property>
</row>
<row>
<property name="text">
<string>Age</string>
</property>
</row>
<row>
<property name="text">
<string>ID Card Number</string>
</property>
</row>
<row>
<property name="text">
<string>Address</string>
</property>
</row>
<row>
<property name="text">
<string>Skin Color</string>
</property>
</row>
<row>
<property name="text">
<string>Hair Color</string>
</property>
</row>
<column>
<property name="text">
<string>details</string>
</property>
</column>
</widget>
<widget class="QPushButton" name="next_pg">
<property name="geometry">
<rect>
<x>1120</x>
<y>670</y>
<width>186</width>
<height>41</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true"> background-color: rgb(85, 255, 0);
border-style: outset;
border-width: 2px;
border-radius: 10px;
border-color: beige;
font: bold 14px;
min-width: 10em;
padding: 6px;</string>
</property>
<property name="text">
<string>Next</string>
</property>
</widget>
<widget class="QPushButton" name="pushButton_3">
<property name="geometry">
<rect>
<x>90</x>
<y>670</y>
<width>186</width>
<height>41</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true"> background-color: rgb(85, 255, 0);
border-style: outset;
border-width: 2px;
border-radius: 10px;
border-color: beige;
font: bold 14px;
min-width: 10em;
padding: 6px;</string>
</property>
<property name="text">
<string>Back</string>
</property>
</widget>
<widget class="QListView" name="listView">
<property name="geometry">
<rect>
<x>130</x>
<y>420</y>
<width>1001</width>
<height>191</height>
</rect>
</property>
</widget>
</widget>
<resources/>
<connections/>
</ui>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment