From faca38eb663b93e4ded3279e444d3e71af9473a7 Mon Sep 17 00:00:00 2001
From: Mustafa Gundogdu <103361276+mustafagundogdu80@users.noreply.github.com>
Date: Mon, 10 Mar 2025 02:44:14 +0100
Subject: [PATCH] CRM_DB
You can find all our work at https://github.com/mustafagundogdu80/Python_VIT.
---
AdminMenu.py | 230 ++++++++++++
AdminMenu.ui | 322 +++++++++++++++++
AdminMenu_ui.py | 220 ++++++++++++
Application.py | 521 +++++++++++++++++++++++++++
Application.ui | 799 +++++++++++++++++++++++++++++++++++++++++
Application2_ui.py | 351 ++++++++++++++++++
Application3.py | 486 +++++++++++++++++++++++++
Application3.ui | 698 +++++++++++++++++++++++++++++++++++
Application3_ui.py | 438 ++++++++++++++++++++++
Application_ui.py | 511 ++++++++++++++++++++++++++
MainMenu.py | 252 +++++++++++++
MainMenu.ui | 415 +++++++++++++++++++++
MainMenu_ui.py | 242 +++++++++++++
Mentor.py | 380 ++++++++++++++++++++
Mentor.ui | 567 +++++++++++++++++++++++++++++
Mentor_ui.py | 368 +++++++++++++++++++
README.md | 44 +--
cloud_connect_file.zip | Bin 0 -> 2981 bytes
dbconnection.py | 300 ++++++++++++++++
file_transactions.py | 30 ++
googledrive.py | 215 +++++++++++
interviews.py | 338 +++++++++++++++++
interviews.ui | 482 +++++++++++++++++++++++++
interviews_ui.py | 324 +++++++++++++++++
login.py | 338 +++++++++++++++++
login.ui | 543 ++++++++++++++++++++++++++++
login_ui.py | 328 +++++++++++++++++
mail.py | 134 +++++++
main.py | 533 +++++++++++++++++++++++++++
29 files changed, 10377 insertions(+), 32 deletions(-)
create mode 100644 AdminMenu.py
create mode 100644 AdminMenu.ui
create mode 100644 AdminMenu_ui.py
create mode 100644 Application.py
create mode 100644 Application.ui
create mode 100644 Application2_ui.py
create mode 100644 Application3.py
create mode 100644 Application3.ui
create mode 100644 Application3_ui.py
create mode 100644 Application_ui.py
create mode 100644 MainMenu.py
create mode 100644 MainMenu.ui
create mode 100644 MainMenu_ui.py
create mode 100644 Mentor.py
create mode 100644 Mentor.ui
create mode 100644 Mentor_ui.py
create mode 100644 cloud_connect_file.zip
create mode 100644 dbconnection.py
create mode 100644 file_transactions.py
create mode 100644 googledrive.py
create mode 100644 interviews.py
create mode 100644 interviews.ui
create mode 100644 interviews_ui.py
create mode 100644 login.py
create mode 100644 login.ui
create mode 100644 login_ui.py
create mode 100644 mail.py
create mode 100644 main.py
diff --git a/AdminMenu.py b/AdminMenu.py
new file mode 100644
index 0000000..c0bcb94
--- /dev/null
+++ b/AdminMenu.py
@@ -0,0 +1,230 @@
+# Form implementation generated from reading ui file 'AdminMenu.ui'
+#
+# Created by: PyQt6 UI code generator 6.8.0
+#
+# WARNING: Any manual changes made to this file will be lost when pyuic6 is
+# run again. Do not edit this file unless you know what you are doing.
+
+
+from PyQt6 import QtCore, QtGui, QtWidgets
+
+
+class Ui_mwAdminMenu(object):
+ def setupUi(self, mwAdminMenu):
+ mwAdminMenu.setObjectName("mwAdminMenu")
+ mwAdminMenu.resize(1001, 601)
+ mwAdminMenu.setBaseSize(QtCore.QSize(1050, 700))
+ mwAdminMenu.setStyleSheet("QWidget {\n"
+" font: 11pt \"MS Shell Dlg 2\";\n"
+" background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, \n"
+" stop:0 rgba(173, 216, 230, 255), \n"
+" stop:1 rgba(255, 255, 255, 255));\n"
+"};\n"
+"")
+ self.centralwidget = QtWidgets.QWidget(parent=mwAdminMenu)
+ self.centralwidget.setObjectName("centralwidget")
+ self.horizontalLayout_2 = QtWidgets.QHBoxLayout(self.centralwidget)
+ self.horizontalLayout_2.setObjectName("horizontalLayout_2")
+ self.frame = QtWidgets.QFrame(parent=self.centralwidget)
+ self.frame.setMinimumSize(QtCore.QSize(8, 132))
+ self.frame.setSizeIncrement(QtCore.QSize(7, 51))
+ self.frame.setBaseSize(QtCore.QSize(37, 65))
+ self.frame.setFrameShape(QtWidgets.QFrame.Shape.NoFrame)
+ self.frame.setObjectName("frame")
+ self.verticalLayout = QtWidgets.QVBoxLayout(self.frame)
+ self.verticalLayout.setObjectName("verticalLayout")
+ self.pbActionControl = QtWidgets.QPushButton(parent=self.frame)
+ self.pbActionControl.setCursor(QtGui.QCursor(QtCore.Qt.CursorShape.PointingHandCursor))
+ self.pbActionControl.setStyleSheet("QPushButton {\n"
+" \n"
+" background-color: #008CBA;\n"
+" color: white;\n"
+" padding: 10px;\n"
+" font-size: 14px;\n"
+"font: 11pt \"MS Shell Dlg 2\";\n"
+" border: none;\n"
+" border-radius: 10px;\n"
+" margin: 5px;\n"
+"}\n"
+"QPushButton:hover {\n"
+" background-color: #007B9E;\n"
+"}\n"
+"QPushButton:pressed {\n"
+" background-color: #005f73;\n"
+"}\n"
+"")
+ icon = QtGui.QIcon()
+ icon.addPixmap(QtGui.QPixmap("icons/calendar.svg"), QtGui.QIcon.Mode.Normal, QtGui.QIcon.State.Off)
+ self.pbActionControl.setIcon(icon)
+ self.pbActionControl.setIconSize(QtCore.QSize(40, 40))
+ self.pbActionControl.setObjectName("pbActionControl")
+ self.verticalLayout.addWidget(self.pbActionControl)
+ self.pbSendMail = QtWidgets.QPushButton(parent=self.frame)
+ self.pbSendMail.setCursor(QtGui.QCursor(QtCore.Qt.CursorShape.PointingHandCursor))
+ self.pbSendMail.setStyleSheet("QPushButton {\n"
+" \n"
+" background-color: #008CBA;\n"
+" color: white;\n"
+" padding: 10px;\n"
+" font-size: 14px;\n"
+"font: 11pt \"MS Shell Dlg 2\";\n"
+" border: none;\n"
+" border-radius: 10px;\n"
+" margin: 5px;\n"
+"}\n"
+"QPushButton:hover {\n"
+" background-color: #007B9E;\n"
+"}\n"
+"QPushButton:pressed {\n"
+" background-color: #005f73;\n"
+"}\n"
+"")
+ icon1 = QtGui.QIcon()
+ icon1.addPixmap(QtGui.QPixmap("icons/send-message.svg"), QtGui.QIcon.Mode.Normal, QtGui.QIcon.State.Off)
+ self.pbSendMail.setIcon(icon1)
+ self.pbSendMail.setIconSize(QtCore.QSize(40, 40))
+ self.pbSendMail.setObjectName("pbSendMail")
+ self.verticalLayout.addWidget(self.pbSendMail)
+ self.pbPreferedAdmin = QtWidgets.QPushButton(parent=self.frame)
+ self.pbPreferedAdmin.setCursor(QtGui.QCursor(QtCore.Qt.CursorShape.PointingHandCursor))
+ self.pbPreferedAdmin.setStyleSheet("QPushButton {\n"
+" \n"
+" background-color: #008CBA;\n"
+" color: white;\n"
+" padding: 10px;\n"
+" font-size: 14px;\n"
+"font: 11pt \"MS Shell Dlg 2\";\n"
+" border: none;\n"
+" border-radius: 10px;\n"
+" margin: 5px;\n"
+"}\n"
+"QPushButton:hover {\n"
+" background-color: #007B9E;\n"
+"}\n"
+"QPushButton:pressed {\n"
+" background-color: #005f73;\n"
+"}\n"
+"")
+ icon2 = QtGui.QIcon()
+ icon2.addPixmap(QtGui.QPixmap("icons/news.svg"), QtGui.QIcon.Mode.Normal, QtGui.QIcon.State.Off)
+ self.pbPreferedAdmin.setIcon(icon2)
+ self.pbPreferedAdmin.setIconSize(QtCore.QSize(40, 40))
+ self.pbPreferedAdmin.setObjectName("pbPreferedAdmin")
+ self.verticalLayout.addWidget(self.pbPreferedAdmin)
+ self.pbExit = QtWidgets.QPushButton(parent=self.frame)
+ self.pbExit.setCursor(QtGui.QCursor(QtCore.Qt.CursorShape.PointingHandCursor))
+ self.pbExit.setStyleSheet("QPushButton {\n"
+" \n"
+" background-color: #008CBA;\n"
+" color: white;\n"
+" padding: 10px;\n"
+" font-size: 14px;\n"
+"font: 11pt \"MS Shell Dlg 2\";\n"
+" border: none;\n"
+" border-radius: 10px;\n"
+" margin: 5px;\n"
+"}\n"
+"QPushButton:hover {\n"
+" background-color: #007B9E;\n"
+"}\n"
+"QPushButton:pressed {\n"
+" background-color: #005f73;\n"
+"}\n"
+"")
+ icon3 = QtGui.QIcon()
+ icon3.addPixmap(QtGui.QPixmap("icons/power.svg"), QtGui.QIcon.Mode.Normal, QtGui.QIcon.State.Off)
+ self.pbExit.setIcon(icon3)
+ self.pbExit.setIconSize(QtCore.QSize(50, 50))
+ self.pbExit.setObjectName("pbExit")
+ self.verticalLayout.addWidget(self.pbExit)
+ spacerItem = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Policy.Minimum, QtWidgets.QSizePolicy.Policy.Expanding)
+ self.verticalLayout.addItem(spacerItem)
+ self.horizontalLayout_2.addWidget(self.frame)
+ self.frame_2 = QtWidgets.QFrame(parent=self.centralwidget)
+ self.frame_2.setFrameShape(QtWidgets.QFrame.Shape.NoFrame)
+ self.frame_2.setObjectName("frame_2")
+ self.verticalLayout_2 = QtWidgets.QVBoxLayout(self.frame_2)
+ self.verticalLayout_2.setObjectName("verticalLayout_2")
+ self.tableWidget = QtWidgets.QTableWidget(parent=self.frame_2)
+ font = QtGui.QFont()
+ font.setFamily("MS Shell Dlg 2")
+ font.setPointSize(11)
+ font.setBold(False)
+ font.setItalic(False)
+ self.tableWidget.setFont(font)
+ self.tableWidget.setStyleSheet("QTableWidget {\n"
+" \n"
+" font-size: 14px;\n"
+"font: 11pt \"MS Shell Dlg 2\";\n"
+" background-color: #f9f9f9;\n"
+" alternate-background-color: #e0e0e0;\n"
+" gridline-color: #ccc;\n"
+" border-radius: 10px;\n"
+"}\n"
+"QHeaderView::section {\n"
+" background-color: #008CBA;\n"
+" color: white;\n"
+" padding: 5px;\n"
+" font-size: 14px;\n"
+"font: 11pt \"MS Shell Dlg 2\";\n"
+"}\n"
+"")
+ self.tableWidget.setObjectName("tableWidget")
+ self.tableWidget.setColumnCount(4)
+ self.tableWidget.setRowCount(0)
+ item = QtWidgets.QTableWidgetItem()
+ font = QtGui.QFont()
+ font.setPointSize(11)
+ item.setFont(font)
+ self.tableWidget.setHorizontalHeaderItem(0, item)
+ item = QtWidgets.QTableWidgetItem()
+ font = QtGui.QFont()
+ font.setPointSize(11)
+ item.setFont(font)
+ self.tableWidget.setHorizontalHeaderItem(1, item)
+ item = QtWidgets.QTableWidgetItem()
+ font = QtGui.QFont()
+ font.setPointSize(11)
+ item.setFont(font)
+ self.tableWidget.setHorizontalHeaderItem(2, item)
+ item = QtWidgets.QTableWidgetItem()
+ font = QtGui.QFont()
+ font.setPointSize(11)
+ item.setFont(font)
+ self.tableWidget.setHorizontalHeaderItem(3, item)
+ self.tableWidget.horizontalHeader().setDefaultSectionSize(203)
+ self.verticalLayout_2.addWidget(self.tableWidget)
+ self.horizontalLayout_2.addWidget(self.frame_2)
+ mwAdminMenu.setCentralWidget(self.centralwidget)
+ self.statusbar = QtWidgets.QStatusBar(parent=mwAdminMenu)
+ self.statusbar.setObjectName("statusbar")
+ mwAdminMenu.setStatusBar(self.statusbar)
+
+ self.retranslateUi(mwAdminMenu)
+ QtCore.QMetaObject.connectSlotsByName(mwAdminMenu)
+
+ def retranslateUi(self, mwAdminMenu):
+ _translate = QtCore.QCoreApplication.translate
+ mwAdminMenu.setWindowTitle(_translate("mwAdminMenu", "Admin Menu Window"))
+ self.pbActionControl.setText(_translate("mwAdminMenu", "Action Control"))
+ self.pbSendMail.setText(_translate("mwAdminMenu", "Send Mail"))
+ self.pbPreferedAdmin.setText(_translate("mwAdminMenu", "Main Menu"))
+ self.pbExit.setText(_translate("mwAdminMenu", "Exit"))
+ item = self.tableWidget.horizontalHeaderItem(0)
+ item.setText(_translate("mwAdminMenu", "Action Name"))
+ item = self.tableWidget.horizontalHeaderItem(1)
+ item.setText(_translate("mwAdminMenu", "Start Date"))
+ item = self.tableWidget.horizontalHeaderItem(2)
+ item.setText(_translate("mwAdminMenu", "Participant Mail"))
+ item = self.tableWidget.horizontalHeaderItem(3)
+ item.setText(_translate("mwAdminMenu", "Organizer Mail"))
+
+
+if __name__ == "__main__":
+ import sys
+ app = QtWidgets.QApplication(sys.argv)
+ mwAdminMenu = QtWidgets.QMainWindow()
+ ui = Ui_mwAdminMenu()
+ ui.setupUi(mwAdminMenu)
+ mwAdminMenu.show()
+ sys.exit(app.exec())
diff --git a/AdminMenu.ui b/AdminMenu.ui
new file mode 100644
index 0000000..0f04bb2
--- /dev/null
+++ b/AdminMenu.ui
@@ -0,0 +1,322 @@
+
+
+ mwAdminMenu
+
+
+
+ 0
+ 0
+ 1001
+ 601
+
+
+
+
+ 1050
+ 700
+
+
+
+ Admin Menu Window
+
+
+ QWidget {
+ font: 11pt "MS Shell Dlg 2";
+ background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1,
+ stop:0 rgba(173, 216, 230, 255),
+ stop:1 rgba(255, 255, 255, 255));
+};
+
+
+
+
+ -
+
+
+
+ 8
+ 132
+
+
+
+
+ 7
+ 51
+
+
+
+
+ 37
+ 65
+
+
+
+ QFrame::Shape::NoFrame
+
+
+
-
+
+
+ PointingHandCursor
+
+
+ QPushButton {
+
+ background-color: #008CBA;
+ color: white;
+ padding: 10px;
+ font-size: 14px;
+font: 11pt "MS Shell Dlg 2";
+ border: none;
+ border-radius: 10px;
+ margin: 5px;
+}
+QPushButton:hover {
+ background-color: #007B9E;
+}
+QPushButton:pressed {
+ background-color: #005f73;
+}
+
+
+
+ Action Control
+
+
+
+ icons/calendar.svgicons/calendar.svg
+
+
+
+ 40
+ 40
+
+
+
+
+ -
+
+
+ PointingHandCursor
+
+
+ QPushButton {
+
+ background-color: #008CBA;
+ color: white;
+ padding: 10px;
+ font-size: 14px;
+font: 11pt "MS Shell Dlg 2";
+ border: none;
+ border-radius: 10px;
+ margin: 5px;
+}
+QPushButton:hover {
+ background-color: #007B9E;
+}
+QPushButton:pressed {
+ background-color: #005f73;
+}
+
+
+
+ Send Mail
+
+
+
+ icons/send-message.svgicons/send-message.svg
+
+
+
+ 40
+ 40
+
+
+
+
+ -
+
+
+ PointingHandCursor
+
+
+ QPushButton {
+
+ background-color: #008CBA;
+ color: white;
+ padding: 10px;
+ font-size: 14px;
+font: 11pt "MS Shell Dlg 2";
+ border: none;
+ border-radius: 10px;
+ margin: 5px;
+}
+QPushButton:hover {
+ background-color: #007B9E;
+}
+QPushButton:pressed {
+ background-color: #005f73;
+}
+
+
+
+ Main Menu
+
+
+
+ icons/news.svgicons/news.svg
+
+
+
+ 40
+ 40
+
+
+
+
+ -
+
+
+ PointingHandCursor
+
+
+ QPushButton {
+
+ background-color: #008CBA;
+ color: white;
+ padding: 10px;
+ font-size: 14px;
+font: 11pt "MS Shell Dlg 2";
+ border: none;
+ border-radius: 10px;
+ margin: 5px;
+}
+QPushButton:hover {
+ background-color: #007B9E;
+}
+QPushButton:pressed {
+ background-color: #005f73;
+}
+
+
+
+ Exit
+
+
+
+ icons/power.svgicons/power.svg
+
+
+
+ 50
+ 50
+
+
+
+
+ -
+
+
+ Qt::Orientation::Vertical
+
+
+
+ 20
+ 40
+
+
+
+
+
+
+
+ -
+
+
+ QFrame::Shape::NoFrame
+
+
+
-
+
+
+
+ MS Shell Dlg 2
+ 11
+ false
+ false
+
+
+
+ QTableWidget {
+
+ font-size: 14px;
+font: 11pt "MS Shell Dlg 2";
+ background-color: #f9f9f9;
+ alternate-background-color: #e0e0e0;
+ gridline-color: #ccc;
+ border-radius: 10px;
+}
+QHeaderView::section {
+ background-color: #008CBA;
+ color: white;
+ padding: 5px;
+ font-size: 14px;
+font: 11pt "MS Shell Dlg 2";
+}
+
+
+
+ 203
+
+
+
+ Action Name
+
+
+
+ 11
+
+
+
+
+
+ Start Date
+
+
+
+ 11
+
+
+
+
+
+ Participant Mail
+
+
+
+ 11
+
+
+
+
+
+ Organizer Mail
+
+
+
+ 11
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/AdminMenu_ui.py b/AdminMenu_ui.py
new file mode 100644
index 0000000..3a4a327
--- /dev/null
+++ b/AdminMenu_ui.py
@@ -0,0 +1,220 @@
+# Form implementation generated from reading ui file 'c:\Users\kahra\OneDrive\Masaüstü\PROGRAM\PYTHON\PROJECT\PYQT6_PROJECTS\TAMAMLANANLAR\PROJE\VIT_Project\AdminMenu.ui'
+#
+# Created by: PyQt6 UI code generator 6.8.0
+#
+# WARNING: Any manual changes made to this file will be lost when pyuic6 is
+# run again. Do not edit this file unless you know what you are doing.
+
+
+from PyQt6 import QtCore, QtGui, QtWidgets
+
+
+class Ui_mwAdminMenu(object):
+ def setupUi(self, mwAdminMenu):
+ mwAdminMenu.setObjectName("mwAdminMenu")
+ mwAdminMenu.resize(1001, 601)
+ mwAdminMenu.setBaseSize(QtCore.QSize(1050, 700))
+ mwAdminMenu.setStyleSheet("QWidget {\n"
+" font: 11pt \"MS Shell Dlg 2\";\n"
+" background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, \n"
+" stop:0 rgba(173, 216, 230, 255), \n"
+" stop:1 rgba(255, 255, 255, 255));\n"
+"};\n"
+"")
+ self.centralwidget = QtWidgets.QWidget(parent=mwAdminMenu)
+ self.centralwidget.setObjectName("centralwidget")
+ self.horizontalLayout_2 = QtWidgets.QHBoxLayout(self.centralwidget)
+ self.horizontalLayout_2.setObjectName("horizontalLayout_2")
+ self.frame = QtWidgets.QFrame(parent=self.centralwidget)
+ self.frame.setMinimumSize(QtCore.QSize(8, 132))
+ self.frame.setSizeIncrement(QtCore.QSize(7, 51))
+ self.frame.setBaseSize(QtCore.QSize(37, 65))
+ self.frame.setFrameShape(QtWidgets.QFrame.Shape.NoFrame)
+ self.frame.setObjectName("frame")
+ self.verticalLayout = QtWidgets.QVBoxLayout(self.frame)
+ self.verticalLayout.setObjectName("verticalLayout")
+ self.pbActionControl = QtWidgets.QPushButton(parent=self.frame)
+ self.pbActionControl.setCursor(QtGui.QCursor(QtCore.Qt.CursorShape.PointingHandCursor))
+ self.pbActionControl.setStyleSheet("QPushButton {\n"
+" \n"
+" background-color: #008CBA;\n"
+" color: white;\n"
+" padding: 10px;\n"
+" font-size: 14px;\n"
+"font: 11pt \"MS Shell Dlg 2\";\n"
+" border: none;\n"
+" border-radius: 10px;\n"
+" margin: 5px;\n"
+"}\n"
+"QPushButton:hover {\n"
+" background-color: #007B9E;\n"
+"}\n"
+"QPushButton:pressed {\n"
+" background-color: #005f73;\n"
+"}\n"
+"")
+ icon = QtGui.QIcon()
+ icon.addPixmap(QtGui.QPixmap("c:\\Users\\kahra\\OneDrive\\Masaüstü\\PROGRAM\\PYTHON\\PROJECT\\PYQT6_PROJECTS\\TAMAMLANANLAR\\PROJE\\VIT_Project\\icons/calendar.svg"), QtGui.QIcon.Mode.Normal, QtGui.QIcon.State.Off)
+ self.pbActionControl.setIcon(icon)
+ self.pbActionControl.setIconSize(QtCore.QSize(40, 40))
+ self.pbActionControl.setObjectName("pbActionControl")
+ self.verticalLayout.addWidget(self.pbActionControl)
+ self.pbSendMail = QtWidgets.QPushButton(parent=self.frame)
+ self.pbSendMail.setCursor(QtGui.QCursor(QtCore.Qt.CursorShape.PointingHandCursor))
+ self.pbSendMail.setStyleSheet("QPushButton {\n"
+" \n"
+" background-color: #008CBA;\n"
+" color: white;\n"
+" padding: 10px;\n"
+" font-size: 14px;\n"
+"font: 11pt \"MS Shell Dlg 2\";\n"
+" border: none;\n"
+" border-radius: 10px;\n"
+" margin: 5px;\n"
+"}\n"
+"QPushButton:hover {\n"
+" background-color: #007B9E;\n"
+"}\n"
+"QPushButton:pressed {\n"
+" background-color: #005f73;\n"
+"}\n"
+"")
+ icon1 = QtGui.QIcon()
+ icon1.addPixmap(QtGui.QPixmap("c:\\Users\\kahra\\OneDrive\\Masaüstü\\PROGRAM\\PYTHON\\PROJECT\\PYQT6_PROJECTS\\TAMAMLANANLAR\\PROJE\\VIT_Project\\icons/send-message.svg"), QtGui.QIcon.Mode.Normal, QtGui.QIcon.State.Off)
+ self.pbSendMail.setIcon(icon1)
+ self.pbSendMail.setIconSize(QtCore.QSize(40, 40))
+ self.pbSendMail.setObjectName("pbSendMail")
+ self.verticalLayout.addWidget(self.pbSendMail)
+ self.pbPreferedAdmin = QtWidgets.QPushButton(parent=self.frame)
+ self.pbPreferedAdmin.setCursor(QtGui.QCursor(QtCore.Qt.CursorShape.PointingHandCursor))
+ self.pbPreferedAdmin.setStyleSheet("QPushButton {\n"
+" \n"
+" background-color: #008CBA;\n"
+" color: white;\n"
+" padding: 10px;\n"
+" font-size: 14px;\n"
+"font: 11pt \"MS Shell Dlg 2\";\n"
+" border: none;\n"
+" border-radius: 10px;\n"
+" margin: 5px;\n"
+"}\n"
+"QPushButton:hover {\n"
+" background-color: #007B9E;\n"
+"}\n"
+"QPushButton:pressed {\n"
+" background-color: #005f73;\n"
+"}\n"
+"")
+ icon2 = QtGui.QIcon()
+ icon2.addPixmap(QtGui.QPixmap("c:\\Users\\kahra\\OneDrive\\Masaüstü\\PROGRAM\\PYTHON\\PROJECT\\PYQT6_PROJECTS\\TAMAMLANANLAR\\PROJE\\VIT_Project\\icons/news.svg"), QtGui.QIcon.Mode.Normal, QtGui.QIcon.State.Off)
+ self.pbPreferedAdmin.setIcon(icon2)
+ self.pbPreferedAdmin.setIconSize(QtCore.QSize(40, 40))
+ self.pbPreferedAdmin.setObjectName("pbPreferedAdmin")
+ self.verticalLayout.addWidget(self.pbPreferedAdmin)
+ self.pbExit = QtWidgets.QPushButton(parent=self.frame)
+ self.pbExit.setCursor(QtGui.QCursor(QtCore.Qt.CursorShape.PointingHandCursor))
+ self.pbExit.setStyleSheet("QPushButton {\n"
+" \n"
+" background-color: #008CBA;\n"
+" color: white;\n"
+" padding: 10px;\n"
+" font-size: 14px;\n"
+"font: 11pt \"MS Shell Dlg 2\";\n"
+" border: none;\n"
+" border-radius: 10px;\n"
+" margin: 5px;\n"
+"}\n"
+"QPushButton:hover {\n"
+" background-color: #007B9E;\n"
+"}\n"
+"QPushButton:pressed {\n"
+" background-color: #005f73;\n"
+"}\n"
+"")
+ icon3 = QtGui.QIcon()
+ icon3.addPixmap(QtGui.QPixmap("c:\\Users\\kahra\\OneDrive\\Masaüstü\\PROGRAM\\PYTHON\\PROJECT\\PYQT6_PROJECTS\\TAMAMLANANLAR\\PROJE\\VIT_Project\\icons/power.svg"), QtGui.QIcon.Mode.Normal, QtGui.QIcon.State.Off)
+ self.pbExit.setIcon(icon3)
+ self.pbExit.setIconSize(QtCore.QSize(50, 50))
+ self.pbExit.setObjectName("pbExit")
+ self.verticalLayout.addWidget(self.pbExit)
+ spacerItem = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Policy.Minimum, QtWidgets.QSizePolicy.Policy.Expanding)
+ self.verticalLayout.addItem(spacerItem)
+ self.horizontalLayout_2.addWidget(self.frame)
+ self.frame_2 = QtWidgets.QFrame(parent=self.centralwidget)
+ self.frame_2.setFrameShape(QtWidgets.QFrame.Shape.NoFrame)
+ self.frame_2.setObjectName("frame_2")
+ self.verticalLayout_2 = QtWidgets.QVBoxLayout(self.frame_2)
+ self.verticalLayout_2.setObjectName("verticalLayout_2")
+ self.tableWidget = QtWidgets.QTableWidget(parent=self.frame_2)
+ font = QtGui.QFont()
+ font.setFamily("MS Shell Dlg 2")
+ font.setPointSize(11)
+ font.setBold(False)
+ font.setItalic(False)
+ self.tableWidget.setFont(font)
+ self.tableWidget.setStyleSheet("QTableWidget {\n"
+" \n"
+" font-size: 14px;\n"
+"font: 11pt \"MS Shell Dlg 2\";\n"
+" background-color: #f9f9f9;\n"
+" alternate-background-color: #e0e0e0;\n"
+" gridline-color: #ccc;\n"
+" border-radius: 10px;\n"
+"}\n"
+"QHeaderView::section {\n"
+" background-color: #008CBA;\n"
+" color: white;\n"
+" padding: 5px;\n"
+" font-size: 14px;\n"
+"font: 11pt \"MS Shell Dlg 2\";\n"
+"}\n"
+"")
+ self.tableWidget.setObjectName("tableWidget")
+ self.tableWidget.setColumnCount(4)
+ self.tableWidget.setRowCount(0)
+ item = QtWidgets.QTableWidgetItem()
+ font = QtGui.QFont()
+ font.setPointSize(11)
+ item.setFont(font)
+ self.tableWidget.setHorizontalHeaderItem(0, item)
+ item = QtWidgets.QTableWidgetItem()
+ font = QtGui.QFont()
+ font.setPointSize(11)
+ item.setFont(font)
+ self.tableWidget.setHorizontalHeaderItem(1, item)
+ item = QtWidgets.QTableWidgetItem()
+ font = QtGui.QFont()
+ font.setPointSize(11)
+ item.setFont(font)
+ self.tableWidget.setHorizontalHeaderItem(2, item)
+ item = QtWidgets.QTableWidgetItem()
+ font = QtGui.QFont()
+ font.setPointSize(11)
+ item.setFont(font)
+ self.tableWidget.setHorizontalHeaderItem(3, item)
+ self.tableWidget.horizontalHeader().setDefaultSectionSize(203)
+ self.verticalLayout_2.addWidget(self.tableWidget)
+ self.horizontalLayout_2.addWidget(self.frame_2)
+ mwAdminMenu.setCentralWidget(self.centralwidget)
+ self.statusbar = QtWidgets.QStatusBar(parent=mwAdminMenu)
+ self.statusbar.setObjectName("statusbar")
+ mwAdminMenu.setStatusBar(self.statusbar)
+
+ self.retranslateUi(mwAdminMenu)
+ QtCore.QMetaObject.connectSlotsByName(mwAdminMenu)
+
+ def retranslateUi(self, mwAdminMenu):
+ _translate = QtCore.QCoreApplication.translate
+ mwAdminMenu.setWindowTitle(_translate("mwAdminMenu", "Admin Menu Window"))
+ self.pbActionControl.setText(_translate("mwAdminMenu", "Action Control"))
+ self.pbSendMail.setText(_translate("mwAdminMenu", "Send Mail"))
+ self.pbPreferedAdmin.setText(_translate("mwAdminMenu", "Main Menu"))
+ self.pbExit.setText(_translate("mwAdminMenu", "Exit"))
+ item = self.tableWidget.horizontalHeaderItem(0)
+ item.setText(_translate("mwAdminMenu", "Action Name"))
+ item = self.tableWidget.horizontalHeaderItem(1)
+ item.setText(_translate("mwAdminMenu", "Start Date"))
+ item = self.tableWidget.horizontalHeaderItem(2)
+ item.setText(_translate("mwAdminMenu", "Participant Mail"))
+ item = self.tableWidget.horizontalHeaderItem(3)
+ item.setText(_translate("mwAdminMenu", "Organizer Mail"))
diff --git a/Application.py b/Application.py
new file mode 100644
index 0000000..20f7c6b
--- /dev/null
+++ b/Application.py
@@ -0,0 +1,521 @@
+# Form implementation generated from reading ui file 'Application.ui'
+#
+# Created by: PyQt6 UI code generator 6.8.0
+#
+# WARNING: Any manual changes made to this file will be lost when pyuic6 is
+# run again. Do not edit this file unless you know what you are doing.
+
+
+from PyQt6 import QtCore, QtGui, QtWidgets
+
+
+class Ui_ApplicationWindow(object):
+ def setupUi(self, ApplicationWindow):
+ ApplicationWindow.setObjectName("ApplicationWindow")
+ ApplicationWindow.setWindowModality(QtCore.Qt.WindowModality.NonModal)
+ ApplicationWindow.setEnabled(True)
+ ApplicationWindow.resize(1098, 768)
+ sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Preferred, QtWidgets.QSizePolicy.Policy.Preferred)
+ sizePolicy.setHorizontalStretch(0)
+ sizePolicy.setVerticalStretch(0)
+ sizePolicy.setHeightForWidth(ApplicationWindow.sizePolicy().hasHeightForWidth())
+ ApplicationWindow.setSizePolicy(sizePolicy)
+ ApplicationWindow.setMinimumSize(QtCore.QSize(0, 0))
+ ApplicationWindow.setSizeIncrement(QtCore.QSize(0, 0))
+ ApplicationWindow.setBaseSize(QtCore.QSize(1228, 805))
+ font = QtGui.QFont()
+ font.setFamily("MS Shell Dlg 2")
+ font.setPointSize(11)
+ font.setBold(False)
+ font.setItalic(False)
+ ApplicationWindow.setFont(font)
+ ApplicationWindow.setLayoutDirection(QtCore.Qt.LayoutDirection.LeftToRight)
+ ApplicationWindow.setStyleSheet("QWidget {\n"
+" font: 11pt \"MS Shell Dlg 2\";\n"
+" background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, \n"
+" stop:0 rgba(173, 216, 230, 255), \n"
+" stop:1 rgba(255, 255, 255, 255));\n"
+"};\n"
+"\n"
+"")
+ self.centralwidget = QtWidgets.QWidget(parent=ApplicationWindow)
+ self.centralwidget.setEnabled(True)
+ self.centralwidget.setObjectName("centralwidget")
+ self.verticalLayout_2 = QtWidgets.QVBoxLayout(self.centralwidget)
+ self.verticalLayout_2.setObjectName("verticalLayout_2")
+ self.label = QtWidgets.QLabel(parent=self.centralwidget)
+ self.label.setMinimumSize(QtCore.QSize(0, 95))
+ self.label.setStyleSheet("QLabel{\n"
+" \n"
+" padding: 10px;\n"
+" font-size: 16px;\n"
+"font: 11pt \"MS Shell Dlg 2\";\n"
+" border: 2px solid #ccc;\n"
+" border-radius: 10px;\n"
+" margin-bottom: 10px;\n"
+"}\n"
+"\n"
+"QLabel:hover {\n"
+" background-color: #007B9E;\n"
+"}\n"
+"QLabel:pressed {\n"
+" background-color: #005f73;\n"
+"}border-radius: 10px;\n"
+"background-color: #008CBA;")
+ self.label.setAlignment(QtCore.Qt.AlignmentFlag.AlignCenter)
+ self.label.setObjectName("label")
+ self.verticalLayout_2.addWidget(self.label)
+ self.W_widget = QtWidgets.QWidget(parent=self.centralwidget)
+ self.W_widget.setEnabled(True)
+ self.W_widget.setMinimumSize(QtCore.QSize(0, 0))
+ self.W_widget.setMaximumSize(QtCore.QSize(16777215, 16777215))
+ font = QtGui.QFont()
+ font.setFamily("MS Shell Dlg 2")
+ font.setPointSize(11)
+ font.setBold(False)
+ font.setItalic(False)
+ self.W_widget.setFont(font)
+ self.W_widget.setAcceptDrops(False)
+ self.W_widget.setStyleSheet("border: 2px solid #ccc;\n"
+"font: 11pt \"MS Shell Dlg 2\";\n"
+"border-radius: 10px;\n"
+"QWidget {\n"
+" background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, \n"
+" stop:0 rgba(173, 216, 230, 255), \n"
+" stop:1 rgba(255, 255, 255, 255));\n"
+"}\n"
+"")
+ self.W_widget.setObjectName("W_widget")
+ self.gridLayout = QtWidgets.QGridLayout(self.W_widget)
+ self.gridLayout.setObjectName("gridLayout")
+ self.PB_mentor_meeting_defined_button = QtWidgets.QPushButton(parent=self.W_widget)
+ self.PB_mentor_meeting_defined_button.setMinimumSize(QtCore.QSize(0, 60))
+ font = QtGui.QFont()
+ font.setFamily("MS Shell Dlg 2")
+ font.setPointSize(11)
+ font.setBold(False)
+ font.setItalic(False)
+ self.PB_mentor_meeting_defined_button.setFont(font)
+ self.PB_mentor_meeting_defined_button.setCursor(QtGui.QCursor(QtCore.Qt.CursorShape.PointingHandCursor))
+ self.PB_mentor_meeting_defined_button.setStyleSheet("QPushButton {\n"
+" \n"
+" background-color: #008CBA;\n"
+" color: white;\n"
+" padding: 10px;\n"
+" font-size: 14px;\n"
+"font: 11pt \"MS Shell Dlg 2\";\n"
+" border: none;\n"
+" border-radius: 10px;\n"
+" margin: 5px;\n"
+"}\n"
+"QPushButton:hover {\n"
+" background-color: #007B9E;\n"
+"}\n"
+"QPushButton:pressed {\n"
+" background-color: #005f73;\n"
+"}\n"
+"")
+ icon = QtGui.QIcon()
+ icon.addPixmap(QtGui.QPixmap("icons/members.svg"), QtGui.QIcon.Mode.Normal, QtGui.QIcon.State.Off)
+ self.PB_mentor_meeting_defined_button.setIcon(icon)
+ self.PB_mentor_meeting_defined_button.setIconSize(QtCore.QSize(50, 50))
+ self.PB_mentor_meeting_defined_button.setObjectName("PB_mentor_meeting_defined_button")
+ self.gridLayout.addWidget(self.PB_mentor_meeting_defined_button, 2, 3, 1, 1)
+ self.PB_return_to_preferences_screen_button = QtWidgets.QPushButton(parent=self.W_widget)
+ self.PB_return_to_preferences_screen_button.setMinimumSize(QtCore.QSize(0, 60))
+ font = QtGui.QFont()
+ font.setFamily("MS Shell Dlg 2")
+ font.setPointSize(11)
+ font.setBold(False)
+ font.setItalic(False)
+ self.PB_return_to_preferences_screen_button.setFont(font)
+ self.PB_return_to_preferences_screen_button.setCursor(QtGui.QCursor(QtCore.Qt.CursorShape.PointingHandCursor))
+ self.PB_return_to_preferences_screen_button.setStyleSheet("QPushButton {\n"
+" \n"
+" background-color: #008CBA;\n"
+" color: white;\n"
+" padding: 10px;\n"
+" font-size: 14px;\n"
+"font: 11pt \"MS Shell Dlg 2\";\n"
+" border: none;\n"
+" border-radius: 10px;\n"
+" margin: 5px;\n"
+"}\n"
+"QPushButton:hover {\n"
+" background-color: #007B9E;\n"
+"}\n"
+"QPushButton:pressed {\n"
+" background-color: #005f73;\n"
+"}\n"
+"")
+ icon1 = QtGui.QIcon()
+ icon1.addPixmap(QtGui.QPixmap("icons/news.svg"), QtGui.QIcon.Mode.Normal, QtGui.QIcon.State.Off)
+ self.PB_return_to_preferences_screen_button.setIcon(icon1)
+ self.PB_return_to_preferences_screen_button.setIconSize(QtCore.QSize(50, 50))
+ self.PB_return_to_preferences_screen_button.setObjectName("PB_return_to_preferences_screen_button")
+ self.gridLayout.addWidget(self.PB_return_to_preferences_screen_button, 4, 0, 1, 1)
+ self.PB_mentor_interview_undefined_button = QtWidgets.QPushButton(parent=self.W_widget)
+ self.PB_mentor_interview_undefined_button.setMinimumSize(QtCore.QSize(0, 60))
+ font = QtGui.QFont()
+ font.setFamily("MS Shell Dlg 2")
+ font.setPointSize(11)
+ font.setBold(False)
+ font.setItalic(False)
+ self.PB_mentor_interview_undefined_button.setFont(font)
+ self.PB_mentor_interview_undefined_button.setCursor(QtGui.QCursor(QtCore.Qt.CursorShape.PointingHandCursor))
+ self.PB_mentor_interview_undefined_button.setStyleSheet("QPushButton {\n"
+" \n"
+" background-color: #008CBA;\n"
+" color: white;\n"
+" padding: 10px;\n"
+" font-size: 14px;\n"
+"font: 11pt \"MS Shell Dlg 2\";\n"
+" border: none;\n"
+" border-radius: 10px;\n"
+" margin: 5px;\n"
+"}\n"
+"QPushButton:hover {\n"
+" background-color: #007B9E;\n"
+"}\n"
+"QPushButton:pressed {\n"
+" background-color: #005f73;\n"
+"}\n"
+"")
+ icon2 = QtGui.QIcon()
+ icon2.addPixmap(QtGui.QPixmap("icons/users.svg"), QtGui.QIcon.Mode.Normal, QtGui.QIcon.State.Off)
+ self.PB_mentor_interview_undefined_button.setIcon(icon2)
+ self.PB_mentor_interview_undefined_button.setIconSize(QtCore.QSize(50, 50))
+ self.PB_mentor_interview_undefined_button.setObjectName("PB_mentor_interview_undefined_button")
+ self.gridLayout.addWidget(self.PB_mentor_interview_undefined_button, 2, 2, 1, 1)
+ self.LE_search_input = QtWidgets.QLineEdit(parent=self.W_widget)
+ self.LE_search_input.setMinimumSize(QtCore.QSize(0, 60))
+ font = QtGui.QFont()
+ font.setFamily("MS Shell Dlg 2")
+ font.setPointSize(11)
+ font.setBold(False)
+ font.setItalic(False)
+ self.LE_search_input.setFont(font)
+ self.LE_search_input.setStyleSheet("QLineEdit {\n"
+" padding: 10px;\n"
+" font-size: 16px;\n"
+" border: 2px solid #ccc;\n"
+" border-radius: 10px;\n"
+" margin-bottom: 10px;\n"
+"}\n"
+"\n"
+"QPushButton:hover {\n"
+" background-color: #007B9E;\n"
+"}\n"
+"QPushButton:pressed {\n"
+" background-color: #005f73;\n"
+"}\n"
+"")
+ self.LE_search_input.setObjectName("LE_search_input")
+ self.gridLayout.addWidget(self.LE_search_input, 1, 2, 1, 2)
+ self.PB_search_button = QtWidgets.QPushButton(parent=self.W_widget)
+ self.PB_search_button.setMinimumSize(QtCore.QSize(0, 60))
+ font = QtGui.QFont()
+ font.setFamily("MS Shell Dlg 2")
+ font.setPointSize(11)
+ font.setBold(False)
+ font.setItalic(False)
+ self.PB_search_button.setFont(font)
+ self.PB_search_button.setCursor(QtGui.QCursor(QtCore.Qt.CursorShape.PointingHandCursor))
+ self.PB_search_button.setLayoutDirection(QtCore.Qt.LayoutDirection.LeftToRight)
+ self.PB_search_button.setStyleSheet("QPushButton {\n"
+" \n"
+" background-color: #008CBA;\n"
+" color: white;\n"
+" padding: 10px;\n"
+" font-size: 14px;\n"
+"font: 11pt \"MS Shell Dlg 2\";\n"
+" border: none;\n"
+" border-radius: 10px;\n"
+" margin: 5px;\n"
+"}\n"
+"QPushButton:hover {\n"
+" background-color: #007B9E;\n"
+"}\n"
+"QPushButton:pressed {\n"
+" background-color: #005f73;\n"
+"}\n"
+"")
+ icon3 = QtGui.QIcon()
+ icon3.addPixmap(QtGui.QPixmap("icons/search-user.svg"), QtGui.QIcon.Mode.Normal, QtGui.QIcon.State.Off)
+ self.PB_search_button.setIcon(icon3)
+ self.PB_search_button.setIconSize(QtCore.QSize(50, 50))
+ self.PB_search_button.setObjectName("PB_search_button")
+ self.gridLayout.addWidget(self.PB_search_button, 1, 1, 1, 1)
+ self.PB_all_applications_button = QtWidgets.QPushButton(parent=self.W_widget)
+ self.PB_all_applications_button.setMinimumSize(QtCore.QSize(0, 60))
+ font = QtGui.QFont()
+ font.setFamily("MS Shell Dlg 2")
+ font.setPointSize(11)
+ font.setBold(False)
+ font.setItalic(False)
+ self.PB_all_applications_button.setFont(font)
+ self.PB_all_applications_button.setCursor(QtGui.QCursor(QtCore.Qt.CursorShape.PointingHandCursor))
+ self.PB_all_applications_button.setStyleSheet("QPushButton {\n"
+" \n"
+" background-color: #008CBA;\n"
+" color: white;\n"
+" padding: 10px;\n"
+" font-size: 14px;\n"
+"font: 11pt \"MS Shell Dlg 2\";\n"
+" border: none;\n"
+" border-radius: 10px;\n"
+" margin: 5px;\n"
+"}\n"
+"QPushButton:hover {\n"
+" background-color: #007B9E;\n"
+"}\n"
+"QPushButton:pressed {\n"
+" background-color: #005f73;\n"
+"}\n"
+"")
+ icon4 = QtGui.QIcon()
+ icon4.addPixmap(QtGui.QPixmap("icons/user-groups.svg"), QtGui.QIcon.Mode.Normal, QtGui.QIcon.State.Off)
+ self.PB_all_applications_button.setIcon(icon4)
+ self.PB_all_applications_button.setIconSize(QtCore.QSize(50, 50))
+ self.PB_all_applications_button.setObjectName("PB_all_applications_button")
+ self.gridLayout.addWidget(self.PB_all_applications_button, 1, 0, 1, 1)
+ self.PB_duplicate_record_button = QtWidgets.QPushButton(parent=self.W_widget)
+ self.PB_duplicate_record_button.setMinimumSize(QtCore.QSize(0, 60))
+ font = QtGui.QFont()
+ font.setFamily("MS Shell Dlg 2")
+ font.setPointSize(11)
+ font.setBold(False)
+ font.setItalic(False)
+ self.PB_duplicate_record_button.setFont(font)
+ self.PB_duplicate_record_button.setCursor(QtGui.QCursor(QtCore.Qt.CursorShape.PointingHandCursor))
+ self.PB_duplicate_record_button.setStyleSheet("QPushButton {\n"
+" \n"
+" background-color: #008CBA;\n"
+" color: white;\n"
+" padding: 10px;\n"
+" font-size: 14px;\n"
+"font: 11pt \"MS Shell Dlg 2\";\n"
+" border: none;\n"
+" border-radius: 10px;\n"
+" margin: 5px;\n"
+"}\n"
+"QPushButton:hover {\n"
+" background-color: #007B9E;\n"
+"}\n"
+"QPushButton:pressed {\n"
+" background-color: #005f73;\n"
+"}\n"
+"")
+ icon5 = QtGui.QIcon()
+ icon5.addPixmap(QtGui.QPixmap("icons/orders.svg"), QtGui.QIcon.Mode.Normal, QtGui.QIcon.State.Off)
+ self.PB_duplicate_record_button.setIcon(icon5)
+ self.PB_duplicate_record_button.setIconSize(QtCore.QSize(50, 50))
+ self.PB_duplicate_record_button.setObjectName("PB_duplicate_record_button")
+ self.gridLayout.addWidget(self.PB_duplicate_record_button, 2, 0, 1, 1)
+ self.CB_combo_box = QtWidgets.QComboBox(parent=self.W_widget)
+ self.CB_combo_box.setMinimumSize(QtCore.QSize(0, 60))
+ font = QtGui.QFont()
+ font.setFamily("MS Shell Dlg 2")
+ font.setPointSize(11)
+ font.setBold(False)
+ font.setItalic(False)
+ self.CB_combo_box.setFont(font)
+ self.CB_combo_box.setCursor(QtGui.QCursor(QtCore.Qt.CursorShape.OpenHandCursor))
+ self.CB_combo_box.setMouseTracking(False)
+ self.CB_combo_box.setStyleSheet("QComboBox {\n"
+" padding: 10px;\n"
+" font-size: 14px;\n"
+"font: 11pt \"MS Shell Dlg 2\";\n"
+" border: 2px solid #ccc;\n"
+" border-radius: 10px;\n"
+" margin-bottom: 10px;\n"
+"}\n"
+"QComboBox::drop-down {\n"
+" subcontrol-origin: padding;\n"
+" subcontrol-position: top right;\n"
+" width: 30px;\n"
+" border-left-width: 1px;\n"
+" border-left-color: #ccc;\n"
+" border-left-style: solid;\n"
+" border-top-right-radius: 10px;\n"
+" border-bottom-right-radius: 10px;\n"
+"}\n"
+"")
+ self.CB_combo_box.setMaxVisibleItems(11)
+ self.CB_combo_box.setObjectName("CB_combo_box")
+ self.CB_combo_box.addItem("")
+ self.CB_combo_box.addItem("")
+ self.CB_combo_box.addItem("")
+ self.CB_combo_box.addItem("")
+ self.gridLayout.addWidget(self.CB_combo_box, 4, 2, 1, 2)
+ self.PB_exit = QtWidgets.QPushButton(parent=self.W_widget)
+ self.PB_exit.setMinimumSize(QtCore.QSize(0, 60))
+ font = QtGui.QFont()
+ font.setFamily("MS Shell Dlg 2")
+ font.setPointSize(11)
+ font.setBold(False)
+ font.setItalic(False)
+ self.PB_exit.setFont(font)
+ self.PB_exit.setCursor(QtGui.QCursor(QtCore.Qt.CursorShape.PointingHandCursor))
+ self.PB_exit.setStyleSheet("QPushButton {\n"
+" \n"
+" background-color: #008CBA;\n"
+" color: white;\n"
+" padding: 10px;\n"
+" font-size: 14px;\n"
+"font: 11pt \"MS Shell Dlg 2\";\n"
+" border: none;\n"
+" border-radius: 10px;\n"
+" margin: 5px;\n"
+"}\n"
+"QPushButton:hover {\n"
+" background-color: #007B9E;\n"
+"}\n"
+"QPushButton:pressed {\n"
+" background-color: #005f73;\n"
+"}\n"
+"")
+ icon6 = QtGui.QIcon()
+ icon6.addPixmap(QtGui.QPixmap("icons/power.svg"), QtGui.QIcon.Mode.Normal, QtGui.QIcon.State.Off)
+ self.PB_exit.setIcon(icon6)
+ self.PB_exit.setIconSize(QtCore.QSize(50, 50))
+ self.PB_exit.setObjectName("PB_exit")
+ self.gridLayout.addWidget(self.PB_exit, 4, 1, 1, 1)
+ self.PB_duplicate_record_button_2 = QtWidgets.QPushButton(parent=self.W_widget)
+ self.PB_duplicate_record_button_2.setMinimumSize(QtCore.QSize(0, 60))
+ font = QtGui.QFont()
+ font.setFamily("MS Shell Dlg 2")
+ font.setPointSize(11)
+ font.setBold(False)
+ font.setItalic(False)
+ self.PB_duplicate_record_button_2.setFont(font)
+ self.PB_duplicate_record_button_2.setCursor(QtGui.QCursor(QtCore.Qt.CursorShape.PointingHandCursor))
+ self.PB_duplicate_record_button_2.setStyleSheet("QPushButton {\n"
+" \n"
+" background-color: #008CBA;\n"
+" color: white;\n"
+" padding: 10px;\n"
+" font-size: 14px;\n"
+"font: 11pt \"MS Shell Dlg 2\";\n"
+" border: none;\n"
+" border-radius: 10px;\n"
+" margin: 5px;\n"
+"}\n"
+"QPushButton:hover {\n"
+" background-color: #007B9E;\n"
+"}\n"
+"QPushButton:pressed {\n"
+" background-color: #005f73;\n"
+"}\n"
+"")
+ icon7 = QtGui.QIcon()
+ icon7.addPixmap(QtGui.QPixmap("icons/checklist.svg"), QtGui.QIcon.Mode.Normal, QtGui.QIcon.State.Off)
+ self.PB_duplicate_record_button_2.setIcon(icon7)
+ self.PB_duplicate_record_button_2.setIconSize(QtCore.QSize(50, 50))
+ self.PB_duplicate_record_button_2.setObjectName("PB_duplicate_record_button_2")
+ self.gridLayout.addWidget(self.PB_duplicate_record_button_2, 2, 1, 1, 1)
+ self.gridLayout.setColumnStretch(0, 2)
+ self.gridLayout.setColumnStretch(1, 2)
+ self.verticalLayout_2.addWidget(self.W_widget)
+ self.tableWidget = QtWidgets.QTableWidget(parent=self.centralwidget)
+ self.tableWidget.setSizeIncrement(QtCore.QSize(1228, 805))
+ self.tableWidget.setBaseSize(QtCore.QSize(1228, 805))
+ font = QtGui.QFont()
+ font.setFamily("MS Shell Dlg 2")
+ font.setPointSize(11)
+ font.setBold(False)
+ font.setItalic(False)
+ self.tableWidget.setFont(font)
+ self.tableWidget.setStyleSheet("QTableWidget {\n"
+" \n"
+" font-size: 14px;\n"
+"font: 11pt \"MS Shell Dlg 2\";\n"
+" background-color: #f9f9f9;\n"
+" alternate-background-color: #e0e0e0;\n"
+" gridline-color: #ccc;\n"
+" border-radius: 10px;\n"
+"}\n"
+"QHeaderView::section {\n"
+" background-color: #008CBA;\n"
+" color: white;\n"
+" padding: 5px;\n"
+" font-size: 14px;\n"
+"font: 11pt \"MS Shell Dlg 2\";\n"
+"}\n"
+"")
+ self.tableWidget.setColumnCount(5)
+ self.tableWidget.setObjectName("tableWidget")
+ self.tableWidget.setRowCount(0)
+ item = QtWidgets.QTableWidgetItem()
+ font = QtGui.QFont()
+ font.setPointSize(11)
+ item.setFont(font)
+ self.tableWidget.setHorizontalHeaderItem(0, item)
+ item = QtWidgets.QTableWidgetItem()
+ font = QtGui.QFont()
+ font.setPointSize(11)
+ item.setFont(font)
+ self.tableWidget.setHorizontalHeaderItem(1, item)
+ item = QtWidgets.QTableWidgetItem()
+ font = QtGui.QFont()
+ font.setPointSize(11)
+ item.setFont(font)
+ self.tableWidget.setHorizontalHeaderItem(2, item)
+ item = QtWidgets.QTableWidgetItem()
+ font = QtGui.QFont()
+ font.setPointSize(11)
+ item.setFont(font)
+ self.tableWidget.setHorizontalHeaderItem(3, item)
+ item = QtWidgets.QTableWidgetItem()
+ font = QtGui.QFont()
+ font.setPointSize(11)
+ item.setFont(font)
+ self.tableWidget.setHorizontalHeaderItem(4, item)
+ self.tableWidget.horizontalHeader().setDefaultSectionSize(204)
+ self.verticalLayout_2.addWidget(self.tableWidget)
+ ApplicationWindow.setCentralWidget(self.centralwidget)
+ self.statusbar = QtWidgets.QStatusBar(parent=ApplicationWindow)
+ self.statusbar.setObjectName("statusbar")
+ ApplicationWindow.setStatusBar(self.statusbar)
+
+ self.retranslateUi(ApplicationWindow)
+ QtCore.QMetaObject.connectSlotsByName(ApplicationWindow)
+
+ def retranslateUi(self, ApplicationWindow):
+ _translate = QtCore.QCoreApplication.translate
+ ApplicationWindow.setWindowTitle(_translate("ApplicationWindow", "APPLICATIONS"))
+ self.label.setText(_translate("ApplicationWindow", "APPLICATIONS"))
+ self.PB_mentor_meeting_defined_button.setText(_translate("ApplicationWindow", "Mentor Interview Defined"))
+ self.PB_return_to_preferences_screen_button.setText(_translate("ApplicationWindow", "Main Menu "))
+ self.PB_mentor_interview_undefined_button.setText(_translate("ApplicationWindow", "Mentor Interview Undefined"))
+ self.LE_search_input.setPlaceholderText(_translate("ApplicationWindow", " Write a name or surname..."))
+ self.PB_search_button.setText(_translate("ApplicationWindow", "Search "))
+ self.PB_all_applications_button.setText(_translate("ApplicationWindow", "All Applications "))
+ self.PB_duplicate_record_button.setText(_translate("ApplicationWindow", "Duplicate Record"))
+ self.CB_combo_box.setCurrentText(_translate("ApplicationWindow", " Please make a choice..."))
+ self.CB_combo_box.setItemText(0, _translate("ApplicationWindow", " Please make a choice..."))
+ self.CB_combo_box.setItemText(1, _translate("ApplicationWindow", " Previous VIT Control"))
+ self.CB_combo_box.setItemText(2, _translate("ApplicationWindow", " Different Records"))
+ self.CB_combo_box.setItemText(3, _translate("ApplicationWindow", " Applying Filter"))
+ self.PB_exit.setText(_translate("ApplicationWindow", " Exit "))
+ self.PB_duplicate_record_button_2.setText(_translate("ApplicationWindow", "Differend Record"))
+ item = self.tableWidget.horizontalHeaderItem(0)
+ item.setText(_translate("ApplicationWindow", "Name"))
+ item = self.tableWidget.horizontalHeaderItem(1)
+ item.setText(_translate("ApplicationWindow", "Surname"))
+ item = self.tableWidget.horizontalHeaderItem(2)
+ item.setText(_translate("ApplicationWindow", "Email"))
+ item = self.tableWidget.horizontalHeaderItem(3)
+ item.setText(_translate("ApplicationWindow", "Mentor Situation"))
+ item = self.tableWidget.horizontalHeaderItem(4)
+ item.setText(_translate("ApplicationWindow", "VIT"))
+
+
+if __name__ == "__main__":
+ import sys
+ app = QtWidgets.QApplication(sys.argv)
+ ApplicationWindow = QtWidgets.QMainWindow()
+ ui = Ui_ApplicationWindow()
+ ui.setupUi(ApplicationWindow)
+ ApplicationWindow.show()
+ sys.exit(app.exec())
diff --git a/Application.ui b/Application.ui
new file mode 100644
index 0000000..96d126c
--- /dev/null
+++ b/Application.ui
@@ -0,0 +1,799 @@
+
+
+ ApplicationWindow
+
+
+ Qt::WindowModality::NonModal
+
+
+ true
+
+
+
+ 0
+ 0
+ 1098
+ 768
+
+
+
+
+ 0
+ 0
+
+
+
+
+ 0
+ 0
+
+
+
+
+ 0
+ 0
+
+
+
+
+ 1228
+ 805
+
+
+
+
+ MS Shell Dlg 2
+ 11
+ false
+ false
+
+
+
+ APPLICATIONS
+
+
+ Qt::LayoutDirection::LeftToRight
+
+
+ QWidget {
+ font: 11pt "MS Shell Dlg 2";
+ background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1,
+ stop:0 rgba(173, 216, 230, 255),
+ stop:1 rgba(255, 255, 255, 255));
+};
+
+
+
+
+
+ true
+
+
+ -
+
+
+
+ 0
+ 95
+
+
+
+ QLabel{
+
+ padding: 10px;
+ font-size: 16px;
+font: 11pt "MS Shell Dlg 2";
+ border: 2px solid #ccc;
+ border-radius: 10px;
+ margin-bottom: 10px;
+}
+
+QLabel:hover {
+ background-color: #007B9E;
+}
+QLabel:pressed {
+ background-color: #005f73;
+}border-radius: 10px;
+background-color: #008CBA;
+
+
+ APPLICATIONS
+
+
+ Qt::AlignmentFlag::AlignCenter
+
+
+
+ -
+
+
+ true
+
+
+
+ 0
+ 0
+
+
+
+
+ 16777215
+ 16777215
+
+
+
+
+ MS Shell Dlg 2
+ 11
+ false
+ false
+
+
+
+ false
+
+
+ border: 2px solid #ccc;
+font: 11pt "MS Shell Dlg 2";
+border-radius: 10px;
+QWidget {
+ background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1,
+ stop:0 rgba(173, 216, 230, 255),
+ stop:1 rgba(255, 255, 255, 255));
+}
+
+
+
+
-
+
+
+
+ 0
+ 60
+
+
+
+
+ MS Shell Dlg 2
+ 11
+ false
+ false
+
+
+
+ PointingHandCursor
+
+
+ QPushButton {
+
+ background-color: #008CBA;
+ color: white;
+ padding: 10px;
+ font-size: 14px;
+font: 11pt "MS Shell Dlg 2";
+ border: none;
+ border-radius: 10px;
+ margin: 5px;
+}
+QPushButton:hover {
+ background-color: #007B9E;
+}
+QPushButton:pressed {
+ background-color: #005f73;
+}
+
+
+
+ Mentor Interview Defined
+
+
+
+ icons/members.svgicons/members.svg
+
+
+
+ 50
+ 50
+
+
+
+
+ -
+
+
+
+ 0
+ 60
+
+
+
+
+ MS Shell Dlg 2
+ 11
+ false
+ false
+
+
+
+ PointingHandCursor
+
+
+ QPushButton {
+
+ background-color: #008CBA;
+ color: white;
+ padding: 10px;
+ font-size: 14px;
+font: 11pt "MS Shell Dlg 2";
+ border: none;
+ border-radius: 10px;
+ margin: 5px;
+}
+QPushButton:hover {
+ background-color: #007B9E;
+}
+QPushButton:pressed {
+ background-color: #005f73;
+}
+
+
+
+ Main Menu
+
+
+
+ icons/news.svgicons/news.svg
+
+
+
+ 50
+ 50
+
+
+
+
+ -
+
+
+
+ 0
+ 60
+
+
+
+
+ MS Shell Dlg 2
+ 11
+ false
+ false
+
+
+
+ PointingHandCursor
+
+
+ QPushButton {
+
+ background-color: #008CBA;
+ color: white;
+ padding: 10px;
+ font-size: 14px;
+font: 11pt "MS Shell Dlg 2";
+ border: none;
+ border-radius: 10px;
+ margin: 5px;
+}
+QPushButton:hover {
+ background-color: #007B9E;
+}
+QPushButton:pressed {
+ background-color: #005f73;
+}
+
+
+
+ Mentor Interview Undefined
+
+
+
+ icons/users.svgicons/users.svg
+
+
+
+ 50
+ 50
+
+
+
+
+ -
+
+
+
+ 0
+ 60
+
+
+
+
+ MS Shell Dlg 2
+ 11
+ false
+ false
+
+
+
+ QLineEdit {
+ padding: 10px;
+ font-size: 16px;
+ border: 2px solid #ccc;
+ border-radius: 10px;
+ margin-bottom: 10px;
+}
+
+QPushButton:hover {
+ background-color: #007B9E;
+}
+QPushButton:pressed {
+ background-color: #005f73;
+}
+
+
+
+ Write a name or surname...
+
+
+
+ -
+
+
+
+ 0
+ 60
+
+
+
+
+ MS Shell Dlg 2
+ 11
+ false
+ false
+
+
+
+ PointingHandCursor
+
+
+ Qt::LayoutDirection::LeftToRight
+
+
+ QPushButton {
+
+ background-color: #008CBA;
+ color: white;
+ padding: 10px;
+ font-size: 14px;
+font: 11pt "MS Shell Dlg 2";
+ border: none;
+ border-radius: 10px;
+ margin: 5px;
+}
+QPushButton:hover {
+ background-color: #007B9E;
+}
+QPushButton:pressed {
+ background-color: #005f73;
+}
+
+
+
+ Search
+
+
+
+ icons/search-user.svgicons/search-user.svg
+
+
+
+ 50
+ 50
+
+
+
+
+ -
+
+
+
+ 0
+ 60
+
+
+
+
+ MS Shell Dlg 2
+ 11
+ false
+ false
+
+
+
+ PointingHandCursor
+
+
+ QPushButton {
+
+ background-color: #008CBA;
+ color: white;
+ padding: 10px;
+ font-size: 14px;
+font: 11pt "MS Shell Dlg 2";
+ border: none;
+ border-radius: 10px;
+ margin: 5px;
+}
+QPushButton:hover {
+ background-color: #007B9E;
+}
+QPushButton:pressed {
+ background-color: #005f73;
+}
+
+
+
+ All Applications
+
+
+
+ icons/user-groups.svgicons/user-groups.svg
+
+
+
+ 50
+ 50
+
+
+
+
+ -
+
+
+
+ 0
+ 60
+
+
+
+
+ MS Shell Dlg 2
+ 11
+ false
+ false
+
+
+
+ PointingHandCursor
+
+
+ QPushButton {
+
+ background-color: #008CBA;
+ color: white;
+ padding: 10px;
+ font-size: 14px;
+font: 11pt "MS Shell Dlg 2";
+ border: none;
+ border-radius: 10px;
+ margin: 5px;
+}
+QPushButton:hover {
+ background-color: #007B9E;
+}
+QPushButton:pressed {
+ background-color: #005f73;
+}
+
+
+
+ Duplicate Record
+
+
+
+ icons/orders.svgicons/orders.svg
+
+
+
+ 50
+ 50
+
+
+
+
+ -
+
+
+
+ 0
+ 60
+
+
+
+
+ MS Shell Dlg 2
+ 11
+ false
+ false
+
+
+
+ OpenHandCursor
+
+
+ false
+
+
+ QComboBox {
+ padding: 10px;
+ font-size: 14px;
+font: 11pt "MS Shell Dlg 2";
+ border: 2px solid #ccc;
+ border-radius: 10px;
+ margin-bottom: 10px;
+}
+QComboBox::drop-down {
+ subcontrol-origin: padding;
+ subcontrol-position: top right;
+ width: 30px;
+ border-left-width: 1px;
+ border-left-color: #ccc;
+ border-left-style: solid;
+ border-top-right-radius: 10px;
+ border-bottom-right-radius: 10px;
+}
+
+
+
+ Please make a choice...
+
+
+ 11
+
+
-
+
+ Please make a choice...
+
+
+ -
+
+ Previous VIT Control
+
+
+ -
+
+ Different Records
+
+
+ -
+
+ Applying Filter
+
+
+
+
+ -
+
+
+
+ 0
+ 60
+
+
+
+
+ MS Shell Dlg 2
+ 11
+ false
+ false
+
+
+
+ PointingHandCursor
+
+
+ QPushButton {
+
+ background-color: #008CBA;
+ color: white;
+ padding: 10px;
+ font-size: 14px;
+font: 11pt "MS Shell Dlg 2";
+ border: none;
+ border-radius: 10px;
+ margin: 5px;
+}
+QPushButton:hover {
+ background-color: #007B9E;
+}
+QPushButton:pressed {
+ background-color: #005f73;
+}
+
+
+
+ Exit
+
+
+
+ icons/power.svgicons/power.svg
+
+
+
+ 50
+ 50
+
+
+
+
+ -
+
+
+
+ 0
+ 60
+
+
+
+
+ MS Shell Dlg 2
+ 11
+ false
+ false
+
+
+
+ PointingHandCursor
+
+
+ QPushButton {
+
+ background-color: #008CBA;
+ color: white;
+ padding: 10px;
+ font-size: 14px;
+font: 11pt "MS Shell Dlg 2";
+ border: none;
+ border-radius: 10px;
+ margin: 5px;
+}
+QPushButton:hover {
+ background-color: #007B9E;
+}
+QPushButton:pressed {
+ background-color: #005f73;
+}
+
+
+
+ Differend Record
+
+
+
+ icons/checklist.svgicons/checklist.svg
+
+
+
+ 50
+ 50
+
+
+
+
+
+
+
+ -
+
+
+
+ 1228
+ 805
+
+
+
+
+ 1228
+ 805
+
+
+
+
+ MS Shell Dlg 2
+ 11
+ false
+ false
+
+
+
+ QTableWidget {
+
+ font-size: 14px;
+font: 11pt "MS Shell Dlg 2";
+ background-color: #f9f9f9;
+ alternate-background-color: #e0e0e0;
+ gridline-color: #ccc;
+ border-radius: 10px;
+}
+QHeaderView::section {
+ background-color: #008CBA;
+ color: white;
+ padding: 5px;
+ font-size: 14px;
+font: 11pt "MS Shell Dlg 2";
+}
+
+
+
+ 5
+
+
+ 204
+
+
+
+ Name
+
+
+
+ 11
+
+
+
+
+
+ Surname
+
+
+
+ 11
+
+
+
+
+
+ Email
+
+
+
+ 11
+
+
+
+
+
+ Mentor Situation
+
+
+
+ 11
+
+
+
+
+
+ VIT
+
+
+
+ 11
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/Application2_ui.py b/Application2_ui.py
new file mode 100644
index 0000000..a7ba589
--- /dev/null
+++ b/Application2_ui.py
@@ -0,0 +1,351 @@
+# Form implementation generated from reading ui file 'c:\Users\kahra\OneDrive\Masaüstü\PROGRAM\PYTHON\PROJECT\PYQT6_PROJECTS\TAMAMLANANLAR\PROJE\VIT_Project\Application2.ui'
+#
+# Created by: PyQt6 UI code generator 6.8.0
+#
+# WARNING: Any manual changes made to this file will be lost when pyuic6 is
+# run again. Do not edit this file unless you know what you are doing.
+
+
+from PyQt6 import QtCore, QtGui, QtWidgets
+
+
+class Ui_MainWindow(object):
+ def setupUi(self, MainWindow):
+ MainWindow.setObjectName("MainWindow")
+ MainWindow.setWindowModality(QtCore.Qt.WindowModality.NonModal)
+ MainWindow.setEnabled(True)
+ MainWindow.resize(1050, 630)
+ sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Preferred, QtWidgets.QSizePolicy.Policy.Preferred)
+ sizePolicy.setHorizontalStretch(0)
+ sizePolicy.setVerticalStretch(0)
+ sizePolicy.setHeightForWidth(MainWindow.sizePolicy().hasHeightForWidth())
+ MainWindow.setSizePolicy(sizePolicy)
+ MainWindow.setMinimumSize(QtCore.QSize(0, 0))
+ MainWindow.setSizeIncrement(QtCore.QSize(0, 0))
+ MainWindow.setBaseSize(QtCore.QSize(1228, 805))
+ font = QtGui.QFont()
+ font.setFamily("MS Shell Dlg 2")
+ font.setPointSize(11)
+ font.setBold(False)
+ font.setItalic(False)
+ MainWindow.setFont(font)
+ MainWindow.setLayoutDirection(QtCore.Qt.LayoutDirection.LeftToRight)
+ MainWindow.setStyleSheet("QWidget {\n"
+" font: 11pt \"MS Shell Dlg 2\";\n"
+" background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, \n"
+" stop:0 rgba(173, 216, 230, 255), \n"
+" stop:1 rgba(255, 255, 255, 255));\n"
+"};\n"
+"\n"
+"")
+ self.centralwidget = QtWidgets.QWidget(parent=MainWindow)
+ self.centralwidget.setEnabled(True)
+ self.centralwidget.setObjectName("centralwidget")
+ self.W_widget = QtWidgets.QWidget(parent=self.centralwidget)
+ self.W_widget.setEnabled(True)
+ self.W_widget.setGeometry(QtCore.QRect(0, 0, 305, 780))
+ font = QtGui.QFont()
+ font.setFamily("MS Shell Dlg 2")
+ font.setPointSize(11)
+ font.setBold(False)
+ font.setItalic(False)
+ self.W_widget.setFont(font)
+ self.W_widget.setAcceptDrops(False)
+ self.W_widget.setStyleSheet("border: 2px solid #ccc;\n"
+"font: 11pt \"MS Shell Dlg 2\";\n"
+"border-radius: 10px;\n"
+"QWidget {\n"
+" background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, \n"
+" stop:0 rgba(173, 216, 230, 255), \n"
+" stop:1 rgba(255, 255, 255, 255));\n"
+"}\n"
+"")
+ self.W_widget.setObjectName("W_widget")
+ self.LE_search_input = QtWidgets.QLineEdit(parent=self.W_widget)
+ self.LE_search_input.setGeometry(QtCore.QRect(20, 20, 265, 61))
+ font = QtGui.QFont()
+ font.setFamily("MS Shell Dlg 2")
+ font.setPointSize(11)
+ font.setBold(False)
+ font.setItalic(False)
+ self.LE_search_input.setFont(font)
+ self.LE_search_input.setStyleSheet("QLineEdit {\n"
+" padding: 10px;\n"
+" font-size: 16px;\n"
+" border: 2px solid #ccc;\n"
+" border-radius: 10px;\n"
+" margin-bottom: 10px;\n"
+"}\n"
+"\n"
+"QPushButton:hover {\n"
+" background-color: #007B9E;\n"
+"}\n"
+"QPushButton:pressed {\n"
+" background-color: #005f73;\n"
+"}\n"
+"")
+ self.LE_search_input.setObjectName("LE_search_input")
+ self.PB_search_button = QtWidgets.QPushButton(parent=self.W_widget)
+ self.PB_search_button.setGeometry(QtCore.QRect(20, 84, 265, 50))
+ font = QtGui.QFont()
+ font.setFamily("MS Shell Dlg 2")
+ font.setPointSize(11)
+ font.setBold(False)
+ font.setItalic(False)
+ self.PB_search_button.setFont(font)
+ self.PB_search_button.setLayoutDirection(QtCore.Qt.LayoutDirection.LeftToRight)
+ self.PB_search_button.setStyleSheet("QPushButton {\n"
+" font: 11pt \"MS Shell Dlg 2\";\n"
+" background-color: #008CBA;\n"
+" color: white;\n"
+" padding: 10px;\n"
+" font-size: 14px;\n"
+" border: none;\n"
+" border-radius: 10px;\n"
+" margin: 5px;\n"
+"}\n"
+"QPushButton:hover {\n"
+" background-color: #007B9E;\n"
+"}\n"
+"QPushButton:pressed {\n"
+" background-color: #005f73;\n"
+"}\n"
+"")
+ self.PB_search_button.setObjectName("PB_search_button")
+ self.PB_all_applications_button = QtWidgets.QPushButton(parent=self.W_widget)
+ self.PB_all_applications_button.setGeometry(QtCore.QRect(20, 180, 265, 61))
+ font = QtGui.QFont()
+ font.setFamily("MS Shell Dlg 2")
+ font.setPointSize(11)
+ font.setBold(False)
+ font.setItalic(False)
+ self.PB_all_applications_button.setFont(font)
+ self.PB_all_applications_button.setStyleSheet("QPushButton {\n"
+" background-color: #008CBA;\n"
+" color: white;\n"
+" padding: 10px;\n"
+" font-size: 14px;\n"
+" border: none;\n"
+" border-radius: 10px;\n"
+" margin: 5px;\n"
+"}\n"
+"QPushButton:hover {\n"
+" background-color: #007B9E;\n"
+"}\n"
+"QPushButton:pressed {\n"
+" background-color: #005f73;\n"
+"}")
+ self.PB_all_applications_button.setObjectName("PB_all_applications_button")
+ self.PB_mentor_meeting_defined_button = QtWidgets.QPushButton(parent=self.W_widget)
+ self.PB_mentor_meeting_defined_button.setGeometry(QtCore.QRect(20, 245, 265, 61))
+ font = QtGui.QFont()
+ font.setFamily("MS Shell Dlg 2")
+ font.setPointSize(11)
+ font.setBold(False)
+ font.setItalic(False)
+ self.PB_mentor_meeting_defined_button.setFont(font)
+ self.PB_mentor_meeting_defined_button.setStyleSheet("QPushButton {\n"
+" background-color: #008CBA;\n"
+" color: white;\n"
+" padding: 10px;\n"
+" font-size: 14px;\n"
+" border: none;\n"
+" border-radius: 10px;\n"
+" margin: 5px;\n"
+"}\n"
+"QPushButton:hover {\n"
+" background-color: #007B9E;\n"
+"}\n"
+"QPushButton:pressed {\n"
+" background-color: #005f73;\n"
+"}")
+ self.PB_mentor_meeting_defined_button.setObjectName("PB_mentor_meeting_defined_button")
+ self.PB_mentor_interview_undefined_button = QtWidgets.QPushButton(parent=self.W_widget)
+ self.PB_mentor_interview_undefined_button.setGeometry(QtCore.QRect(20, 310, 265, 61))
+ font = QtGui.QFont()
+ font.setFamily("MS Shell Dlg 2")
+ font.setPointSize(11)
+ font.setBold(False)
+ font.setItalic(False)
+ self.PB_mentor_interview_undefined_button.setFont(font)
+ self.PB_mentor_interview_undefined_button.setStyleSheet("QPushButton {\n"
+" background-color: #008CBA;\n"
+" color: white;\n"
+" padding: 10px;\n"
+" font-size: 14px;\n"
+" border: none;\n"
+" border-radius: 10px;\n"
+" margin: 5px;\n"
+"}\n"
+"QPushButton:hover {\n"
+" background-color: #007B9E;\n"
+"}\n"
+"QPushButton:pressed {\n"
+" background-color: #005f73;\n"
+"}")
+ self.PB_mentor_interview_undefined_button.setObjectName("PB_mentor_interview_undefined_button")
+ self.PB_duplicate_record_button = QtWidgets.QPushButton(parent=self.W_widget)
+ self.PB_duplicate_record_button.setGeometry(QtCore.QRect(20, 375, 265, 61))
+ font = QtGui.QFont()
+ font.setFamily("MS Shell Dlg 2")
+ font.setPointSize(11)
+ font.setBold(False)
+ font.setItalic(False)
+ self.PB_duplicate_record_button.setFont(font)
+ self.PB_duplicate_record_button.setStyleSheet("QPushButton {\n"
+" background-color: #008CBA;\n"
+" color: white;\n"
+" padding: 10px;\n"
+" font-size: 14px;\n"
+" border: none;\n"
+" border-radius: 10px;\n"
+" margin: 5px;\n"
+"}\n"
+"QPushButton:hover {\n"
+" background-color: #007B9E;\n"
+"}\n"
+"QPushButton:pressed {\n"
+" background-color: #005f73;\n"
+"}")
+ self.PB_duplicate_record_button.setObjectName("PB_duplicate_record_button")
+ self.CB_combo_box = QtWidgets.QComboBox(parent=self.W_widget)
+ self.CB_combo_box.setGeometry(QtCore.QRect(20, 450, 265, 55))
+ font = QtGui.QFont()
+ font.setFamily("MS Shell Dlg 2")
+ font.setPointSize(11)
+ font.setBold(False)
+ font.setItalic(False)
+ self.CB_combo_box.setFont(font)
+ self.CB_combo_box.setStyleSheet("QComboBox {\n"
+" padding: 10px;\n"
+" font-size: 14px;\n"
+" border: 2px solid #ccc;\n"
+" border-radius: 10px;\n"
+" margin-bottom: 10px;\n"
+"}\n"
+"QComboBox::drop-down {\n"
+" subcontrol-origin: padding;\n"
+" subcontrol-position: top right;\n"
+" width: 30px;\n"
+" border-left-width: 1px;\n"
+" border-left-color: #ccc;\n"
+" border-left-style: solid;\n"
+" border-top-right-radius: 10px;\n"
+" border-bottom-right-radius: 10px;\n"
+"}\n"
+"")
+ self.CB_combo_box.setMaxVisibleItems(11)
+ self.CB_combo_box.setObjectName("CB_combo_box")
+ self.CB_combo_box.addItem("")
+ self.CB_combo_box.addItem("")
+ self.CB_combo_box.addItem("")
+ self.CB_combo_box.addItem("")
+ self.PB_return_to_preferences_screen_button = QtWidgets.QPushButton(parent=self.W_widget)
+ self.PB_return_to_preferences_screen_button.setGeometry(QtCore.QRect(20, 500, 265, 61))
+ font = QtGui.QFont()
+ font.setFamily("MS Shell Dlg 2")
+ font.setPointSize(11)
+ font.setBold(False)
+ font.setItalic(False)
+ self.PB_return_to_preferences_screen_button.setFont(font)
+ self.PB_return_to_preferences_screen_button.setStyleSheet("QPushButton {\n"
+" background-color: #008CBA;\n"
+" color: white;\n"
+" padding: 10px;\n"
+" font-size: 14px;\n"
+" border: none;\n"
+" border-radius: 10px;\n"
+" margin: 5px;\n"
+"}\n"
+"QPushButton:hover {\n"
+" background-color: #007B9E;\n"
+"}\n"
+"QPushButton:pressed {\n"
+" background-color: #005f73;\n"
+"}")
+ self.PB_return_to_preferences_screen_button.setObjectName("PB_return_to_preferences_screen_button")
+ self.tableWidget = QtWidgets.QTableWidget(parent=self.centralwidget)
+ self.tableWidget.setGeometry(QtCore.QRect(325, 10, 900, 780))
+ self.tableWidget.setSizeIncrement(QtCore.QSize(1228, 805))
+ self.tableWidget.setBaseSize(QtCore.QSize(1228, 805))
+ font = QtGui.QFont()
+ font.setFamily("MS Shell Dlg 2")
+ font.setPointSize(11)
+ font.setBold(False)
+ font.setItalic(False)
+ self.tableWidget.setFont(font)
+ self.tableWidget.setStyleSheet("QTableWidget {\n"
+" font-size: 14px;\n"
+" background-color: #f9f9f9;\n"
+" alternate-background-color: #e0e0e0;\n"
+" gridline-color: #ccc;\n"
+" border-radius: 10px;\n"
+"}\n"
+"QHeaderView::section {\n"
+" background-color: #008CBA;\n"
+" color: white;\n"
+" padding: 5px;\n"
+" font-size: 14px;\n"
+"}\n"
+"")
+ self.tableWidget.setColumnCount(5)
+ self.tableWidget.setObjectName("tableWidget")
+ self.tableWidget.setRowCount(0)
+ item = QtWidgets.QTableWidgetItem()
+ font = QtGui.QFont()
+ font.setPointSize(11)
+ item.setFont(font)
+ self.tableWidget.setHorizontalHeaderItem(0, item)
+ item = QtWidgets.QTableWidgetItem()
+ font = QtGui.QFont()
+ font.setPointSize(11)
+ item.setFont(font)
+ self.tableWidget.setHorizontalHeaderItem(1, item)
+ item = QtWidgets.QTableWidgetItem()
+ font = QtGui.QFont()
+ font.setPointSize(11)
+ item.setFont(font)
+ self.tableWidget.setHorizontalHeaderItem(2, item)
+ item = QtWidgets.QTableWidgetItem()
+ font = QtGui.QFont()
+ font.setPointSize(11)
+ item.setFont(font)
+ self.tableWidget.setHorizontalHeaderItem(3, item)
+ item = QtWidgets.QTableWidgetItem()
+ font = QtGui.QFont()
+ font.setPointSize(11)
+ item.setFont(font)
+ self.tableWidget.setHorizontalHeaderItem(4, item)
+ MainWindow.setCentralWidget(self.centralwidget)
+ self.statusbar = QtWidgets.QStatusBar(parent=MainWindow)
+ self.statusbar.setObjectName("statusbar")
+ MainWindow.setStatusBar(self.statusbar)
+
+ self.retranslateUi(MainWindow)
+ QtCore.QMetaObject.connectSlotsByName(MainWindow)
+
+ def retranslateUi(self, MainWindow):
+ _translate = QtCore.QCoreApplication.translate
+ MainWindow.setWindowTitle(_translate("MainWindow", "APPLICATIONS"))
+ self.LE_search_input.setPlaceholderText(_translate("MainWindow", " Write a name or surname..."))
+ self.PB_search_button.setText(_translate("MainWindow", "Search"))
+ self.PB_all_applications_button.setText(_translate("MainWindow", "All Applications"))
+ self.PB_mentor_meeting_defined_button.setText(_translate("MainWindow", "Mentor Interview Defined"))
+ self.PB_mentor_interview_undefined_button.setText(_translate("MainWindow", "Mentor Interview Undefined"))
+ self.PB_duplicate_record_button.setText(_translate("MainWindow", "Duplicate Record"))
+ self.CB_combo_box.setCurrentText(_translate("MainWindow", " Please make a choice..."))
+ self.CB_combo_box.setItemText(0, _translate("MainWindow", " Please make a choice..."))
+ self.CB_combo_box.setItemText(1, _translate("MainWindow", " Previous VIT Control"))
+ self.CB_combo_box.setItemText(2, _translate("MainWindow", " Different Records"))
+ self.CB_combo_box.setItemText(3, _translate("MainWindow", " Applying Filter"))
+ self.PB_return_to_preferences_screen_button.setText(_translate("MainWindow", "Return to Preferences Screen"))
+ item = self.tableWidget.horizontalHeaderItem(0)
+ item.setText(_translate("MainWindow", "Name"))
+ item = self.tableWidget.horizontalHeaderItem(1)
+ item.setText(_translate("MainWindow", "Surname"))
+ item = self.tableWidget.horizontalHeaderItem(2)
+ item.setText(_translate("MainWindow", "Email"))
+ item = self.tableWidget.horizontalHeaderItem(3)
+ item.setText(_translate("MainWindow", "Mentor Situation"))
+ item = self.tableWidget.horizontalHeaderItem(4)
+ item.setText(_translate("MainWindow", "VIT"))
diff --git a/Application3.py b/Application3.py
new file mode 100644
index 0000000..7afdbad
--- /dev/null
+++ b/Application3.py
@@ -0,0 +1,486 @@
+# Form implementation generated from reading ui file 'Application3.ui'
+#
+# Created by: PyQt6 UI code generator 6.8.0
+#
+# WARNING: Any manual changes made to this file will be lost when pyuic6 is
+# run again. Do not edit this file unless you know what you are doing.
+
+
+from PyQt6 import QtCore, QtGui, QtWidgets
+
+
+class Ui_ApplicationWindow(object):
+ def setupUi(self, Ui_ApplicationWindow):
+ Ui_ApplicationWindow.setObjectName("Ui_ApplicationWindow")
+ Ui_ApplicationWindow.setWindowModality(QtCore.Qt.WindowModality.NonModal)
+ Ui_ApplicationWindow.setEnabled(True)
+ Ui_ApplicationWindow.resize(1136, 851)
+ sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Preferred, QtWidgets.QSizePolicy.Policy.Preferred)
+ sizePolicy.setHorizontalStretch(0)
+ sizePolicy.setVerticalStretch(0)
+ sizePolicy.setHeightForWidth(Ui_ApplicationWindow.sizePolicy().hasHeightForWidth())
+ Ui_ApplicationWindow.setSizePolicy(sizePolicy)
+ Ui_ApplicationWindow.setMinimumSize(QtCore.QSize(0, 0))
+ Ui_ApplicationWindow.setSizeIncrement(QtCore.QSize(0, 0))
+ Ui_ApplicationWindow.setBaseSize(QtCore.QSize(1228, 805))
+ font = QtGui.QFont()
+ font.setFamily("MS Shell Dlg 2")
+ font.setPointSize(11)
+ font.setBold(False)
+ font.setItalic(False)
+ Ui_ApplicationWindow.setFont(font)
+ Ui_ApplicationWindow.setLayoutDirection(QtCore.Qt.LayoutDirection.LeftToRight)
+ Ui_ApplicationWindow.setStyleSheet("QWidget {\n"
+" font: 11pt \"MS Shell Dlg 2\";\n"
+" background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, \n"
+" stop:0 rgba(173, 216, 230, 255), \n"
+" stop:1 rgba(255, 255, 255, 255));\n"
+"};\n"
+"\n"
+"")
+ self.centralwidget = QtWidgets.QWidget(parent=Ui_ApplicationWindow)
+ self.centralwidget.setEnabled(True)
+ self.centralwidget.setObjectName("centralwidget")
+ self.verticalLayout_2 = QtWidgets.QVBoxLayout(self.centralwidget)
+ self.verticalLayout_2.setObjectName("verticalLayout_2")
+ self.label = QtWidgets.QLabel(parent=self.centralwidget)
+ self.label.setMinimumSize(QtCore.QSize(0, 95))
+ self.label.setStyleSheet("QLabel{\n"
+" \n"
+" padding: 10px;\n"
+" font-size: 16px;\n"
+"font: 11pt \"MS Shell Dlg 2\";\n"
+" border: 2px solid #ccc;\n"
+" border-radius: 10px;\n"
+" margin-bottom: 10px;\n"
+"}\n"
+"\n"
+"QLabel:hover {\n"
+" background-color: #007B9E;\n"
+"}\n"
+"QLabel:pressed {\n"
+" background-color: #005f73;\n"
+"}border-radius: 10px;\n"
+"background-color: #008CBA;")
+ self.label.setAlignment(QtCore.Qt.AlignmentFlag.AlignCenter)
+ self.label.setObjectName("label")
+ self.verticalLayout_2.addWidget(self.label)
+ self.W_widget = QtWidgets.QWidget(parent=self.centralwidget)
+ self.W_widget.setEnabled(True)
+ self.W_widget.setMinimumSize(QtCore.QSize(0, 0))
+ self.W_widget.setMaximumSize(QtCore.QSize(16777215, 16777215))
+ font = QtGui.QFont()
+ font.setFamily("MS Shell Dlg 2")
+ font.setPointSize(11)
+ font.setBold(False)
+ font.setItalic(False)
+ self.W_widget.setFont(font)
+ self.W_widget.setAcceptDrops(False)
+ self.W_widget.setStyleSheet("border: 2px solid #ccc;\n"
+"font: 11pt \"MS Shell Dlg 2\";\n"
+"border-radius: 10px;\n"
+"QWidget {\n"
+" background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, \n"
+" stop:0 rgba(173, 216, 230, 255), \n"
+" stop:1 rgba(255, 255, 255, 255));\n"
+"}\n"
+"")
+ self.W_widget.setObjectName("W_widget")
+ self.gridLayout = QtWidgets.QGridLayout(self.W_widget)
+ self.gridLayout.setObjectName("gridLayout")
+ self.PB_duplicate_record_button = QtWidgets.QPushButton(parent=self.W_widget)
+ self.PB_duplicate_record_button.setMinimumSize(QtCore.QSize(0, 60))
+ font = QtGui.QFont()
+ font.setFamily("MS Shell Dlg 2")
+ font.setPointSize(11)
+ font.setBold(False)
+ font.setItalic(False)
+ self.PB_duplicate_record_button.setFont(font)
+ self.PB_duplicate_record_button.setStyleSheet("QPushButton {\n"
+" \n"
+" background-color: #008CBA;\n"
+" color: white;\n"
+" padding: 10px;\n"
+" font-size: 14px;\n"
+"font: 11pt \"MS Shell Dlg 2\";\n"
+" border: none;\n"
+" border-radius: 10px;\n"
+" margin: 5px;\n"
+"}\n"
+"QPushButton:hover {\n"
+" background-color: #007B9E;\n"
+"}\n"
+"QPushButton:pressed {\n"
+" background-color: #005f73;\n"
+"}\n"
+"")
+ self.PB_duplicate_record_button.setObjectName("PB_duplicate_record_button")
+ self.gridLayout.addWidget(self.PB_duplicate_record_button, 3, 0, 1, 1)
+ self.PB_all_applications_button = QtWidgets.QPushButton(parent=self.W_widget)
+ self.PB_all_applications_button.setMinimumSize(QtCore.QSize(0, 60))
+ font = QtGui.QFont()
+ font.setFamily("MS Shell Dlg 2")
+ font.setPointSize(11)
+ font.setBold(False)
+ font.setItalic(False)
+ self.PB_all_applications_button.setFont(font)
+ self.PB_all_applications_button.setStyleSheet("QPushButton {\n"
+" \n"
+" background-color: #008CBA;\n"
+" color: white;\n"
+" padding: 10px;\n"
+" font-size: 14px;\n"
+"font: 11pt \"MS Shell Dlg 2\";\n"
+" border: none;\n"
+" border-radius: 10px;\n"
+" margin: 5px;\n"
+"}\n"
+"QPushButton:hover {\n"
+" background-color: #007B9E;\n"
+"}\n"
+"QPushButton:pressed {\n"
+" background-color: #005f73;\n"
+"}\n"
+"")
+ self.PB_all_applications_button.setObjectName("PB_all_applications_button")
+ self.gridLayout.addWidget(self.PB_all_applications_button, 2, 0, 1, 1)
+ self.LE_search_input = QtWidgets.QLineEdit(parent=self.W_widget)
+ self.LE_search_input.setMinimumSize(QtCore.QSize(0, 60))
+ font = QtGui.QFont()
+ font.setFamily("MS Shell Dlg 2")
+ font.setPointSize(11)
+ font.setBold(False)
+ font.setItalic(False)
+ self.LE_search_input.setFont(font)
+ self.LE_search_input.setStyleSheet("QLineEdit {\n"
+" padding: 10px;\n"
+" font-size: 16px;\n"
+" font: 11pt \"MS Shell Dlg 2\";\n"
+" border: 2px solid #ccc;\n"
+" border-radius: 10px;\n"
+" margin-bottom: 10px;\n"
+"}\n"
+"\n"
+"QPushButton:hover {\n"
+" background-color: #007B9E;\n"
+"}\n"
+"QPushButton:pressed {\n"
+" background-color: #005f73;\n"
+"}\n"
+"")
+ self.LE_search_input.setObjectName("LE_search_input")
+ self.gridLayout.addWidget(self.LE_search_input, 1, 2, 1, 1)
+ self.PB_search_button = QtWidgets.QPushButton(parent=self.W_widget)
+ self.PB_search_button.setMinimumSize(QtCore.QSize(0, 60))
+ font = QtGui.QFont()
+ font.setFamily("MS Shell Dlg 2")
+ font.setPointSize(11)
+ font.setBold(False)
+ font.setItalic(False)
+ self.PB_search_button.setFont(font)
+ self.PB_search_button.setLayoutDirection(QtCore.Qt.LayoutDirection.LeftToRight)
+ self.PB_search_button.setStyleSheet("QPushButton {\n"
+" \n"
+" background-color: #008CBA;\n"
+" color: white;\n"
+" padding: 10px;\n"
+" font-size: 14px;\n"
+"font: 11pt \"MS Shell Dlg 2\";\n"
+" border: none;\n"
+" border-radius: 10px;\n"
+" margin: 5px;\n"
+"}\n"
+"QPushButton:hover {\n"
+" background-color: #007B9E;\n"
+"}\n"
+"QPushButton:pressed {\n"
+" background-color: #005f73;\n"
+"}\n"
+"")
+ self.PB_search_button.setObjectName("PB_search_button")
+ self.gridLayout.addWidget(self.PB_search_button, 1, 0, 1, 1)
+ self.PB_mentor_meeting_defined_button = QtWidgets.QPushButton(parent=self.W_widget)
+ self.PB_mentor_meeting_defined_button.setMinimumSize(QtCore.QSize(0, 60))
+ font = QtGui.QFont()
+ font.setFamily("MS Shell Dlg 2")
+ font.setPointSize(11)
+ font.setBold(False)
+ font.setItalic(False)
+ self.PB_mentor_meeting_defined_button.setFont(font)
+ self.PB_mentor_meeting_defined_button.setStyleSheet("QPushButton {\n"
+" \n"
+" background-color: #008CBA;\n"
+" color: white;\n"
+" padding: 10px;\n"
+" font-size: 14px;\n"
+"font: 11pt \"MS Shell Dlg 2\";\n"
+" border: none;\n"
+" border-radius: 10px;\n"
+" margin: 5px;\n"
+"}\n"
+"QPushButton:hover {\n"
+" background-color: #007B9E;\n"
+"}\n"
+"QPushButton:pressed {\n"
+" background-color: #005f73;\n"
+"}\n"
+"")
+ self.PB_mentor_meeting_defined_button.setObjectName("PB_mentor_meeting_defined_button")
+ self.gridLayout.addWidget(self.PB_mentor_meeting_defined_button, 4, 0, 1, 1)
+ self.CB_combo_box = QtWidgets.QComboBox(parent=self.W_widget)
+ self.CB_combo_box.setMinimumSize(QtCore.QSize(0, 60))
+ font = QtGui.QFont()
+ font.setFamily("MS Shell Dlg 2")
+ font.setPointSize(11)
+ font.setBold(False)
+ font.setItalic(False)
+ self.CB_combo_box.setFont(font)
+ self.CB_combo_box.setStyleSheet("QComboBox {\n"
+" padding: 10px;\n"
+" font-size: 14px;\n"
+"font: 11pt \"MS Shell Dlg 2\";\n"
+" border: 2px solid #ccc;\n"
+" border-radius: 10px;\n"
+" margin-bottom: 10px;\n"
+"}\n"
+"QComboBox::drop-down {\n"
+" subcontrol-origin: padding;\n"
+" subcontrol-position: top right;\n"
+" width: 30px;\n"
+" border-left-width: 1px;\n"
+" border-left-color: #ccc;\n"
+" border-left-style: solid;\n"
+" border-top-right-radius: 10px;\n"
+" border-bottom-right-radius: 10px;\n"
+"}\n"
+"")
+ self.CB_combo_box.setMaxVisibleItems(11)
+ self.CB_combo_box.setObjectName("CB_combo_box")
+ self.CB_combo_box.addItem("")
+ self.CB_combo_box.addItem("")
+ self.CB_combo_box.addItem("")
+ self.CB_combo_box.addItem("")
+ self.gridLayout.addWidget(self.CB_combo_box, 2, 2, 1, 1)
+ self.PB_mentor_interview_undefined_button = QtWidgets.QPushButton(parent=self.W_widget)
+ self.PB_mentor_interview_undefined_button.setMinimumSize(QtCore.QSize(0, 60))
+ font = QtGui.QFont()
+ font.setFamily("MS Shell Dlg 2")
+ font.setPointSize(11)
+ font.setBold(False)
+ font.setItalic(False)
+ self.PB_mentor_interview_undefined_button.setFont(font)
+ self.PB_mentor_interview_undefined_button.setStyleSheet("QPushButton {\n"
+" \n"
+" background-color: #008CBA;\n"
+" color: white;\n"
+" padding: 10px;\n"
+" font-size: 14px;\n"
+"font: 11pt \"MS Shell Dlg 2\";\n"
+" border: none;\n"
+" border-radius: 10px;\n"
+" margin: 5px;\n"
+"}\n"
+"QPushButton:hover {\n"
+" background-color: #007B9E;\n"
+"}\n"
+"QPushButton:pressed {\n"
+" background-color: #005f73;\n"
+"}\n"
+"")
+ self.PB_mentor_interview_undefined_button.setObjectName("PB_mentor_interview_undefined_button")
+ self.gridLayout.addWidget(self.PB_mentor_interview_undefined_button, 4, 2, 1, 1)
+ self.gridLayout.setColumnStretch(0, 3)
+ self.gridLayout.setColumnStretch(2, 2)
+ self.verticalLayout_2.addWidget(self.W_widget)
+ self.tableWidget = QtWidgets.QTableWidget(parent=self.centralwidget)
+ self.tableWidget.setSizeIncrement(QtCore.QSize(1228, 805))
+ self.tableWidget.setBaseSize(QtCore.QSize(1228, 805))
+ font = QtGui.QFont()
+ font.setFamily("MS Shell Dlg 2")
+ font.setPointSize(11)
+ font.setBold(False)
+ font.setItalic(False)
+ self.tableWidget.setFont(font)
+ self.tableWidget.setStyleSheet("QTableWidget {\n"
+" \n"
+" font-size: 14px;\n"
+"font: 11pt \"MS Shell Dlg 2\";\n"
+" background-color: #f9f9f9;\n"
+" alternate-background-color: #e0e0e0;\n"
+" gridline-color: #ccc;\n"
+" border-radius: 10px;\n"
+"}\n"
+"QHeaderView::section {\n"
+" background-color: #008CBA;\n"
+" color: white;\n"
+" padding: 5px;\n"
+" font-size: 14px;\n"
+"font: 11pt \"MS Shell Dlg 2\";\n"
+"}\n"
+"")
+ self.tableWidget.setColumnCount(15)
+ self.tableWidget.setObjectName("tableWidget")
+ self.tableWidget.setRowCount(0)
+ item = QtWidgets.QTableWidgetItem()
+ font = QtGui.QFont()
+ font.setPointSize(11)
+ item.setFont(font)
+ self.tableWidget.setHorizontalHeaderItem(0, item)
+ item = QtWidgets.QTableWidgetItem()
+ font = QtGui.QFont()
+ font.setPointSize(11)
+ item.setFont(font)
+ self.tableWidget.setHorizontalHeaderItem(1, item)
+ item = QtWidgets.QTableWidgetItem()
+ self.tableWidget.setHorizontalHeaderItem(2, item)
+ item = QtWidgets.QTableWidgetItem()
+ self.tableWidget.setHorizontalHeaderItem(3, item)
+ item = QtWidgets.QTableWidgetItem()
+ self.tableWidget.setHorizontalHeaderItem(4, item)
+ item = QtWidgets.QTableWidgetItem()
+ self.tableWidget.setHorizontalHeaderItem(5, item)
+ item = QtWidgets.QTableWidgetItem()
+ self.tableWidget.setHorizontalHeaderItem(6, item)
+ item = QtWidgets.QTableWidgetItem()
+ self.tableWidget.setHorizontalHeaderItem(7, item)
+ item = QtWidgets.QTableWidgetItem()
+ self.tableWidget.setHorizontalHeaderItem(8, item)
+ item = QtWidgets.QTableWidgetItem()
+ self.tableWidget.setHorizontalHeaderItem(9, item)
+ item = QtWidgets.QTableWidgetItem()
+ self.tableWidget.setHorizontalHeaderItem(10, item)
+ item = QtWidgets.QTableWidgetItem()
+ self.tableWidget.setHorizontalHeaderItem(11, item)
+ item = QtWidgets.QTableWidgetItem()
+ self.tableWidget.setHorizontalHeaderItem(12, item)
+ item = QtWidgets.QTableWidgetItem()
+ self.tableWidget.setHorizontalHeaderItem(13, item)
+ item = QtWidgets.QTableWidgetItem()
+ font = QtGui.QFont()
+ font.setPointSize(11)
+ item.setFont(font)
+ self.tableWidget.setHorizontalHeaderItem(14, item)
+ self.tableWidget.horizontalHeader().setDefaultSectionSize(255)
+ self.verticalLayout_2.addWidget(self.tableWidget)
+ self.frame = QtWidgets.QFrame(parent=self.centralwidget)
+ self.frame.setMinimumSize(QtCore.QSize(0, 0))
+ self.frame.setFrameShape(QtWidgets.QFrame.Shape.StyledPanel)
+ self.frame.setFrameShadow(QtWidgets.QFrame.Shadow.Raised)
+ self.frame.setObjectName("frame")
+ self.horizontalLayout = QtWidgets.QHBoxLayout(self.frame)
+ self.horizontalLayout.setObjectName("horizontalLayout")
+ self.PB_return_to_preferences_screen_button = QtWidgets.QPushButton(parent=self.frame)
+ self.PB_return_to_preferences_screen_button.setMinimumSize(QtCore.QSize(0, 60))
+ font = QtGui.QFont()
+ font.setFamily("MS Shell Dlg 2")
+ font.setPointSize(11)
+ font.setBold(False)
+ font.setItalic(False)
+ self.PB_return_to_preferences_screen_button.setFont(font)
+ self.PB_return_to_preferences_screen_button.setStyleSheet("QPushButton {\n"
+" \n"
+" background-color: #008CBA;\n"
+" color: white;\n"
+" padding: 10px;\n"
+" font-size: 14px;\n"
+"font: 11pt \"MS Shell Dlg 2\";\n"
+" border: none;\n"
+" border-radius: 10px;\n"
+" margin: 5px;\n"
+"}\n"
+"QPushButton:hover {\n"
+" background-color: #007B9E;\n"
+"}\n"
+"QPushButton:pressed {\n"
+" background-color: #005f73;\n"
+"}\n"
+"")
+ self.PB_return_to_preferences_screen_button.setObjectName("PB_return_to_preferences_screen_button")
+ self.horizontalLayout.addWidget(self.PB_return_to_preferences_screen_button)
+ self.PB_EXIT = QtWidgets.QPushButton(parent=self.frame)
+ self.PB_EXIT.setMinimumSize(QtCore.QSize(0, 60))
+ self.PB_EXIT.setStyleSheet("QPushButton {\n"
+" \n"
+" background-color: #008CBA;\n"
+" color: white;\n"
+" padding: 10px;\n"
+" font-size: 14px;\n"
+"font: 11pt \"MS Shell Dlg 2\";\n"
+" border: none;\n"
+" border-radius: 10px;\n"
+" margin: 5px;\n"
+"}\n"
+"QPushButton:hover {\n"
+" background-color: #007B9E;\n"
+"}\n"
+"QPushButton:pressed {\n"
+" background-color: #005f73;\n"
+"}")
+ self.PB_EXIT.setObjectName("PB_EXIT")
+ self.horizontalLayout.addWidget(self.PB_EXIT)
+ self.verticalLayout_2.addWidget(self.frame)
+ Ui_ApplicationWindow.setCentralWidget(self.centralwidget)
+ self.statusbar = QtWidgets.QStatusBar(parent=Ui_ApplicationWindow)
+ self.statusbar.setObjectName("statusbar")
+ Ui_ApplicationWindow.setStatusBar(self.statusbar)
+
+ self.retranslateUi(Ui_ApplicationWindow)
+ QtCore.QMetaObject.connectSlotsByName(Ui_ApplicationWindow)
+
+ def retranslateUi(self, Ui_ApplicationWindow):
+ _translate = QtCore.QCoreApplication.translate
+ Ui_ApplicationWindow.setWindowTitle(_translate("Ui_ApplicationWindow", "APPLICATIONS"))
+ self.label.setText(_translate("Ui_ApplicationWindow", "APPLICATIONS"))
+ self.PB_duplicate_record_button.setText(_translate("Ui_ApplicationWindow", "Duplicate Record"))
+ self.PB_all_applications_button.setText(_translate("Ui_ApplicationWindow", "All Applications"))
+ self.LE_search_input.setPlaceholderText(_translate("Ui_ApplicationWindow", " Write a name or surname..."))
+ self.PB_search_button.setText(_translate("Ui_ApplicationWindow", "Search"))
+ self.PB_mentor_meeting_defined_button.setText(_translate("Ui_ApplicationWindow", "Mentor Interview Defined"))
+ self.CB_combo_box.setCurrentText(_translate("Ui_ApplicationWindow", " Please make a choice..."))
+ self.CB_combo_box.setItemText(0, _translate("Ui_ApplicationWindow", " Please make a choice..."))
+ self.CB_combo_box.setItemText(1, _translate("Ui_ApplicationWindow", " Previous VIT Control"))
+ self.CB_combo_box.setItemText(2, _translate("Ui_ApplicationWindow", " Different Records"))
+ self.CB_combo_box.setItemText(3, _translate("Ui_ApplicationWindow", " Applying Filter"))
+ self.PB_mentor_interview_undefined_button.setText(_translate("Ui_ApplicationWindow", "Mentor Interview Undefined"))
+ item = self.tableWidget.horizontalHeaderItem(0)
+ item.setText(_translate("Ui_ApplicationWindow", "Name Surname"))
+ item = self.tableWidget.horizontalHeaderItem(1)
+ item.setText(_translate("Ui_ApplicationWindow", "Email"))
+ item = self.tableWidget.horizontalHeaderItem(2)
+ item.setText(_translate("Ui_ApplicationWindow", "Telephone"))
+ item = self.tableWidget.horizontalHeaderItem(3)
+ item.setText(_translate("Ui_ApplicationWindow", "Application Date Time"))
+ item = self.tableWidget.horizontalHeaderItem(4)
+ item.setText(_translate("Ui_ApplicationWindow", "Current Situation"))
+ item = self.tableWidget.horizontalHeaderItem(5)
+ item.setText(_translate("Ui_ApplicationWindow", "ITPH Training Request"))
+ item = self.tableWidget.horizontalHeaderItem(6)
+ item.setText(_translate("Ui_ApplicationWindow", "Economic Situation"))
+ item = self.tableWidget.horizontalHeaderItem(7)
+ item.setText(_translate("Ui_ApplicationWindow", "English Level"))
+ item = self.tableWidget.horizontalHeaderItem(8)
+ item.setText(_translate("Ui_ApplicationWindow", "Dutch Level"))
+ item = self.tableWidget.horizontalHeaderItem(9)
+ item.setText(_translate("Ui_ApplicationWindow", "Online Course"))
+ item = self.tableWidget.horizontalHeaderItem(10)
+ item.setText(_translate("Ui_ApplicationWindow", "IT Experience"))
+ item = self.tableWidget.horizontalHeaderItem(11)
+ item.setText(_translate("Ui_ApplicationWindow", "Willingness to Work"))
+ item = self.tableWidget.horizontalHeaderItem(12)
+ item.setText(_translate("Ui_ApplicationWindow", "Why Want to Join"))
+ item = self.tableWidget.horizontalHeaderItem(13)
+ item.setText(_translate("Ui_ApplicationWindow", "Mentor"))
+ item = self.tableWidget.horizontalHeaderItem(14)
+ item.setText(_translate("Ui_ApplicationWindow", "VIT"))
+ self.PB_return_to_preferences_screen_button.setText(_translate("Ui_ApplicationWindow", "Return to Preferences Screen"))
+ self.PB_EXIT.setText(_translate("Ui_ApplicationWindow", "EXIT"))
+
+
+if __name__ == "__main__":
+ import sys
+ app = QtWidgets.QApplication(sys.argv)
+ Ui_ApplicationWindow = QtWidgets.QMainWindow()
+ ui = Ui_Ui_ApplicationWindow()
+ ui.setupUi(Ui_ApplicationWindow)
+ Ui_ApplicationWindow.show()
+ sys.exit(app.exec())
diff --git a/Application3.ui b/Application3.ui
new file mode 100644
index 0000000..4238585
--- /dev/null
+++ b/Application3.ui
@@ -0,0 +1,698 @@
+
+
+ Ui_ApplicationWindow
+
+
+ Qt::WindowModality::NonModal
+
+
+ true
+
+
+
+ 0
+ 0
+ 1136
+ 851
+
+
+
+
+ 0
+ 0
+
+
+
+
+ 0
+ 0
+
+
+
+
+ 0
+ 0
+
+
+
+
+ 1228
+ 805
+
+
+
+
+ MS Shell Dlg 2
+ 11
+ false
+ false
+
+
+
+ APPLICATIONS
+
+
+ Qt::LayoutDirection::LeftToRight
+
+
+ QWidget {
+ font: 11pt "MS Shell Dlg 2";
+ background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1,
+ stop:0 rgba(173, 216, 230, 255),
+ stop:1 rgba(255, 255, 255, 255));
+};
+
+
+
+
+
+ true
+
+
+ -
+
+
+
+ 0
+ 95
+
+
+
+ QLabel{
+
+ padding: 10px;
+ font-size: 16px;
+font: 11pt "MS Shell Dlg 2";
+ border: 2px solid #ccc;
+ border-radius: 10px;
+ margin-bottom: 10px;
+}
+
+QLabel:hover {
+ background-color: #007B9E;
+}
+QLabel:pressed {
+ background-color: #005f73;
+}border-radius: 10px;
+background-color: #008CBA;
+
+
+ APPLICATIONS
+
+
+ Qt::AlignmentFlag::AlignCenter
+
+
+
+ -
+
+
+ true
+
+
+
+ 0
+ 0
+
+
+
+
+ 16777215
+ 16777215
+
+
+
+
+ MS Shell Dlg 2
+ 11
+ false
+ false
+
+
+
+ false
+
+
+ border: 2px solid #ccc;
+font: 11pt "MS Shell Dlg 2";
+border-radius: 10px;
+QWidget {
+ background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1,
+ stop:0 rgba(173, 216, 230, 255),
+ stop:1 rgba(255, 255, 255, 255));
+}
+
+
+
+
-
+
+
+
+ 0
+ 60
+
+
+
+
+ MS Shell Dlg 2
+ 11
+ false
+ false
+
+
+
+ QPushButton {
+
+ background-color: #008CBA;
+ color: white;
+ padding: 10px;
+ font-size: 14px;
+font: 11pt "MS Shell Dlg 2";
+ border: none;
+ border-radius: 10px;
+ margin: 5px;
+}
+QPushButton:hover {
+ background-color: #007B9E;
+}
+QPushButton:pressed {
+ background-color: #005f73;
+}
+
+
+
+ Duplicate Record
+
+
+
+ -
+
+
+
+ 0
+ 60
+
+
+
+
+ MS Shell Dlg 2
+ 11
+ false
+ false
+
+
+
+ QPushButton {
+
+ background-color: #008CBA;
+ color: white;
+ padding: 10px;
+ font-size: 14px;
+font: 11pt "MS Shell Dlg 2";
+ border: none;
+ border-radius: 10px;
+ margin: 5px;
+}
+QPushButton:hover {
+ background-color: #007B9E;
+}
+QPushButton:pressed {
+ background-color: #005f73;
+}
+
+
+
+ All Applications
+
+
+
+ -
+
+
+
+ 0
+ 60
+
+
+
+
+ MS Shell Dlg 2
+ 11
+ false
+ false
+
+
+
+ QLineEdit {
+ padding: 10px;
+ font-size: 16px;
+ font: 11pt "MS Shell Dlg 2";
+ border: 2px solid #ccc;
+ border-radius: 10px;
+ margin-bottom: 10px;
+}
+
+QPushButton:hover {
+ background-color: #007B9E;
+}
+QPushButton:pressed {
+ background-color: #005f73;
+}
+
+
+
+ Write a name or surname...
+
+
+
+ -
+
+
+
+ 0
+ 60
+
+
+
+
+ MS Shell Dlg 2
+ 11
+ false
+ false
+
+
+
+ Qt::LayoutDirection::LeftToRight
+
+
+ QPushButton {
+
+ background-color: #008CBA;
+ color: white;
+ padding: 10px;
+ font-size: 14px;
+font: 11pt "MS Shell Dlg 2";
+ border: none;
+ border-radius: 10px;
+ margin: 5px;
+}
+QPushButton:hover {
+ background-color: #007B9E;
+}
+QPushButton:pressed {
+ background-color: #005f73;
+}
+
+
+
+ Search
+
+
+
+ -
+
+
+
+ 0
+ 60
+
+
+
+
+ MS Shell Dlg 2
+ 11
+ false
+ false
+
+
+
+ QPushButton {
+
+ background-color: #008CBA;
+ color: white;
+ padding: 10px;
+ font-size: 14px;
+font: 11pt "MS Shell Dlg 2";
+ border: none;
+ border-radius: 10px;
+ margin: 5px;
+}
+QPushButton:hover {
+ background-color: #007B9E;
+}
+QPushButton:pressed {
+ background-color: #005f73;
+}
+
+
+
+ Mentor Interview Defined
+
+
+
+ -
+
+
+
+ 0
+ 60
+
+
+
+
+ MS Shell Dlg 2
+ 11
+ false
+ false
+
+
+
+ QComboBox {
+ padding: 10px;
+ font-size: 14px;
+font: 11pt "MS Shell Dlg 2";
+ border: 2px solid #ccc;
+ border-radius: 10px;
+ margin-bottom: 10px;
+}
+QComboBox::drop-down {
+ subcontrol-origin: padding;
+ subcontrol-position: top right;
+ width: 30px;
+ border-left-width: 1px;
+ border-left-color: #ccc;
+ border-left-style: solid;
+ border-top-right-radius: 10px;
+ border-bottom-right-radius: 10px;
+}
+
+
+
+ Please make a choice...
+
+
+ 11
+
+
-
+
+ Please make a choice...
+
+
+ -
+
+ Previous VIT Control
+
+
+ -
+
+ Different Records
+
+
+ -
+
+ Applying Filter
+
+
+
+
+ -
+
+
+
+ 0
+ 60
+
+
+
+
+ MS Shell Dlg 2
+ 11
+ false
+ false
+
+
+
+ QPushButton {
+
+ background-color: #008CBA;
+ color: white;
+ padding: 10px;
+ font-size: 14px;
+font: 11pt "MS Shell Dlg 2";
+ border: none;
+ border-radius: 10px;
+ margin: 5px;
+}
+QPushButton:hover {
+ background-color: #007B9E;
+}
+QPushButton:pressed {
+ background-color: #005f73;
+}
+
+
+
+ Mentor Interview Undefined
+
+
+
+
+
+
+ -
+
+
+
+ 1228
+ 805
+
+
+
+
+ 1228
+ 805
+
+
+
+
+ MS Shell Dlg 2
+ 11
+ false
+ false
+
+
+
+ QTableWidget {
+
+ font-size: 14px;
+font: 11pt "MS Shell Dlg 2";
+ background-color: #f9f9f9;
+ alternate-background-color: #e0e0e0;
+ gridline-color: #ccc;
+ border-radius: 10px;
+}
+QHeaderView::section {
+ background-color: #008CBA;
+ color: white;
+ padding: 5px;
+ font-size: 14px;
+font: 11pt "MS Shell Dlg 2";
+}
+
+
+
+ 15
+
+
+ 255
+
+
+
+ Name Surname
+
+
+
+ 11
+
+
+
+
+
+ Email
+
+
+
+ 11
+
+
+
+
+
+ Telephone
+
+
+
+
+ Application Date Time
+
+
+
+
+ Current Situation
+
+
+
+
+ ITPH Training Request
+
+
+
+
+ Economic Situation
+
+
+
+
+ English Level
+
+
+
+
+ Dutch Level
+
+
+
+
+ Online Course
+
+
+
+
+ IT Experience
+
+
+
+
+ Willingness to Work
+
+
+
+
+ Why Want to Join
+
+
+
+
+ Mentor
+
+
+
+
+ VIT
+
+
+
+ 11
+
+
+
+
+
+ -
+
+
+
+ 0
+ 0
+
+
+
+ QFrame::Shape::StyledPanel
+
+
+ QFrame::Shadow::Raised
+
+
+
-
+
+
+
+ 0
+ 60
+
+
+
+
+ MS Shell Dlg 2
+ 11
+ false
+ false
+
+
+
+ QPushButton {
+
+ background-color: #008CBA;
+ color: white;
+ padding: 10px;
+ font-size: 14px;
+font: 11pt "MS Shell Dlg 2";
+ border: none;
+ border-radius: 10px;
+ margin: 5px;
+}
+QPushButton:hover {
+ background-color: #007B9E;
+}
+QPushButton:pressed {
+ background-color: #005f73;
+}
+
+
+
+ Return to Preferences Screen
+
+
+
+ -
+
+
+
+ 0
+ 60
+
+
+
+ QPushButton {
+
+ background-color: #008CBA;
+ color: white;
+ padding: 10px;
+ font-size: 14px;
+font: 11pt "MS Shell Dlg 2";
+ border: none;
+ border-radius: 10px;
+ margin: 5px;
+}
+QPushButton:hover {
+ background-color: #007B9E;
+}
+QPushButton:pressed {
+ background-color: #005f73;
+}
+
+
+ EXIT
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/Application3_ui.py b/Application3_ui.py
new file mode 100644
index 0000000..d8d73e7
--- /dev/null
+++ b/Application3_ui.py
@@ -0,0 +1,438 @@
+# Form implementation generated from reading ui file 'c:\Users\kahra\OneDrive\Masaüstü\PROGRAM\PYTHON\PROJECT\PYQT6_PROJECTS\TAMAMLANANLAR\PROJE\VIT_Project\Application3.ui'
+#
+# Created by: PyQt6 UI code generator 6.8.0
+#
+# WARNING: Any manual changes made to this file will be lost when pyuic6 is
+# run again. Do not edit this file unless you know what you are doing.
+
+
+from PyQt6 import QtCore, QtGui, QtWidgets
+
+
+class Ui_MainWindow(object):
+ def setupUi(self, MainWindow):
+ MainWindow.setObjectName("MainWindow")
+ MainWindow.setWindowModality(QtCore.Qt.WindowModality.NonModal)
+ MainWindow.setEnabled(True)
+ MainWindow.resize(1044, 812)
+ sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Preferred, QtWidgets.QSizePolicy.Policy.Preferred)
+ sizePolicy.setHorizontalStretch(0)
+ sizePolicy.setVerticalStretch(0)
+ sizePolicy.setHeightForWidth(MainWindow.sizePolicy().hasHeightForWidth())
+ MainWindow.setSizePolicy(sizePolicy)
+ MainWindow.setMinimumSize(QtCore.QSize(0, 0))
+ MainWindow.setSizeIncrement(QtCore.QSize(0, 0))
+ MainWindow.setBaseSize(QtCore.QSize(1228, 805))
+ font = QtGui.QFont()
+ font.setPointSize(11)
+ MainWindow.setFont(font)
+ MainWindow.setLayoutDirection(QtCore.Qt.LayoutDirection.LeftToRight)
+ MainWindow.setStyleSheet("QWidget {\n"
+" font: 11pt \"MS Shell Dlg 2\";\n"
+" background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, \n"
+" stop:0 rgba(173, 216, 230, 255), \n"
+" stop:1 rgba(255, 255, 255, 255));\n"
+"};\n"
+"\n"
+"")
+ self.centralwidget = QtWidgets.QWidget(parent=MainWindow)
+ self.centralwidget.setEnabled(True)
+ self.centralwidget.setObjectName("centralwidget")
+ self.verticalLayout_2 = QtWidgets.QVBoxLayout(self.centralwidget)
+ self.verticalLayout_2.setObjectName("verticalLayout_2")
+ self.label = QtWidgets.QLabel(parent=self.centralwidget)
+ self.label.setMinimumSize(QtCore.QSize(0, 95))
+ self.label.setStyleSheet("QLabel{\n"
+" \n"
+" padding: 10px;\n"
+" font-size: 16px;\n"
+"font: 11pt \"MS Shell Dlg 2\";\n"
+" border: 2px solid #ccc;\n"
+" border-radius: 10px;\n"
+" margin-bottom: 10px;\n"
+"}\n"
+"\n"
+"QLabel:hover {\n"
+" background-color: #007B9E;\n"
+"}\n"
+"QLabel:pressed {\n"
+" background-color: #005f73;\n"
+"}border-radius: 10px;\n"
+"background-color: #008CBA;")
+ self.label.setAlignment(QtCore.Qt.AlignmentFlag.AlignCenter)
+ self.label.setObjectName("label")
+ self.verticalLayout_2.addWidget(self.label)
+ self.W_widget = QtWidgets.QWidget(parent=self.centralwidget)
+ self.W_widget.setEnabled(True)
+ self.W_widget.setMinimumSize(QtCore.QSize(0, 0))
+ self.W_widget.setMaximumSize(QtCore.QSize(16777215, 16777215))
+ font = QtGui.QFont()
+ font.setPointSize(11)
+ self.W_widget.setFont(font)
+ self.W_widget.setAcceptDrops(False)
+ self.W_widget.setStyleSheet("border: 2px solid #ccc;\n"
+"font: 11pt \"MS Shell Dlg 2\";\n"
+"border-radius: 10px;\n"
+"QWidget {\n"
+" background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, \n"
+" stop:0 rgba(173, 216, 230, 255), \n"
+" stop:1 rgba(255, 255, 255, 255));\n"
+"}\n"
+"")
+ self.W_widget.setObjectName("W_widget")
+ self.gridLayout = QtWidgets.QGridLayout(self.W_widget)
+ self.gridLayout.setObjectName("gridLayout")
+ self.PB_duplicate_record_button = QtWidgets.QPushButton(parent=self.W_widget)
+ self.PB_duplicate_record_button.setMinimumSize(QtCore.QSize(0, 60))
+ font = QtGui.QFont()
+ font.setFamily("MS Shell Dlg 2")
+ font.setPointSize(11)
+ font.setBold(False)
+ font.setItalic(False)
+ font.setWeight(50)
+ self.PB_duplicate_record_button.setFont(font)
+ self.PB_duplicate_record_button.setStyleSheet("QPushButton {\n"
+" \n"
+" background-color: #008CBA;\n"
+" color: white;\n"
+" padding: 10px;\n"
+" font-size: 14px;\n"
+"font: 11pt \"MS Shell Dlg 2\";\n"
+" border: none;\n"
+" border-radius: 10px;\n"
+" margin: 5px;\n"
+"}\n"
+"QPushButton:hover {\n"
+" background-color: #007B9E;\n"
+"}\n"
+"QPushButton:pressed {\n"
+" background-color: #005f73;\n"
+"}\n"
+"")
+ self.PB_duplicate_record_button.setObjectName("PB_duplicate_record_button")
+ self.gridLayout.addWidget(self.PB_duplicate_record_button, 3, 0, 1, 1)
+ self.PB_all_applications_button = QtWidgets.QPushButton(parent=self.W_widget)
+ self.PB_all_applications_button.setMinimumSize(QtCore.QSize(0, 60))
+ font = QtGui.QFont()
+ font.setFamily("MS Shell Dlg 2")
+ font.setPointSize(11)
+ font.setBold(False)
+ font.setItalic(False)
+ font.setWeight(50)
+ self.PB_all_applications_button.setFont(font)
+ self.PB_all_applications_button.setStyleSheet("QPushButton {\n"
+" \n"
+" background-color: #008CBA;\n"
+" color: white;\n"
+" padding: 10px;\n"
+" font-size: 14px;\n"
+"font: 11pt \"MS Shell Dlg 2\";\n"
+" border: none;\n"
+" border-radius: 10px;\n"
+" margin: 5px;\n"
+"}\n"
+"QPushButton:hover {\n"
+" background-color: #007B9E;\n"
+"}\n"
+"QPushButton:pressed {\n"
+" background-color: #005f73;\n"
+"}\n"
+"")
+ self.PB_all_applications_button.setObjectName("PB_all_applications_button")
+ self.gridLayout.addWidget(self.PB_all_applications_button, 2, 0, 1, 1)
+ self.LE_search_input = QtWidgets.QLineEdit(parent=self.W_widget)
+ self.LE_search_input.setMinimumSize(QtCore.QSize(0, 60))
+ font = QtGui.QFont()
+ font.setFamily("MS Shell Dlg 2")
+ font.setPointSize(11)
+ font.setBold(False)
+ font.setItalic(False)
+ font.setWeight(50)
+ self.LE_search_input.setFont(font)
+ self.LE_search_input.setStyleSheet("QLineEdit {\n"
+" padding: 10px;\n"
+" font-size: 16px;\n"
+" font: 11pt \"MS Shell Dlg 2\";\n"
+" border: 2px solid #ccc;\n"
+" border-radius: 10px;\n"
+" margin-bottom: 10px;\n"
+"}\n"
+"\n"
+"QPushButton:hover {\n"
+" background-color: #007B9E;\n"
+"}\n"
+"QPushButton:pressed {\n"
+" background-color: #005f73;\n"
+"}\n"
+"")
+ self.LE_search_input.setObjectName("LE_search_input")
+ self.gridLayout.addWidget(self.LE_search_input, 1, 2, 1, 1)
+ self.PB_search_button = QtWidgets.QPushButton(parent=self.W_widget)
+ self.PB_search_button.setMinimumSize(QtCore.QSize(0, 60))
+ font = QtGui.QFont()
+ font.setFamily("MS Shell Dlg 2")
+ font.setPointSize(11)
+ font.setBold(False)
+ font.setItalic(False)
+ font.setWeight(50)
+ self.PB_search_button.setFont(font)
+ self.PB_search_button.setLayoutDirection(QtCore.Qt.LayoutDirection.LeftToRight)
+ self.PB_search_button.setStyleSheet("QPushButton {\n"
+" \n"
+" background-color: #008CBA;\n"
+" color: white;\n"
+" padding: 10px;\n"
+" font-size: 14px;\n"
+"font: 11pt \"MS Shell Dlg 2\";\n"
+" border: none;\n"
+" border-radius: 10px;\n"
+" margin: 5px;\n"
+"}\n"
+"QPushButton:hover {\n"
+" background-color: #007B9E;\n"
+"}\n"
+"QPushButton:pressed {\n"
+" background-color: #005f73;\n"
+"}\n"
+"")
+ self.PB_search_button.setObjectName("PB_search_button")
+ self.gridLayout.addWidget(self.PB_search_button, 1, 0, 1, 1)
+ self.PB_mentor_meeting_defined_button = QtWidgets.QPushButton(parent=self.W_widget)
+ self.PB_mentor_meeting_defined_button.setMinimumSize(QtCore.QSize(0, 60))
+ font = QtGui.QFont()
+ font.setFamily("MS Shell Dlg 2")
+ font.setPointSize(11)
+ font.setBold(False)
+ font.setItalic(False)
+ font.setWeight(50)
+ self.PB_mentor_meeting_defined_button.setFont(font)
+ self.PB_mentor_meeting_defined_button.setStyleSheet("QPushButton {\n"
+" \n"
+" background-color: #008CBA;\n"
+" color: white;\n"
+" padding: 10px;\n"
+" font-size: 14px;\n"
+"font: 11pt \"MS Shell Dlg 2\";\n"
+" border: none;\n"
+" border-radius: 10px;\n"
+" margin: 5px;\n"
+"}\n"
+"QPushButton:hover {\n"
+" background-color: #007B9E;\n"
+"}\n"
+"QPushButton:pressed {\n"
+" background-color: #005f73;\n"
+"}\n"
+"")
+ self.PB_mentor_meeting_defined_button.setObjectName("PB_mentor_meeting_defined_button")
+ self.gridLayout.addWidget(self.PB_mentor_meeting_defined_button, 4, 0, 1, 1)
+ self.CB_combo_box = QtWidgets.QComboBox(parent=self.W_widget)
+ self.CB_combo_box.setMinimumSize(QtCore.QSize(0, 60))
+ font = QtGui.QFont()
+ font.setFamily("MS Shell Dlg 2")
+ font.setPointSize(11)
+ font.setBold(False)
+ font.setItalic(False)
+ font.setWeight(50)
+ self.CB_combo_box.setFont(font)
+ self.CB_combo_box.setStyleSheet("QComboBox {\n"
+" padding: 10px;\n"
+" font-size: 14px;\n"
+"font: 11pt \"MS Shell Dlg 2\";\n"
+" border: 2px solid #ccc;\n"
+" border-radius: 10px;\n"
+" margin-bottom: 10px;\n"
+"}\n"
+"QComboBox::drop-down {\n"
+" subcontrol-origin: padding;\n"
+" subcontrol-position: top right;\n"
+" width: 30px;\n"
+" border-left-width: 1px;\n"
+" border-left-color: #ccc;\n"
+" border-left-style: solid;\n"
+" border-top-right-radius: 10px;\n"
+" border-bottom-right-radius: 10px;\n"
+"}\n"
+"")
+ self.CB_combo_box.setMaxVisibleItems(11)
+ self.CB_combo_box.setObjectName("CB_combo_box")
+ self.CB_combo_box.addItem("")
+ self.CB_combo_box.addItem("")
+ self.CB_combo_box.addItem("")
+ self.CB_combo_box.addItem("")
+ self.gridLayout.addWidget(self.CB_combo_box, 2, 2, 1, 1)
+ self.PB_mentor_interview_undefined_button = QtWidgets.QPushButton(parent=self.W_widget)
+ self.PB_mentor_interview_undefined_button.setMinimumSize(QtCore.QSize(0, 60))
+ font = QtGui.QFont()
+ font.setFamily("MS Shell Dlg 2")
+ font.setPointSize(11)
+ font.setBold(False)
+ font.setItalic(False)
+ font.setWeight(50)
+ self.PB_mentor_interview_undefined_button.setFont(font)
+ self.PB_mentor_interview_undefined_button.setStyleSheet("QPushButton {\n"
+" \n"
+" background-color: #008CBA;\n"
+" color: white;\n"
+" padding: 10px;\n"
+" font-size: 14px;\n"
+"font: 11pt \"MS Shell Dlg 2\";\n"
+" border: none;\n"
+" border-radius: 10px;\n"
+" margin: 5px;\n"
+"}\n"
+"QPushButton:hover {\n"
+" background-color: #007B9E;\n"
+"}\n"
+"QPushButton:pressed {\n"
+" background-color: #005f73;\n"
+"}\n"
+"")
+ self.PB_mentor_interview_undefined_button.setObjectName("PB_mentor_interview_undefined_button")
+ self.gridLayout.addWidget(self.PB_mentor_interview_undefined_button, 4, 2, 1, 1)
+ self.gridLayout.setColumnStretch(0, 3)
+ self.gridLayout.setColumnStretch(2, 2)
+ self.verticalLayout_2.addWidget(self.W_widget)
+ self.tableWidget = QtWidgets.QTableWidget(parent=self.centralwidget)
+ self.tableWidget.setSizeIncrement(QtCore.QSize(1228, 805))
+ self.tableWidget.setBaseSize(QtCore.QSize(1228, 805))
+ font = QtGui.QFont()
+ font.setFamily("MS Shell Dlg 2")
+ font.setPointSize(11)
+ font.setBold(False)
+ font.setItalic(False)
+ font.setWeight(50)
+ self.tableWidget.setFont(font)
+ self.tableWidget.setStyleSheet("QTableWidget {\n"
+" \n"
+" font-size: 14px;\n"
+"font: 11pt \"MS Shell Dlg 2\";\n"
+" background-color: #f9f9f9;\n"
+" alternate-background-color: #e0e0e0;\n"
+" gridline-color: #ccc;\n"
+" border-radius: 10px;\n"
+"}\n"
+"QHeaderView::section {\n"
+" background-color: #008CBA;\n"
+" color: white;\n"
+" padding: 5px;\n"
+" font-size: 14px;\n"
+"font: 11pt \"MS Shell Dlg 2\";\n"
+"}\n"
+"")
+ self.tableWidget.setColumnCount(4)
+ self.tableWidget.setObjectName("tableWidget")
+ self.tableWidget.setRowCount(0)
+ item = QtWidgets.QTableWidgetItem()
+ font = QtGui.QFont()
+ font.setPointSize(11)
+ item.setFont(font)
+ self.tableWidget.setHorizontalHeaderItem(0, item)
+ item = QtWidgets.QTableWidgetItem()
+ font = QtGui.QFont()
+ font.setPointSize(11)
+ item.setFont(font)
+ self.tableWidget.setHorizontalHeaderItem(1, item)
+ item = QtWidgets.QTableWidgetItem()
+ font = QtGui.QFont()
+ font.setPointSize(11)
+ item.setFont(font)
+ self.tableWidget.setHorizontalHeaderItem(2, item)
+ item = QtWidgets.QTableWidgetItem()
+ font = QtGui.QFont()
+ font.setPointSize(11)
+ item.setFont(font)
+ self.tableWidget.setHorizontalHeaderItem(3, item)
+ self.tableWidget.horizontalHeader().setDefaultSectionSize(255)
+ self.verticalLayout_2.addWidget(self.tableWidget)
+ self.frame = QtWidgets.QFrame(parent=self.centralwidget)
+ self.frame.setMinimumSize(QtCore.QSize(0, 0))
+ self.frame.setFrameShape(QtWidgets.QFrame.Shape.StyledPanel)
+ self.frame.setFrameShadow(QtWidgets.QFrame.Shadow.Raised)
+ self.frame.setObjectName("frame")
+ self.horizontalLayout = QtWidgets.QHBoxLayout(self.frame)
+ self.horizontalLayout.setObjectName("horizontalLayout")
+ self.PB_return_to_preferences_screen_button = QtWidgets.QPushButton(parent=self.frame)
+ self.PB_return_to_preferences_screen_button.setMinimumSize(QtCore.QSize(0, 60))
+ font = QtGui.QFont()
+ font.setFamily("MS Shell Dlg 2")
+ font.setPointSize(11)
+ font.setBold(False)
+ font.setItalic(False)
+ font.setWeight(50)
+ self.PB_return_to_preferences_screen_button.setFont(font)
+ self.PB_return_to_preferences_screen_button.setStyleSheet("QPushButton {\n"
+" \n"
+" background-color: #008CBA;\n"
+" color: white;\n"
+" padding: 10px;\n"
+" font-size: 14px;\n"
+"font: 11pt \"MS Shell Dlg 2\";\n"
+" border: none;\n"
+" border-radius: 10px;\n"
+" margin: 5px;\n"
+"}\n"
+"QPushButton:hover {\n"
+" background-color: #007B9E;\n"
+"}\n"
+"QPushButton:pressed {\n"
+" background-color: #005f73;\n"
+"}\n"
+"")
+ self.PB_return_to_preferences_screen_button.setObjectName("PB_return_to_preferences_screen_button")
+ self.horizontalLayout.addWidget(self.PB_return_to_preferences_screen_button)
+ self.PB_EXIT = QtWidgets.QPushButton(parent=self.frame)
+ self.PB_EXIT.setMinimumSize(QtCore.QSize(0, 60))
+ self.PB_EXIT.setStyleSheet("QPushButton {\n"
+" \n"
+" background-color: #008CBA;\n"
+" color: white;\n"
+" padding: 10px;\n"
+" font-size: 14px;\n"
+"font: 11pt \"MS Shell Dlg 2\";\n"
+" border: none;\n"
+" border-radius: 10px;\n"
+" margin: 5px;\n"
+"}\n"
+"QPushButton:hover {\n"
+" background-color: #007B9E;\n"
+"}\n"
+"QPushButton:pressed {\n"
+" background-color: #005f73;\n"
+"}")
+ self.PB_EXIT.setObjectName("PB_EXIT")
+ self.horizontalLayout.addWidget(self.PB_EXIT)
+ self.verticalLayout_2.addWidget(self.frame)
+ MainWindow.setCentralWidget(self.centralwidget)
+ self.statusbar = QtWidgets.QStatusBar(parent=MainWindow)
+ self.statusbar.setObjectName("statusbar")
+ MainWindow.setStatusBar(self.statusbar)
+
+ self.retranslateUi(MainWindow)
+ QtCore.QMetaObject.connectSlotsByName(MainWindow)
+
+ def retranslateUi(self, MainWindow):
+ _translate = QtCore.QCoreApplication.translate
+ MainWindow.setWindowTitle(_translate("MainWindow", "APPLICATIONS"))
+ self.label.setText(_translate("MainWindow", "APPLICATIONS"))
+ self.PB_duplicate_record_button.setText(_translate("MainWindow", "Duplicate Record"))
+ self.PB_all_applications_button.setText(_translate("MainWindow", "All Applications"))
+ self.LE_search_input.setPlaceholderText(_translate("MainWindow", " Write a name or surname..."))
+ self.PB_search_button.setText(_translate("MainWindow", "Search"))
+ self.PB_mentor_meeting_defined_button.setText(_translate("MainWindow", "Mentor Interview Defined"))
+ self.CB_combo_box.setCurrentText(_translate("MainWindow", " Please make a choice..."))
+ self.CB_combo_box.setItemText(0, _translate("MainWindow", " Please make a choice..."))
+ self.CB_combo_box.setItemText(1, _translate("MainWindow", " Previous VIT Control"))
+ self.CB_combo_box.setItemText(2, _translate("MainWindow", " Different Records"))
+ self.CB_combo_box.setItemText(3, _translate("MainWindow", " Applying Filter"))
+ self.PB_mentor_interview_undefined_button.setText(_translate("MainWindow", "Mentor Interview Undefined"))
+ item = self.tableWidget.horizontalHeaderItem(0)
+ item.setText(_translate("MainWindow", "Name Surname"))
+ item = self.tableWidget.horizontalHeaderItem(1)
+ item.setText(_translate("MainWindow", "Email"))
+ item = self.tableWidget.horizontalHeaderItem(2)
+ item.setText(_translate("MainWindow", "Mentor Situation"))
+ item = self.tableWidget.horizontalHeaderItem(3)
+ item.setText(_translate("MainWindow", "VIT"))
+ self.PB_return_to_preferences_screen_button.setText(_translate("MainWindow", "Return to Preferences Screen"))
+ self.PB_EXIT.setText(_translate("MainWindow", "EXIT"))
diff --git a/Application_ui.py b/Application_ui.py
new file mode 100644
index 0000000..9598a6f
--- /dev/null
+++ b/Application_ui.py
@@ -0,0 +1,511 @@
+# Form implementation generated from reading ui file 'c:\Users\kahra\OneDrive\Masaüstü\PROGRAM\PYTHON\PROJECT\PYQT6_PROJECTS\TAMAMLANANLAR\PROJE\VIT_Project\Application.ui'
+#
+# Created by: PyQt6 UI code generator 6.8.0
+#
+# WARNING: Any manual changes made to this file will be lost when pyuic6 is
+# run again. Do not edit this file unless you know what you are doing.
+
+
+from PyQt6 import QtCore, QtGui, QtWidgets
+
+
+class Ui_ApplicationWindow(object):
+ def setupUi(self, ApplicationWindow):
+ ApplicationWindow.setObjectName("ApplicationWindow")
+ ApplicationWindow.setWindowModality(QtCore.Qt.WindowModality.NonModal)
+ ApplicationWindow.setEnabled(True)
+ ApplicationWindow.resize(1098, 768)
+ sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Preferred, QtWidgets.QSizePolicy.Policy.Preferred)
+ sizePolicy.setHorizontalStretch(0)
+ sizePolicy.setVerticalStretch(0)
+ sizePolicy.setHeightForWidth(ApplicationWindow.sizePolicy().hasHeightForWidth())
+ ApplicationWindow.setSizePolicy(sizePolicy)
+ ApplicationWindow.setMinimumSize(QtCore.QSize(0, 0))
+ ApplicationWindow.setSizeIncrement(QtCore.QSize(0, 0))
+ ApplicationWindow.setBaseSize(QtCore.QSize(1228, 805))
+ font = QtGui.QFont()
+ font.setFamily("MS Shell Dlg 2")
+ font.setPointSize(11)
+ font.setBold(False)
+ font.setItalic(False)
+ ApplicationWindow.setFont(font)
+ ApplicationWindow.setLayoutDirection(QtCore.Qt.LayoutDirection.LeftToRight)
+ ApplicationWindow.setStyleSheet("QWidget {\n"
+" font: 11pt \"MS Shell Dlg 2\";\n"
+" background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, \n"
+" stop:0 rgba(173, 216, 230, 255), \n"
+" stop:1 rgba(255, 255, 255, 255));\n"
+"};\n"
+"\n"
+"")
+ self.centralwidget = QtWidgets.QWidget(parent=ApplicationWindow)
+ self.centralwidget.setEnabled(True)
+ self.centralwidget.setObjectName("centralwidget")
+ self.verticalLayout_2 = QtWidgets.QVBoxLayout(self.centralwidget)
+ self.verticalLayout_2.setObjectName("verticalLayout_2")
+ self.label = QtWidgets.QLabel(parent=self.centralwidget)
+ self.label.setMinimumSize(QtCore.QSize(0, 95))
+ self.label.setStyleSheet("QLabel{\n"
+" \n"
+" padding: 10px;\n"
+" font-size: 16px;\n"
+"font: 11pt \"MS Shell Dlg 2\";\n"
+" border: 2px solid #ccc;\n"
+" border-radius: 10px;\n"
+" margin-bottom: 10px;\n"
+"}\n"
+"\n"
+"QLabel:hover {\n"
+" background-color: #007B9E;\n"
+"}\n"
+"QLabel:pressed {\n"
+" background-color: #005f73;\n"
+"}border-radius: 10px;\n"
+"background-color: #008CBA;")
+ self.label.setAlignment(QtCore.Qt.AlignmentFlag.AlignCenter)
+ self.label.setObjectName("label")
+ self.verticalLayout_2.addWidget(self.label)
+ self.W_widget = QtWidgets.QWidget(parent=self.centralwidget)
+ self.W_widget.setEnabled(True)
+ self.W_widget.setMinimumSize(QtCore.QSize(0, 0))
+ self.W_widget.setMaximumSize(QtCore.QSize(16777215, 16777215))
+ font = QtGui.QFont()
+ font.setFamily("MS Shell Dlg 2")
+ font.setPointSize(11)
+ font.setBold(False)
+ font.setItalic(False)
+ self.W_widget.setFont(font)
+ self.W_widget.setAcceptDrops(False)
+ self.W_widget.setStyleSheet("border: 2px solid #ccc;\n"
+"font: 11pt \"MS Shell Dlg 2\";\n"
+"border-radius: 10px;\n"
+"QWidget {\n"
+" background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, \n"
+" stop:0 rgba(173, 216, 230, 255), \n"
+" stop:1 rgba(255, 255, 255, 255));\n"
+"}\n"
+"")
+ self.W_widget.setObjectName("W_widget")
+ self.gridLayout = QtWidgets.QGridLayout(self.W_widget)
+ self.gridLayout.setObjectName("gridLayout")
+ self.PB_mentor_meeting_defined_button = QtWidgets.QPushButton(parent=self.W_widget)
+ self.PB_mentor_meeting_defined_button.setMinimumSize(QtCore.QSize(0, 60))
+ font = QtGui.QFont()
+ font.setFamily("MS Shell Dlg 2")
+ font.setPointSize(11)
+ font.setBold(False)
+ font.setItalic(False)
+ self.PB_mentor_meeting_defined_button.setFont(font)
+ self.PB_mentor_meeting_defined_button.setCursor(QtGui.QCursor(QtCore.Qt.CursorShape.PointingHandCursor))
+ self.PB_mentor_meeting_defined_button.setStyleSheet("QPushButton {\n"
+" \n"
+" background-color: #008CBA;\n"
+" color: white;\n"
+" padding: 10px;\n"
+" font-size: 14px;\n"
+"font: 11pt \"MS Shell Dlg 2\";\n"
+" border: none;\n"
+" border-radius: 10px;\n"
+" margin: 5px;\n"
+"}\n"
+"QPushButton:hover {\n"
+" background-color: #007B9E;\n"
+"}\n"
+"QPushButton:pressed {\n"
+" background-color: #005f73;\n"
+"}\n"
+"")
+ icon = QtGui.QIcon()
+ icon.addPixmap(QtGui.QPixmap("c:\\Users\\kahra\\OneDrive\\Masaüstü\\PROGRAM\\PYTHON\\PROJECT\\PYQT6_PROJECTS\\TAMAMLANANLAR\\PROJE\\VIT_Project\\icons/members.svg"), QtGui.QIcon.Mode.Normal, QtGui.QIcon.State.Off)
+ self.PB_mentor_meeting_defined_button.setIcon(icon)
+ self.PB_mentor_meeting_defined_button.setIconSize(QtCore.QSize(50, 50))
+ self.PB_mentor_meeting_defined_button.setObjectName("PB_mentor_meeting_defined_button")
+ self.gridLayout.addWidget(self.PB_mentor_meeting_defined_button, 2, 3, 1, 1)
+ self.PB_return_to_preferences_screen_button = QtWidgets.QPushButton(parent=self.W_widget)
+ self.PB_return_to_preferences_screen_button.setMinimumSize(QtCore.QSize(0, 60))
+ font = QtGui.QFont()
+ font.setFamily("MS Shell Dlg 2")
+ font.setPointSize(11)
+ font.setBold(False)
+ font.setItalic(False)
+ self.PB_return_to_preferences_screen_button.setFont(font)
+ self.PB_return_to_preferences_screen_button.setCursor(QtGui.QCursor(QtCore.Qt.CursorShape.PointingHandCursor))
+ self.PB_return_to_preferences_screen_button.setStyleSheet("QPushButton {\n"
+" \n"
+" background-color: #008CBA;\n"
+" color: white;\n"
+" padding: 10px;\n"
+" font-size: 14px;\n"
+"font: 11pt \"MS Shell Dlg 2\";\n"
+" border: none;\n"
+" border-radius: 10px;\n"
+" margin: 5px;\n"
+"}\n"
+"QPushButton:hover {\n"
+" background-color: #007B9E;\n"
+"}\n"
+"QPushButton:pressed {\n"
+" background-color: #005f73;\n"
+"}\n"
+"")
+ icon1 = QtGui.QIcon()
+ icon1.addPixmap(QtGui.QPixmap("c:\\Users\\kahra\\OneDrive\\Masaüstü\\PROGRAM\\PYTHON\\PROJECT\\PYQT6_PROJECTS\\TAMAMLANANLAR\\PROJE\\VIT_Project\\icons/news.svg"), QtGui.QIcon.Mode.Normal, QtGui.QIcon.State.Off)
+ self.PB_return_to_preferences_screen_button.setIcon(icon1)
+ self.PB_return_to_preferences_screen_button.setIconSize(QtCore.QSize(50, 50))
+ self.PB_return_to_preferences_screen_button.setObjectName("PB_return_to_preferences_screen_button")
+ self.gridLayout.addWidget(self.PB_return_to_preferences_screen_button, 4, 0, 1, 1)
+ self.PB_mentor_interview_undefined_button = QtWidgets.QPushButton(parent=self.W_widget)
+ self.PB_mentor_interview_undefined_button.setMinimumSize(QtCore.QSize(0, 60))
+ font = QtGui.QFont()
+ font.setFamily("MS Shell Dlg 2")
+ font.setPointSize(11)
+ font.setBold(False)
+ font.setItalic(False)
+ self.PB_mentor_interview_undefined_button.setFont(font)
+ self.PB_mentor_interview_undefined_button.setCursor(QtGui.QCursor(QtCore.Qt.CursorShape.PointingHandCursor))
+ self.PB_mentor_interview_undefined_button.setStyleSheet("QPushButton {\n"
+" \n"
+" background-color: #008CBA;\n"
+" color: white;\n"
+" padding: 10px;\n"
+" font-size: 14px;\n"
+"font: 11pt \"MS Shell Dlg 2\";\n"
+" border: none;\n"
+" border-radius: 10px;\n"
+" margin: 5px;\n"
+"}\n"
+"QPushButton:hover {\n"
+" background-color: #007B9E;\n"
+"}\n"
+"QPushButton:pressed {\n"
+" background-color: #005f73;\n"
+"}\n"
+"")
+ icon2 = QtGui.QIcon()
+ icon2.addPixmap(QtGui.QPixmap("c:\\Users\\kahra\\OneDrive\\Masaüstü\\PROGRAM\\PYTHON\\PROJECT\\PYQT6_PROJECTS\\TAMAMLANANLAR\\PROJE\\VIT_Project\\icons/users.svg"), QtGui.QIcon.Mode.Normal, QtGui.QIcon.State.Off)
+ self.PB_mentor_interview_undefined_button.setIcon(icon2)
+ self.PB_mentor_interview_undefined_button.setIconSize(QtCore.QSize(50, 50))
+ self.PB_mentor_interview_undefined_button.setObjectName("PB_mentor_interview_undefined_button")
+ self.gridLayout.addWidget(self.PB_mentor_interview_undefined_button, 2, 2, 1, 1)
+ self.LE_search_input = QtWidgets.QLineEdit(parent=self.W_widget)
+ self.LE_search_input.setMinimumSize(QtCore.QSize(0, 60))
+ font = QtGui.QFont()
+ font.setFamily("MS Shell Dlg 2")
+ font.setPointSize(11)
+ font.setBold(False)
+ font.setItalic(False)
+ self.LE_search_input.setFont(font)
+ self.LE_search_input.setStyleSheet("QLineEdit {\n"
+" padding: 10px;\n"
+" font-size: 16px;\n"
+" border: 2px solid #ccc;\n"
+" border-radius: 10px;\n"
+" margin-bottom: 10px;\n"
+"}\n"
+"\n"
+"QPushButton:hover {\n"
+" background-color: #007B9E;\n"
+"}\n"
+"QPushButton:pressed {\n"
+" background-color: #005f73;\n"
+"}\n"
+"")
+ self.LE_search_input.setObjectName("LE_search_input")
+ self.gridLayout.addWidget(self.LE_search_input, 1, 2, 1, 2)
+ self.PB_search_button = QtWidgets.QPushButton(parent=self.W_widget)
+ self.PB_search_button.setMinimumSize(QtCore.QSize(0, 60))
+ font = QtGui.QFont()
+ font.setFamily("MS Shell Dlg 2")
+ font.setPointSize(11)
+ font.setBold(False)
+ font.setItalic(False)
+ self.PB_search_button.setFont(font)
+ self.PB_search_button.setCursor(QtGui.QCursor(QtCore.Qt.CursorShape.PointingHandCursor))
+ self.PB_search_button.setLayoutDirection(QtCore.Qt.LayoutDirection.LeftToRight)
+ self.PB_search_button.setStyleSheet("QPushButton {\n"
+" \n"
+" background-color: #008CBA;\n"
+" color: white;\n"
+" padding: 10px;\n"
+" font-size: 14px;\n"
+"font: 11pt \"MS Shell Dlg 2\";\n"
+" border: none;\n"
+" border-radius: 10px;\n"
+" margin: 5px;\n"
+"}\n"
+"QPushButton:hover {\n"
+" background-color: #007B9E;\n"
+"}\n"
+"QPushButton:pressed {\n"
+" background-color: #005f73;\n"
+"}\n"
+"")
+ icon3 = QtGui.QIcon()
+ icon3.addPixmap(QtGui.QPixmap("c:\\Users\\kahra\\OneDrive\\Masaüstü\\PROGRAM\\PYTHON\\PROJECT\\PYQT6_PROJECTS\\TAMAMLANANLAR\\PROJE\\VIT_Project\\icons/search-user.svg"), QtGui.QIcon.Mode.Normal, QtGui.QIcon.State.Off)
+ self.PB_search_button.setIcon(icon3)
+ self.PB_search_button.setIconSize(QtCore.QSize(50, 50))
+ self.PB_search_button.setObjectName("PB_search_button")
+ self.gridLayout.addWidget(self.PB_search_button, 1, 1, 1, 1)
+ self.PB_all_applications_button = QtWidgets.QPushButton(parent=self.W_widget)
+ self.PB_all_applications_button.setMinimumSize(QtCore.QSize(0, 60))
+ font = QtGui.QFont()
+ font.setFamily("MS Shell Dlg 2")
+ font.setPointSize(11)
+ font.setBold(False)
+ font.setItalic(False)
+ self.PB_all_applications_button.setFont(font)
+ self.PB_all_applications_button.setCursor(QtGui.QCursor(QtCore.Qt.CursorShape.PointingHandCursor))
+ self.PB_all_applications_button.setStyleSheet("QPushButton {\n"
+" \n"
+" background-color: #008CBA;\n"
+" color: white;\n"
+" padding: 10px;\n"
+" font-size: 14px;\n"
+"font: 11pt \"MS Shell Dlg 2\";\n"
+" border: none;\n"
+" border-radius: 10px;\n"
+" margin: 5px;\n"
+"}\n"
+"QPushButton:hover {\n"
+" background-color: #007B9E;\n"
+"}\n"
+"QPushButton:pressed {\n"
+" background-color: #005f73;\n"
+"}\n"
+"")
+ icon4 = QtGui.QIcon()
+ icon4.addPixmap(QtGui.QPixmap("c:\\Users\\kahra\\OneDrive\\Masaüstü\\PROGRAM\\PYTHON\\PROJECT\\PYQT6_PROJECTS\\TAMAMLANANLAR\\PROJE\\VIT_Project\\icons/user-groups.svg"), QtGui.QIcon.Mode.Normal, QtGui.QIcon.State.Off)
+ self.PB_all_applications_button.setIcon(icon4)
+ self.PB_all_applications_button.setIconSize(QtCore.QSize(50, 50))
+ self.PB_all_applications_button.setObjectName("PB_all_applications_button")
+ self.gridLayout.addWidget(self.PB_all_applications_button, 1, 0, 1, 1)
+ self.PB_duplicate_record_button = QtWidgets.QPushButton(parent=self.W_widget)
+ self.PB_duplicate_record_button.setMinimumSize(QtCore.QSize(0, 60))
+ font = QtGui.QFont()
+ font.setFamily("MS Shell Dlg 2")
+ font.setPointSize(11)
+ font.setBold(False)
+ font.setItalic(False)
+ self.PB_duplicate_record_button.setFont(font)
+ self.PB_duplicate_record_button.setCursor(QtGui.QCursor(QtCore.Qt.CursorShape.PointingHandCursor))
+ self.PB_duplicate_record_button.setStyleSheet("QPushButton {\n"
+" \n"
+" background-color: #008CBA;\n"
+" color: white;\n"
+" padding: 10px;\n"
+" font-size: 14px;\n"
+"font: 11pt \"MS Shell Dlg 2\";\n"
+" border: none;\n"
+" border-radius: 10px;\n"
+" margin: 5px;\n"
+"}\n"
+"QPushButton:hover {\n"
+" background-color: #007B9E;\n"
+"}\n"
+"QPushButton:pressed {\n"
+" background-color: #005f73;\n"
+"}\n"
+"")
+ icon5 = QtGui.QIcon()
+ icon5.addPixmap(QtGui.QPixmap("c:\\Users\\kahra\\OneDrive\\Masaüstü\\PROGRAM\\PYTHON\\PROJECT\\PYQT6_PROJECTS\\TAMAMLANANLAR\\PROJE\\VIT_Project\\icons/orders.svg"), QtGui.QIcon.Mode.Normal, QtGui.QIcon.State.Off)
+ self.PB_duplicate_record_button.setIcon(icon5)
+ self.PB_duplicate_record_button.setIconSize(QtCore.QSize(50, 50))
+ self.PB_duplicate_record_button.setObjectName("PB_duplicate_record_button")
+ self.gridLayout.addWidget(self.PB_duplicate_record_button, 2, 0, 1, 1)
+ self.CB_combo_box = QtWidgets.QComboBox(parent=self.W_widget)
+ self.CB_combo_box.setMinimumSize(QtCore.QSize(0, 60))
+ font = QtGui.QFont()
+ font.setFamily("MS Shell Dlg 2")
+ font.setPointSize(11)
+ font.setBold(False)
+ font.setItalic(False)
+ self.CB_combo_box.setFont(font)
+ self.CB_combo_box.setCursor(QtGui.QCursor(QtCore.Qt.CursorShape.OpenHandCursor))
+ self.CB_combo_box.setMouseTracking(False)
+ self.CB_combo_box.setStyleSheet("QComboBox {\n"
+" padding: 10px;\n"
+" font-size: 14px;\n"
+"font: 11pt \"MS Shell Dlg 2\";\n"
+" border: 2px solid #ccc;\n"
+" border-radius: 10px;\n"
+" margin-bottom: 10px;\n"
+"}\n"
+"QComboBox::drop-down {\n"
+" subcontrol-origin: padding;\n"
+" subcontrol-position: top right;\n"
+" width: 30px;\n"
+" border-left-width: 1px;\n"
+" border-left-color: #ccc;\n"
+" border-left-style: solid;\n"
+" border-top-right-radius: 10px;\n"
+" border-bottom-right-radius: 10px;\n"
+"}\n"
+"")
+ self.CB_combo_box.setMaxVisibleItems(11)
+ self.CB_combo_box.setObjectName("CB_combo_box")
+ self.CB_combo_box.addItem("")
+ self.CB_combo_box.addItem("")
+ self.CB_combo_box.addItem("")
+ self.CB_combo_box.addItem("")
+ self.gridLayout.addWidget(self.CB_combo_box, 4, 2, 1, 2)
+ self.PB_exit = QtWidgets.QPushButton(parent=self.W_widget)
+ self.PB_exit.setMinimumSize(QtCore.QSize(0, 60))
+ font = QtGui.QFont()
+ font.setFamily("MS Shell Dlg 2")
+ font.setPointSize(11)
+ font.setBold(False)
+ font.setItalic(False)
+ self.PB_exit.setFont(font)
+ self.PB_exit.setCursor(QtGui.QCursor(QtCore.Qt.CursorShape.PointingHandCursor))
+ self.PB_exit.setStyleSheet("QPushButton {\n"
+" \n"
+" background-color: #008CBA;\n"
+" color: white;\n"
+" padding: 10px;\n"
+" font-size: 14px;\n"
+"font: 11pt \"MS Shell Dlg 2\";\n"
+" border: none;\n"
+" border-radius: 10px;\n"
+" margin: 5px;\n"
+"}\n"
+"QPushButton:hover {\n"
+" background-color: #007B9E;\n"
+"}\n"
+"QPushButton:pressed {\n"
+" background-color: #005f73;\n"
+"}\n"
+"")
+ icon6 = QtGui.QIcon()
+ icon6.addPixmap(QtGui.QPixmap("c:\\Users\\kahra\\OneDrive\\Masaüstü\\PROGRAM\\PYTHON\\PROJECT\\PYQT6_PROJECTS\\TAMAMLANANLAR\\PROJE\\VIT_Project\\icons/power.svg"), QtGui.QIcon.Mode.Normal, QtGui.QIcon.State.Off)
+ self.PB_exit.setIcon(icon6)
+ self.PB_exit.setIconSize(QtCore.QSize(50, 50))
+ self.PB_exit.setObjectName("PB_exit")
+ self.gridLayout.addWidget(self.PB_exit, 4, 1, 1, 1)
+ self.PB_duplicate_record_button_2 = QtWidgets.QPushButton(parent=self.W_widget)
+ self.PB_duplicate_record_button_2.setMinimumSize(QtCore.QSize(0, 60))
+ font = QtGui.QFont()
+ font.setFamily("MS Shell Dlg 2")
+ font.setPointSize(11)
+ font.setBold(False)
+ font.setItalic(False)
+ self.PB_duplicate_record_button_2.setFont(font)
+ self.PB_duplicate_record_button_2.setCursor(QtGui.QCursor(QtCore.Qt.CursorShape.PointingHandCursor))
+ self.PB_duplicate_record_button_2.setStyleSheet("QPushButton {\n"
+" \n"
+" background-color: #008CBA;\n"
+" color: white;\n"
+" padding: 10px;\n"
+" font-size: 14px;\n"
+"font: 11pt \"MS Shell Dlg 2\";\n"
+" border: none;\n"
+" border-radius: 10px;\n"
+" margin: 5px;\n"
+"}\n"
+"QPushButton:hover {\n"
+" background-color: #007B9E;\n"
+"}\n"
+"QPushButton:pressed {\n"
+" background-color: #005f73;\n"
+"}\n"
+"")
+ icon7 = QtGui.QIcon()
+ icon7.addPixmap(QtGui.QPixmap("c:\\Users\\kahra\\OneDrive\\Masaüstü\\PROGRAM\\PYTHON\\PROJECT\\PYQT6_PROJECTS\\TAMAMLANANLAR\\PROJE\\VIT_Project\\icons/checklist.svg"), QtGui.QIcon.Mode.Normal, QtGui.QIcon.State.Off)
+ self.PB_duplicate_record_button_2.setIcon(icon7)
+ self.PB_duplicate_record_button_2.setIconSize(QtCore.QSize(50, 50))
+ self.PB_duplicate_record_button_2.setObjectName("PB_duplicate_record_button_2")
+ self.gridLayout.addWidget(self.PB_duplicate_record_button_2, 2, 1, 1, 1)
+ self.gridLayout.setColumnStretch(0, 2)
+ self.gridLayout.setColumnStretch(1, 2)
+ self.verticalLayout_2.addWidget(self.W_widget)
+ self.tableWidget = QtWidgets.QTableWidget(parent=self.centralwidget)
+ self.tableWidget.setSizeIncrement(QtCore.QSize(1228, 805))
+ self.tableWidget.setBaseSize(QtCore.QSize(1228, 805))
+ font = QtGui.QFont()
+ font.setFamily("MS Shell Dlg 2")
+ font.setPointSize(11)
+ font.setBold(False)
+ font.setItalic(False)
+ self.tableWidget.setFont(font)
+ self.tableWidget.setStyleSheet("QTableWidget {\n"
+" \n"
+" font-size: 14px;\n"
+"font: 11pt \"MS Shell Dlg 2\";\n"
+" background-color: #f9f9f9;\n"
+" alternate-background-color: #e0e0e0;\n"
+" gridline-color: #ccc;\n"
+" border-radius: 10px;\n"
+"}\n"
+"QHeaderView::section {\n"
+" background-color: #008CBA;\n"
+" color: white;\n"
+" padding: 5px;\n"
+" font-size: 14px;\n"
+"font: 11pt \"MS Shell Dlg 2\";\n"
+"}\n"
+"")
+ self.tableWidget.setColumnCount(5)
+ self.tableWidget.setObjectName("tableWidget")
+ self.tableWidget.setRowCount(0)
+ item = QtWidgets.QTableWidgetItem()
+ font = QtGui.QFont()
+ font.setPointSize(11)
+ item.setFont(font)
+ self.tableWidget.setHorizontalHeaderItem(0, item)
+ item = QtWidgets.QTableWidgetItem()
+ font = QtGui.QFont()
+ font.setPointSize(11)
+ item.setFont(font)
+ self.tableWidget.setHorizontalHeaderItem(1, item)
+ item = QtWidgets.QTableWidgetItem()
+ font = QtGui.QFont()
+ font.setPointSize(11)
+ item.setFont(font)
+ self.tableWidget.setHorizontalHeaderItem(2, item)
+ item = QtWidgets.QTableWidgetItem()
+ font = QtGui.QFont()
+ font.setPointSize(11)
+ item.setFont(font)
+ self.tableWidget.setHorizontalHeaderItem(3, item)
+ item = QtWidgets.QTableWidgetItem()
+ font = QtGui.QFont()
+ font.setPointSize(11)
+ item.setFont(font)
+ self.tableWidget.setHorizontalHeaderItem(4, item)
+ self.tableWidget.horizontalHeader().setDefaultSectionSize(204)
+ self.verticalLayout_2.addWidget(self.tableWidget)
+ ApplicationWindow.setCentralWidget(self.centralwidget)
+ self.statusbar = QtWidgets.QStatusBar(parent=ApplicationWindow)
+ self.statusbar.setObjectName("statusbar")
+ ApplicationWindow.setStatusBar(self.statusbar)
+
+ self.retranslateUi(ApplicationWindow)
+ QtCore.QMetaObject.connectSlotsByName(ApplicationWindow)
+
+ def retranslateUi(self, ApplicationWindow):
+ _translate = QtCore.QCoreApplication.translate
+ ApplicationWindow.setWindowTitle(_translate("ApplicationWindow", "APPLICATIONS"))
+ self.label.setText(_translate("ApplicationWindow", "APPLICATIONS"))
+ self.PB_mentor_meeting_defined_button.setText(_translate("ApplicationWindow", "Mentor Interview Defined"))
+ self.PB_return_to_preferences_screen_button.setText(_translate("ApplicationWindow", "Main Menu "))
+ self.PB_mentor_interview_undefined_button.setText(_translate("ApplicationWindow", "Mentor Interview Undefined"))
+ self.LE_search_input.setPlaceholderText(_translate("ApplicationWindow", " Write a name or surname..."))
+ self.PB_search_button.setText(_translate("ApplicationWindow", "Search "))
+ self.PB_all_applications_button.setText(_translate("ApplicationWindow", "All Applications "))
+ self.PB_duplicate_record_button.setText(_translate("ApplicationWindow", "Duplicate Record"))
+ self.CB_combo_box.setCurrentText(_translate("ApplicationWindow", " Please make a choice..."))
+ self.CB_combo_box.setItemText(0, _translate("ApplicationWindow", " Please make a choice..."))
+ self.CB_combo_box.setItemText(1, _translate("ApplicationWindow", " Previous VIT Control"))
+ self.CB_combo_box.setItemText(2, _translate("ApplicationWindow", " Different Records"))
+ self.CB_combo_box.setItemText(3, _translate("ApplicationWindow", " Applying Filter"))
+ self.PB_exit.setText(_translate("ApplicationWindow", " Exit "))
+ self.PB_duplicate_record_button_2.setText(_translate("ApplicationWindow", "Differend Record"))
+ item = self.tableWidget.horizontalHeaderItem(0)
+ item.setText(_translate("ApplicationWindow", "Name"))
+ item = self.tableWidget.horizontalHeaderItem(1)
+ item.setText(_translate("ApplicationWindow", "Surname"))
+ item = self.tableWidget.horizontalHeaderItem(2)
+ item.setText(_translate("ApplicationWindow", "Email"))
+ item = self.tableWidget.horizontalHeaderItem(3)
+ item.setText(_translate("ApplicationWindow", "Mentor Situation"))
+ item = self.tableWidget.horizontalHeaderItem(4)
+ item.setText(_translate("ApplicationWindow", "VIT"))
diff --git a/MainMenu.py b/MainMenu.py
new file mode 100644
index 0000000..89ca3bf
--- /dev/null
+++ b/MainMenu.py
@@ -0,0 +1,252 @@
+# Form implementation generated from reading ui file 'MainMenu.ui'
+#
+# Created by: PyQt6 UI code generator 6.8.0
+#
+# WARNING: Any manual changes made to this file will be lost when pyuic6 is
+# run again. Do not edit this file unless you know what you are doing.
+
+
+from PyQt6 import QtCore, QtGui, QtWidgets
+
+
+class Ui_mw_main_menu(object):
+ def setupUi(self, mw_main_menu):
+ mw_main_menu.setObjectName("mw_main_menu")
+ mw_main_menu.setWindowModality(QtCore.Qt.WindowModality.NonModal)
+ mw_main_menu.setEnabled(True)
+ mw_main_menu.resize(600, 500)
+ sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Fixed, QtWidgets.QSizePolicy.Policy.Fixed)
+ sizePolicy.setHorizontalStretch(0)
+ sizePolicy.setVerticalStretch(0)
+ sizePolicy.setHeightForWidth(mw_main_menu.sizePolicy().hasHeightForWidth())
+ mw_main_menu.setSizePolicy(sizePolicy)
+ mw_main_menu.setMinimumSize(QtCore.QSize(600, 500))
+ mw_main_menu.setMaximumSize(QtCore.QSize(16777215, 16777215))
+ mw_main_menu.setFocusPolicy(QtCore.Qt.FocusPolicy.NoFocus)
+ mw_main_menu.setContextMenuPolicy(QtCore.Qt.ContextMenuPolicy.NoContextMenu)
+ icon = QtGui.QIcon()
+ icon.addPixmap(QtGui.QPixmap("icons/manage.svg"), QtGui.QIcon.Mode.Normal, QtGui.QIcon.State.Off)
+ mw_main_menu.setWindowIcon(icon)
+ mw_main_menu.setToolTip("")
+ mw_main_menu.setStatusTip("")
+ mw_main_menu.setAccessibleDescription("")
+ mw_main_menu.setStyleSheet("QWidget {\n"
+" font: 11pt \"MS Shell Dlg 2\";\n"
+" background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, \n"
+" stop:0 rgba(173, 216, 230, 255), \n"
+" stop:1 rgba(255, 255, 255, 255));\n"
+"};\n"
+"")
+ mw_main_menu.setAnimated(False)
+ mw_main_menu.setDocumentMode(False)
+ mw_main_menu.setTabShape(QtWidgets.QTabWidget.TabShape.Rounded)
+ self.centralwidget = QtWidgets.QWidget(parent=mw_main_menu)
+ self.centralwidget.setObjectName("centralwidget")
+ self.gridLayout = QtWidgets.QGridLayout(self.centralwidget)
+ self.gridLayout.setContentsMargins(11, 11, -1, -1)
+ self.gridLayout.setHorizontalSpacing(14)
+ self.gridLayout.setVerticalSpacing(26)
+ self.gridLayout.setObjectName("gridLayout")
+ self.pushbutton_logout = QtWidgets.QPushButton(parent=self.centralwidget)
+ self.pushbutton_logout.setCursor(QtGui.QCursor(QtCore.Qt.CursorShape.PointingHandCursor))
+ self.pushbutton_logout.setStyleSheet("QPushButton {\n"
+" background-color: #008CBA;\n"
+" color: white;\n"
+" padding: 10px;\n"
+" font-size: 14px;\n"
+"font: 11pt \"MS Shell Dlg 2\";\n"
+" border: none;\n"
+" border-radius: 10px;\n"
+" margin: 5px;\n"
+"}\n"
+"QPushButton:hover {\n"
+" background-color: #007B9E;\n"
+"}\n"
+"QPushButton:pressed {\n"
+" background-color: #005f73;\n"
+"}\n"
+"")
+ icon1 = QtGui.QIcon()
+ icon1.addPixmap(QtGui.QPixmap("icons/logout.svg"), QtGui.QIcon.Mode.Normal, QtGui.QIcon.State.Off)
+ self.pushbutton_logout.setIcon(icon1)
+ self.pushbutton_logout.setIconSize(QtCore.QSize(40, 40))
+ self.pushbutton_logout.setObjectName("pushbutton_logout")
+ self.gridLayout.addWidget(self.pushbutton_logout, 3, 0, 1, 1)
+ self.frame_icon = QtWidgets.QFrame(parent=self.centralwidget)
+ self.frame_icon.setMaximumSize(QtCore.QSize(16777215, 16777215))
+ self.frame_icon.setFrameShape(QtWidgets.QFrame.Shape.StyledPanel)
+ self.frame_icon.setFrameShadow(QtWidgets.QFrame.Shadow.Raised)
+ self.frame_icon.setObjectName("frame_icon")
+ self.verticalLayout = QtWidgets.QVBoxLayout(self.frame_icon)
+ self.verticalLayout.setObjectName("verticalLayout")
+ self.label = QtWidgets.QLabel(parent=self.frame_icon)
+ self.label.setMinimumSize(QtCore.QSize(0, 0))
+ self.label.setText("")
+ self.label.setPixmap(QtGui.QPixmap("icons/WeRHere2.png"))
+ self.label.setScaledContents(True)
+ self.label.setObjectName("label")
+ self.verticalLayout.addWidget(self.label)
+ self.gridLayout.addWidget(self.frame_icon, 0, 0, 1, 2)
+ self.pushbutton_applications = QtWidgets.QPushButton(parent=self.centralwidget)
+ sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Minimum, QtWidgets.QSizePolicy.Policy.Fixed)
+ sizePolicy.setHorizontalStretch(0)
+ sizePolicy.setVerticalStretch(0)
+ sizePolicy.setHeightForWidth(self.pushbutton_applications.sizePolicy().hasHeightForWidth())
+ self.pushbutton_applications.setSizePolicy(sizePolicy)
+ self.pushbutton_applications.setMinimumSize(QtCore.QSize(96, 55))
+ self.pushbutton_applications.setCursor(QtGui.QCursor(QtCore.Qt.CursorShape.PointingHandCursor))
+ self.pushbutton_applications.setStyleSheet("QPushButton {\n"
+" background-color: #008CBA;\n"
+" color: white;\n"
+" padding: 10px;\n"
+" font-size: 14px;\n"
+"font: 11pt \"MS Shell Dlg 2\";\n"
+" border: none;\n"
+" border-radius: 10px;\n"
+" margin: 5px;\n"
+"}\n"
+"QPushButton:hover {\n"
+" background-color: #007B9E;\n"
+"}\n"
+"QPushButton:pressed {\n"
+" background-color: #005f73;\n"
+"}\n"
+"")
+ icon2 = QtGui.QIcon()
+ icon2.addPixmap(QtGui.QPixmap("icons/contacts.svg"), QtGui.QIcon.Mode.Normal, QtGui.QIcon.State.Off)
+ self.pushbutton_applications.setIcon(icon2)
+ self.pushbutton_applications.setIconSize(QtCore.QSize(50, 50))
+ self.pushbutton_applications.setObjectName("pushbutton_applications")
+ self.gridLayout.addWidget(self.pushbutton_applications, 1, 0, 1, 1)
+ self.pushbutton_admin_menu = QtWidgets.QPushButton(parent=self.centralwidget)
+ self.pushbutton_admin_menu.setEnabled(True)
+ self.pushbutton_admin_menu.setMinimumSize(QtCore.QSize(0, 70))
+ self.pushbutton_admin_menu.setCursor(QtGui.QCursor(QtCore.Qt.CursorShape.PointingHandCursor))
+ self.pushbutton_admin_menu.setStyleSheet("QPushButton {\n"
+" background-color: #008CBA;\n"
+" color: white;\n"
+" padding: 10px;\n"
+" font-size: 14px;\n"
+"font: 11pt \"MS Shell Dlg 2\";\n"
+" border: none;\n"
+" border-radius: 10px;\n"
+" margin: 5px;\n"
+"}\n"
+"QPushButton:hover {\n"
+" background-color: #007B9E;\n"
+"}\n"
+"QPushButton:pressed {\n"
+" background-color: #005f73;\n"
+"}")
+ self.pushbutton_admin_menu.setIcon(icon)
+ self.pushbutton_admin_menu.setIconSize(QtCore.QSize(50, 50))
+ self.pushbutton_admin_menu.setObjectName("pushbutton_admin_menu")
+ self.gridLayout.addWidget(self.pushbutton_admin_menu, 2, 1, 1, 1)
+ self.pushbutton_mentor_meeting = QtWidgets.QPushButton(parent=self.centralwidget)
+ self.pushbutton_mentor_meeting.setMinimumSize(QtCore.QSize(0, 70))
+ self.pushbutton_mentor_meeting.setCursor(QtGui.QCursor(QtCore.Qt.CursorShape.PointingHandCursor))
+ self.pushbutton_mentor_meeting.setStyleSheet("QPushButton {\n"
+" background-color: #008CBA;\n"
+" color: white;\n"
+" padding: 10px;\n"
+" font-size: 14px;\n"
+"font: 11pt \"MS Shell Dlg 2\";\n"
+" border: none;\n"
+" border-radius: 10px;\n"
+" margin: 5px;\n"
+"}\n"
+"QPushButton:hover {\n"
+" background-color: #007B9E;\n"
+"}\n"
+"QPushButton:pressed {\n"
+" background-color: #005f73;\n"
+"}")
+ icon3 = QtGui.QIcon()
+ icon3.addPixmap(QtGui.QPixmap("icons/referrals.svg"), QtGui.QIcon.Mode.Normal, QtGui.QIcon.State.Off)
+ self.pushbutton_mentor_meeting.setIcon(icon3)
+ self.pushbutton_mentor_meeting.setIconSize(QtCore.QSize(50, 50))
+ self.pushbutton_mentor_meeting.setObjectName("pushbutton_mentor_meeting")
+ self.gridLayout.addWidget(self.pushbutton_mentor_meeting, 1, 1, 1, 1)
+ self.pushbutton_exit = QtWidgets.QPushButton(parent=self.centralwidget)
+ self.pushbutton_exit.setMinimumSize(QtCore.QSize(0, 55))
+ self.pushbutton_exit.setCursor(QtGui.QCursor(QtCore.Qt.CursorShape.PointingHandCursor))
+ self.pushbutton_exit.setStyleSheet("QPushButton {\n"
+" background-color: #008CBA;\n"
+" color: white;\n"
+" padding: 10px;\n"
+" font-size: 14px;\n"
+"font: 11pt \"MS Shell Dlg 2\";\n"
+" border: none;\n"
+" border-radius: 10px;\n"
+" margin: 5px;\n"
+"}\n"
+"QPushButton:hover {\n"
+" background-color: #007B9E;\n"
+"}\n"
+"QPushButton:pressed {\n"
+" background-color: #005f73;\n"
+"}")
+ icon4 = QtGui.QIcon()
+ icon4.addPixmap(QtGui.QPixmap("icons/power.svg"), QtGui.QIcon.Mode.Normal, QtGui.QIcon.State.Off)
+ self.pushbutton_exit.setIcon(icon4)
+ self.pushbutton_exit.setIconSize(QtCore.QSize(50, 50))
+ self.pushbutton_exit.setObjectName("pushbutton_exit")
+ self.gridLayout.addWidget(self.pushbutton_exit, 3, 1, 1, 1)
+ self.pushbutton_interviews = QtWidgets.QPushButton(parent=self.centralwidget)
+ sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Minimum, QtWidgets.QSizePolicy.Policy.Fixed)
+ sizePolicy.setHorizontalStretch(0)
+ sizePolicy.setVerticalStretch(0)
+ sizePolicy.setHeightForWidth(self.pushbutton_interviews.sizePolicy().hasHeightForWidth())
+ self.pushbutton_interviews.setSizePolicy(sizePolicy)
+ self.pushbutton_interviews.setMinimumSize(QtCore.QSize(0, 55))
+ self.pushbutton_interviews.setSizeIncrement(QtCore.QSize(0, 0))
+ self.pushbutton_interviews.setCursor(QtGui.QCursor(QtCore.Qt.CursorShape.PointingHandCursor))
+ self.pushbutton_interviews.setStyleSheet("QPushButton {\n"
+" background-color: #008CBA;\n"
+" color: white;\n"
+" padding: 10px;\n"
+" font-size: 14px;\n"
+"font: 11pt \"MS Shell Dlg 2\";\n"
+" border: none;\n"
+" border-radius: 10px;\n"
+" margin: 5px;\n"
+"}\n"
+"QPushButton:hover {\n"
+" background-color: #007B9E;\n"
+"}\n"
+"QPushButton:pressed {\n"
+" background-color: #005f73;\n"
+"}")
+ icon5 = QtGui.QIcon()
+ icon5.addPixmap(QtGui.QPixmap("icons/members.svg"), QtGui.QIcon.Mode.Normal, QtGui.QIcon.State.Off)
+ self.pushbutton_interviews.setIcon(icon5)
+ self.pushbutton_interviews.setIconSize(QtCore.QSize(50, 50))
+ self.pushbutton_interviews.setObjectName("pushbutton_interviews")
+ self.gridLayout.addWidget(self.pushbutton_interviews, 2, 0, 1, 1)
+ mw_main_menu.setCentralWidget(self.centralwidget)
+ self.statusbar = QtWidgets.QStatusBar(parent=mw_main_menu)
+ self.statusbar.setObjectName("statusbar")
+ mw_main_menu.setStatusBar(self.statusbar)
+
+ self.retranslateUi(mw_main_menu)
+ QtCore.QMetaObject.connectSlotsByName(mw_main_menu)
+
+ def retranslateUi(self, mw_main_menu):
+ _translate = QtCore.QCoreApplication.translate
+ mw_main_menu.setWindowTitle(_translate("mw_main_menu", "Main Menu"))
+ self.pushbutton_logout.setText(_translate("mw_main_menu", "Logout"))
+ self.pushbutton_applications.setText(_translate("mw_main_menu", "Applications"))
+ self.pushbutton_admin_menu.setText(_translate("mw_main_menu", "Admin Menu"))
+ self.pushbutton_mentor_meeting.setText(_translate("mw_main_menu", "Mentor Meeting"))
+ self.pushbutton_exit.setText(_translate("mw_main_menu", "Exit"))
+ self.pushbutton_interviews.setText(_translate("mw_main_menu", "Interviews"))
+
+
+if __name__ == "__main__":
+ import sys
+ app = QtWidgets.QApplication(sys.argv)
+ mw_main_menu = QtWidgets.QMainWindow()
+ ui = Ui_mw_main_menu()
+ ui.setupUi(mw_main_menu)
+ mw_main_menu.show()
+ sys.exit(app.exec())
diff --git a/MainMenu.ui b/MainMenu.ui
new file mode 100644
index 0000000..00f160f
--- /dev/null
+++ b/MainMenu.ui
@@ -0,0 +1,415 @@
+
+
+ mw_main_menu
+
+
+ Qt::WindowModality::NonModal
+
+
+ true
+
+
+
+ 0
+ 0
+ 600
+ 500
+
+
+
+
+ 0
+ 0
+
+
+
+
+ 600
+ 500
+
+
+
+
+ 16777215
+ 16777215
+
+
+
+ Qt::FocusPolicy::NoFocus
+
+
+ Qt::ContextMenuPolicy::NoContextMenu
+
+
+ Main Menu
+
+
+
+ icons/manage.svgicons/manage.svg
+
+
+
+
+
+
+
+
+
+
+
+ QWidget {
+ font: 11pt "MS Shell Dlg 2";
+ background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1,
+ stop:0 rgba(173, 216, 230, 255),
+ stop:1 rgba(255, 255, 255, 255));
+};
+
+
+
+ false
+
+
+ false
+
+
+ QTabWidget::TabShape::Rounded
+
+
+
+
+ 11
+
+
+ 11
+
+
+ 14
+
+
+ 26
+
+ -
+
+
+ PointingHandCursor
+
+
+ QPushButton {
+ background-color: #008CBA;
+ color: white;
+ padding: 10px;
+ font-size: 14px;
+font: 11pt "MS Shell Dlg 2";
+ border: none;
+ border-radius: 10px;
+ margin: 5px;
+}
+QPushButton:hover {
+ background-color: #007B9E;
+}
+QPushButton:pressed {
+ background-color: #005f73;
+}
+
+
+
+ Logout
+
+
+
+ icons/logout.svgicons/logout.svg
+
+
+
+ 40
+ 40
+
+
+
+
+ -
+
+
+
+ 16777215
+ 16777215
+
+
+
+ QFrame::Shape::StyledPanel
+
+
+ QFrame::Shadow::Raised
+
+
+
-
+
+
+
+ 0
+ 0
+
+
+
+
+
+
+ icons/WeRHere2.png
+
+
+ true
+
+
+
+
+
+
+ -
+
+
+
+ 0
+ 0
+
+
+
+
+ 96
+ 55
+
+
+
+ PointingHandCursor
+
+
+ QPushButton {
+ background-color: #008CBA;
+ color: white;
+ padding: 10px;
+ font-size: 14px;
+font: 11pt "MS Shell Dlg 2";
+ border: none;
+ border-radius: 10px;
+ margin: 5px;
+}
+QPushButton:hover {
+ background-color: #007B9E;
+}
+QPushButton:pressed {
+ background-color: #005f73;
+}
+
+
+
+ Applications
+
+
+
+ icons/contacts.svgicons/contacts.svg
+
+
+
+ 50
+ 50
+
+
+
+
+ -
+
+
+ true
+
+
+
+ 0
+ 70
+
+
+
+ PointingHandCursor
+
+
+ QPushButton {
+ background-color: #008CBA;
+ color: white;
+ padding: 10px;
+ font-size: 14px;
+font: 11pt "MS Shell Dlg 2";
+ border: none;
+ border-radius: 10px;
+ margin: 5px;
+}
+QPushButton:hover {
+ background-color: #007B9E;
+}
+QPushButton:pressed {
+ background-color: #005f73;
+}
+
+
+ Admin Menu
+
+
+
+ icons/manage.svgicons/manage.svg
+
+
+
+ 50
+ 50
+
+
+
+
+ -
+
+
+
+ 0
+ 70
+
+
+
+ PointingHandCursor
+
+
+ QPushButton {
+ background-color: #008CBA;
+ color: white;
+ padding: 10px;
+ font-size: 14px;
+font: 11pt "MS Shell Dlg 2";
+ border: none;
+ border-radius: 10px;
+ margin: 5px;
+}
+QPushButton:hover {
+ background-color: #007B9E;
+}
+QPushButton:pressed {
+ background-color: #005f73;
+}
+
+
+ Mentor Meeting
+
+
+
+ icons/referrals.svgicons/referrals.svg
+
+
+
+ 50
+ 50
+
+
+
+
+ -
+
+
+
+ 0
+ 55
+
+
+
+ PointingHandCursor
+
+
+ QPushButton {
+ background-color: #008CBA;
+ color: white;
+ padding: 10px;
+ font-size: 14px;
+font: 11pt "MS Shell Dlg 2";
+ border: none;
+ border-radius: 10px;
+ margin: 5px;
+}
+QPushButton:hover {
+ background-color: #007B9E;
+}
+QPushButton:pressed {
+ background-color: #005f73;
+}
+
+
+ Exit
+
+
+
+ icons/power.svgicons/power.svg
+
+
+
+ 50
+ 50
+
+
+
+
+ -
+
+
+
+ 0
+ 0
+
+
+
+
+ 0
+ 55
+
+
+
+
+ 0
+ 0
+
+
+
+ PointingHandCursor
+
+
+ QPushButton {
+ background-color: #008CBA;
+ color: white;
+ padding: 10px;
+ font-size: 14px;
+font: 11pt "MS Shell Dlg 2";
+ border: none;
+ border-radius: 10px;
+ margin: 5px;
+}
+QPushButton:hover {
+ background-color: #007B9E;
+}
+QPushButton:pressed {
+ background-color: #005f73;
+}
+
+
+ Interviews
+
+
+
+ icons/members.svgicons/members.svg
+
+
+
+ 50
+ 50
+
+
+
+
+
+
+
+
+
+
+
diff --git a/MainMenu_ui.py b/MainMenu_ui.py
new file mode 100644
index 0000000..9d473fe
--- /dev/null
+++ b/MainMenu_ui.py
@@ -0,0 +1,242 @@
+# Form implementation generated from reading ui file 'c:\Users\kahra\OneDrive\Masaüstü\PROGRAM\PYTHON\PROJECT\PYQT6_PROJECTS\TAMAMLANANLAR\PROJE\VIT_Project\MainMenu.ui'
+#
+# Created by: PyQt6 UI code generator 6.8.0
+#
+# WARNING: Any manual changes made to this file will be lost when pyuic6 is
+# run again. Do not edit this file unless you know what you are doing.
+
+
+from PyQt6 import QtCore, QtGui, QtWidgets
+
+
+class Ui_mw_main_menu(object):
+ def setupUi(self, mw_main_menu):
+ mw_main_menu.setObjectName("mw_main_menu")
+ mw_main_menu.setWindowModality(QtCore.Qt.WindowModality.NonModal)
+ mw_main_menu.setEnabled(True)
+ mw_main_menu.resize(600, 500)
+ sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Fixed, QtWidgets.QSizePolicy.Policy.Fixed)
+ sizePolicy.setHorizontalStretch(0)
+ sizePolicy.setVerticalStretch(0)
+ sizePolicy.setHeightForWidth(mw_main_menu.sizePolicy().hasHeightForWidth())
+ mw_main_menu.setSizePolicy(sizePolicy)
+ mw_main_menu.setMinimumSize(QtCore.QSize(600, 500))
+ mw_main_menu.setMaximumSize(QtCore.QSize(16777215, 16777215))
+ mw_main_menu.setFocusPolicy(QtCore.Qt.FocusPolicy.NoFocus)
+ mw_main_menu.setContextMenuPolicy(QtCore.Qt.ContextMenuPolicy.NoContextMenu)
+ icon = QtGui.QIcon()
+ icon.addPixmap(QtGui.QPixmap("c:\\Users\\kahra\\OneDrive\\Masaüstü\\PROGRAM\\PYTHON\\PROJECT\\PYQT6_PROJECTS\\TAMAMLANANLAR\\PROJE\\VIT_Project\\icons/manage.svg"), QtGui.QIcon.Mode.Normal, QtGui.QIcon.State.Off)
+ mw_main_menu.setWindowIcon(icon)
+ mw_main_menu.setToolTip("")
+ mw_main_menu.setStatusTip("")
+ mw_main_menu.setAccessibleDescription("")
+ mw_main_menu.setStyleSheet("QWidget {\n"
+" font: 11pt \"MS Shell Dlg 2\";\n"
+" background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, \n"
+" stop:0 rgba(173, 216, 230, 255), \n"
+" stop:1 rgba(255, 255, 255, 255));\n"
+"};\n"
+"")
+ mw_main_menu.setAnimated(False)
+ mw_main_menu.setDocumentMode(False)
+ mw_main_menu.setTabShape(QtWidgets.QTabWidget.TabShape.Rounded)
+ self.centralwidget = QtWidgets.QWidget(parent=mw_main_menu)
+ self.centralwidget.setObjectName("centralwidget")
+ self.gridLayout = QtWidgets.QGridLayout(self.centralwidget)
+ self.gridLayout.setContentsMargins(11, 11, -1, -1)
+ self.gridLayout.setHorizontalSpacing(14)
+ self.gridLayout.setVerticalSpacing(26)
+ self.gridLayout.setObjectName("gridLayout")
+ self.pushbutton_logout = QtWidgets.QPushButton(parent=self.centralwidget)
+ self.pushbutton_logout.setCursor(QtGui.QCursor(QtCore.Qt.CursorShape.PointingHandCursor))
+ self.pushbutton_logout.setStyleSheet("QPushButton {\n"
+" background-color: #008CBA;\n"
+" color: white;\n"
+" padding: 10px;\n"
+" font-size: 14px;\n"
+"font: 11pt \"MS Shell Dlg 2\";\n"
+" border: none;\n"
+" border-radius: 10px;\n"
+" margin: 5px;\n"
+"}\n"
+"QPushButton:hover {\n"
+" background-color: #007B9E;\n"
+"}\n"
+"QPushButton:pressed {\n"
+" background-color: #005f73;\n"
+"}\n"
+"")
+ icon1 = QtGui.QIcon()
+ icon1.addPixmap(QtGui.QPixmap("c:\\Users\\kahra\\OneDrive\\Masaüstü\\PROGRAM\\PYTHON\\PROJECT\\PYQT6_PROJECTS\\TAMAMLANANLAR\\PROJE\\VIT_Project\\icons/logout.svg"), QtGui.QIcon.Mode.Normal, QtGui.QIcon.State.Off)
+ self.pushbutton_logout.setIcon(icon1)
+ self.pushbutton_logout.setIconSize(QtCore.QSize(40, 40))
+ self.pushbutton_logout.setObjectName("pushbutton_logout")
+ self.gridLayout.addWidget(self.pushbutton_logout, 3, 0, 1, 1)
+ self.frame_icon = QtWidgets.QFrame(parent=self.centralwidget)
+ self.frame_icon.setMaximumSize(QtCore.QSize(16777215, 16777215))
+ self.frame_icon.setFrameShape(QtWidgets.QFrame.Shape.StyledPanel)
+ self.frame_icon.setFrameShadow(QtWidgets.QFrame.Shadow.Raised)
+ self.frame_icon.setObjectName("frame_icon")
+ self.verticalLayout = QtWidgets.QVBoxLayout(self.frame_icon)
+ self.verticalLayout.setObjectName("verticalLayout")
+ self.label = QtWidgets.QLabel(parent=self.frame_icon)
+ self.label.setMinimumSize(QtCore.QSize(0, 0))
+ self.label.setText("")
+ self.label.setPixmap(QtGui.QPixmap("c:\\Users\\kahra\\OneDrive\\Masaüstü\\PROGRAM\\PYTHON\\PROJECT\\PYQT6_PROJECTS\\TAMAMLANANLAR\\PROJE\\VIT_Project\\icons/WeRHere2.png"))
+ self.label.setScaledContents(True)
+ self.label.setObjectName("label")
+ self.verticalLayout.addWidget(self.label)
+ self.gridLayout.addWidget(self.frame_icon, 0, 0, 1, 2)
+ self.pushbutton_applications = QtWidgets.QPushButton(parent=self.centralwidget)
+ sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Minimum, QtWidgets.QSizePolicy.Policy.Fixed)
+ sizePolicy.setHorizontalStretch(0)
+ sizePolicy.setVerticalStretch(0)
+ sizePolicy.setHeightForWidth(self.pushbutton_applications.sizePolicy().hasHeightForWidth())
+ self.pushbutton_applications.setSizePolicy(sizePolicy)
+ self.pushbutton_applications.setMinimumSize(QtCore.QSize(96, 55))
+ self.pushbutton_applications.setCursor(QtGui.QCursor(QtCore.Qt.CursorShape.PointingHandCursor))
+ self.pushbutton_applications.setStyleSheet("QPushButton {\n"
+" background-color: #008CBA;\n"
+" color: white;\n"
+" padding: 10px;\n"
+" font-size: 14px;\n"
+"font: 11pt \"MS Shell Dlg 2\";\n"
+" border: none;\n"
+" border-radius: 10px;\n"
+" margin: 5px;\n"
+"}\n"
+"QPushButton:hover {\n"
+" background-color: #007B9E;\n"
+"}\n"
+"QPushButton:pressed {\n"
+" background-color: #005f73;\n"
+"}\n"
+"")
+ icon2 = QtGui.QIcon()
+ icon2.addPixmap(QtGui.QPixmap("c:\\Users\\kahra\\OneDrive\\Masaüstü\\PROGRAM\\PYTHON\\PROJECT\\PYQT6_PROJECTS\\TAMAMLANANLAR\\PROJE\\VIT_Project\\icons/contacts.svg"), QtGui.QIcon.Mode.Normal, QtGui.QIcon.State.Off)
+ self.pushbutton_applications.setIcon(icon2)
+ self.pushbutton_applications.setIconSize(QtCore.QSize(50, 50))
+ self.pushbutton_applications.setObjectName("pushbutton_applications")
+ self.gridLayout.addWidget(self.pushbutton_applications, 1, 0, 1, 1)
+ self.pushbutton_admin_menu = QtWidgets.QPushButton(parent=self.centralwidget)
+ self.pushbutton_admin_menu.setEnabled(True)
+ self.pushbutton_admin_menu.setMinimumSize(QtCore.QSize(0, 70))
+ self.pushbutton_admin_menu.setCursor(QtGui.QCursor(QtCore.Qt.CursorShape.PointingHandCursor))
+ self.pushbutton_admin_menu.setStyleSheet("QPushButton {\n"
+" background-color: #008CBA;\n"
+" color: white;\n"
+" padding: 10px;\n"
+" font-size: 14px;\n"
+"font: 11pt \"MS Shell Dlg 2\";\n"
+" border: none;\n"
+" border-radius: 10px;\n"
+" margin: 5px;\n"
+"}\n"
+"QPushButton:hover {\n"
+" background-color: #007B9E;\n"
+"}\n"
+"QPushButton:pressed {\n"
+" background-color: #005f73;\n"
+"}")
+ self.pushbutton_admin_menu.setIcon(icon)
+ self.pushbutton_admin_menu.setIconSize(QtCore.QSize(50, 50))
+ self.pushbutton_admin_menu.setObjectName("pushbutton_admin_menu")
+ self.gridLayout.addWidget(self.pushbutton_admin_menu, 2, 1, 1, 1)
+ self.pushbutton_mentor_meeting = QtWidgets.QPushButton(parent=self.centralwidget)
+ self.pushbutton_mentor_meeting.setMinimumSize(QtCore.QSize(0, 70))
+ self.pushbutton_mentor_meeting.setCursor(QtGui.QCursor(QtCore.Qt.CursorShape.PointingHandCursor))
+ self.pushbutton_mentor_meeting.setStyleSheet("QPushButton {\n"
+" background-color: #008CBA;\n"
+" color: white;\n"
+" padding: 10px;\n"
+" font-size: 14px;\n"
+"font: 11pt \"MS Shell Dlg 2\";\n"
+" border: none;\n"
+" border-radius: 10px;\n"
+" margin: 5px;\n"
+"}\n"
+"QPushButton:hover {\n"
+" background-color: #007B9E;\n"
+"}\n"
+"QPushButton:pressed {\n"
+" background-color: #005f73;\n"
+"}")
+ icon3 = QtGui.QIcon()
+ icon3.addPixmap(QtGui.QPixmap("c:\\Users\\kahra\\OneDrive\\Masaüstü\\PROGRAM\\PYTHON\\PROJECT\\PYQT6_PROJECTS\\TAMAMLANANLAR\\PROJE\\VIT_Project\\icons/referrals.svg"), QtGui.QIcon.Mode.Normal, QtGui.QIcon.State.Off)
+ self.pushbutton_mentor_meeting.setIcon(icon3)
+ self.pushbutton_mentor_meeting.setIconSize(QtCore.QSize(50, 50))
+ self.pushbutton_mentor_meeting.setObjectName("pushbutton_mentor_meeting")
+ self.gridLayout.addWidget(self.pushbutton_mentor_meeting, 1, 1, 1, 1)
+ self.pushbutton_exit = QtWidgets.QPushButton(parent=self.centralwidget)
+ self.pushbutton_exit.setMinimumSize(QtCore.QSize(0, 55))
+ self.pushbutton_exit.setCursor(QtGui.QCursor(QtCore.Qt.CursorShape.PointingHandCursor))
+ self.pushbutton_exit.setStyleSheet("QPushButton {\n"
+" background-color: #008CBA;\n"
+" color: white;\n"
+" padding: 10px;\n"
+" font-size: 14px;\n"
+"font: 11pt \"MS Shell Dlg 2\";\n"
+" border: none;\n"
+" border-radius: 10px;\n"
+" margin: 5px;\n"
+"}\n"
+"QPushButton:hover {\n"
+" background-color: #007B9E;\n"
+"}\n"
+"QPushButton:pressed {\n"
+" background-color: #005f73;\n"
+"}")
+ icon4 = QtGui.QIcon()
+ icon4.addPixmap(QtGui.QPixmap("c:\\Users\\kahra\\OneDrive\\Masaüstü\\PROGRAM\\PYTHON\\PROJECT\\PYQT6_PROJECTS\\TAMAMLANANLAR\\PROJE\\VIT_Project\\icons/power.svg"), QtGui.QIcon.Mode.Normal, QtGui.QIcon.State.Off)
+ self.pushbutton_exit.setIcon(icon4)
+ self.pushbutton_exit.setIconSize(QtCore.QSize(50, 50))
+ self.pushbutton_exit.setObjectName("pushbutton_exit")
+ self.gridLayout.addWidget(self.pushbutton_exit, 3, 1, 1, 1)
+ self.pushbutton_interviews = QtWidgets.QPushButton(parent=self.centralwidget)
+ sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Minimum, QtWidgets.QSizePolicy.Policy.Fixed)
+ sizePolicy.setHorizontalStretch(0)
+ sizePolicy.setVerticalStretch(0)
+ sizePolicy.setHeightForWidth(self.pushbutton_interviews.sizePolicy().hasHeightForWidth())
+ self.pushbutton_interviews.setSizePolicy(sizePolicy)
+ self.pushbutton_interviews.setMinimumSize(QtCore.QSize(0, 55))
+ self.pushbutton_interviews.setSizeIncrement(QtCore.QSize(0, 0))
+ self.pushbutton_interviews.setCursor(QtGui.QCursor(QtCore.Qt.CursorShape.PointingHandCursor))
+ self.pushbutton_interviews.setStyleSheet("QPushButton {\n"
+" background-color: #008CBA;\n"
+" color: white;\n"
+" padding: 10px;\n"
+" font-size: 14px;\n"
+"font: 11pt \"MS Shell Dlg 2\";\n"
+" border: none;\n"
+" border-radius: 10px;\n"
+" margin: 5px;\n"
+"}\n"
+"QPushButton:hover {\n"
+" background-color: #007B9E;\n"
+"}\n"
+"QPushButton:pressed {\n"
+" background-color: #005f73;\n"
+"}")
+ icon5 = QtGui.QIcon()
+ icon5.addPixmap(QtGui.QPixmap("c:\\Users\\kahra\\OneDrive\\Masaüstü\\PROGRAM\\PYTHON\\PROJECT\\PYQT6_PROJECTS\\TAMAMLANANLAR\\PROJE\\VIT_Project\\icons/members.svg"), QtGui.QIcon.Mode.Normal, QtGui.QIcon.State.Off)
+ self.pushbutton_interviews.setIcon(icon5)
+ self.pushbutton_interviews.setIconSize(QtCore.QSize(50, 50))
+ self.pushbutton_interviews.setObjectName("pushbutton_interviews")
+ self.gridLayout.addWidget(self.pushbutton_interviews, 2, 0, 1, 1)
+ mw_main_menu.setCentralWidget(self.centralwidget)
+ self.statusbar = QtWidgets.QStatusBar(parent=mw_main_menu)
+ self.statusbar.setObjectName("statusbar")
+ mw_main_menu.setStatusBar(self.statusbar)
+
+ self.retranslateUi(mw_main_menu)
+ QtCore.QMetaObject.connectSlotsByName(mw_main_menu)
+
+ def retranslateUi(self, mw_main_menu):
+ _translate = QtCore.QCoreApplication.translate
+ mw_main_menu.setWindowTitle(_translate("mw_main_menu", "Main Menu"))
+ self.pushbutton_logout.setText(_translate("mw_main_menu", "Logout"))
+ self.pushbutton_applications.setText(_translate("mw_main_menu", "Applications"))
+ self.pushbutton_admin_menu.setText(_translate("mw_main_menu", "Admin Menu"))
+ self.pushbutton_mentor_meeting.setText(_translate("mw_main_menu", "Mentor Meeting"))
+ self.pushbutton_exit.setText(_translate("mw_main_menu", "Exit"))
+ self.pushbutton_interviews.setText(_translate("mw_main_menu", "Interviews"))
diff --git a/Mentor.py b/Mentor.py
new file mode 100644
index 0000000..86e7727
--- /dev/null
+++ b/Mentor.py
@@ -0,0 +1,380 @@
+# Form implementation generated from reading ui file 'Mentor.ui'
+#
+# Created by: PyQt6 UI code generator 6.8.0
+#
+# WARNING: Any manual changes made to this file will be lost when pyuic6 is
+# run again. Do not edit this file unless you know what you are doing.
+
+
+from PyQt6 import QtCore, QtGui, QtWidgets
+
+
+class Ui_Mentor(object):
+ def setupUi(self, Mentor):
+ Mentor.setObjectName("Mentor")
+ Mentor.setWindowModality(QtCore.Qt.WindowModality.NonModal)
+ Mentor.setEnabled(True)
+ Mentor.resize(1064, 666)
+ sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Preferred, QtWidgets.QSizePolicy.Policy.Preferred)
+ sizePolicy.setHorizontalStretch(0)
+ sizePolicy.setVerticalStretch(0)
+ sizePolicy.setHeightForWidth(Mentor.sizePolicy().hasHeightForWidth())
+ Mentor.setSizePolicy(sizePolicy)
+ Mentor.setMinimumSize(QtCore.QSize(0, 0))
+ Mentor.setSizeIncrement(QtCore.QSize(0, 0))
+ Mentor.setBaseSize(QtCore.QSize(1228, 805))
+ font = QtGui.QFont()
+ font.setFamily("MS Shell Dlg 2")
+ font.setPointSize(11)
+ font.setBold(False)
+ font.setItalic(False)
+ Mentor.setFont(font)
+ Mentor.setLayoutDirection(QtCore.Qt.LayoutDirection.LeftToRight)
+ Mentor.setStyleSheet("QWidget {\n"
+" font: 11pt \"MS Shell Dlg 2\";\n"
+" background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, \n"
+" stop:0 rgba(173, 216, 230, 255), \n"
+" stop:1 rgba(255, 255, 255, 255));\n"
+"};\n"
+"\n"
+"")
+ self.centralwidget = QtWidgets.QWidget(parent=Mentor)
+ self.centralwidget.setEnabled(True)
+ self.centralwidget.setObjectName("centralwidget")
+ self.verticalLayout_2 = QtWidgets.QVBoxLayout(self.centralwidget)
+ self.verticalLayout_2.setObjectName("verticalLayout_2")
+ self.label = QtWidgets.QLabel(parent=self.centralwidget)
+ self.label.setMinimumSize(QtCore.QSize(0, 95))
+ self.label.setStyleSheet("QLabel{\n"
+" \n"
+" padding: 10px;\n"
+" font-size: 16px;\n"
+"font: 11pt \"MS Shell Dlg 2\";\n"
+" border: 2px solid #ccc;\n"
+" border-radius: 10px;\n"
+" margin-bottom: 10px;\n"
+"}\n"
+"\n"
+"QLabel:hover {\n"
+" background-color: #007B9E;\n"
+"}\n"
+"QLabel:pressed {\n"
+" background-color: #005f73;\n"
+"}border-radius: 10px;\n"
+"background-color: #008CBA;")
+ self.label.setAlignment(QtCore.Qt.AlignmentFlag.AlignCenter)
+ self.label.setObjectName("label")
+ self.verticalLayout_2.addWidget(self.label)
+ self.frame_mentor_preference = QtWidgets.QFrame(parent=self.centralwidget)
+ self.frame_mentor_preference.setFrameShape(QtWidgets.QFrame.Shape.StyledPanel)
+ self.frame_mentor_preference.setFrameShadow(QtWidgets.QFrame.Shadow.Raised)
+ self.frame_mentor_preference.setObjectName("frame_mentor_preference")
+ self.gridLayout = QtWidgets.QGridLayout(self.frame_mentor_preference)
+ self.gridLayout.setObjectName("gridLayout")
+ self.PB_mentor_preferences = QtWidgets.QPushButton(parent=self.frame_mentor_preference)
+ sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Preferred, QtWidgets.QSizePolicy.Policy.Preferred)
+ sizePolicy.setHorizontalStretch(0)
+ sizePolicy.setVerticalStretch(0)
+ sizePolicy.setHeightForWidth(self.PB_mentor_preferences.sizePolicy().hasHeightForWidth())
+ self.PB_mentor_preferences.setSizePolicy(sizePolicy)
+ self.PB_mentor_preferences.setCursor(QtGui.QCursor(QtCore.Qt.CursorShape.PointingHandCursor))
+ self.PB_mentor_preferences.setStyleSheet("QPushButton {\n"
+" font: 11pt \"MS Shell Dlg 2\";\n"
+" background-color: #008CBA;\n"
+" color: white;\n"
+" padding: 10px;\n"
+" font-size: 14px;\n"
+"font: 11pt \"MS Shell Dlg 2\";\n"
+" border: none;\n"
+" border-radius: 10px;\n"
+" margin: 5px;\n"
+"}\n"
+"QPushButton:hover {\n"
+" background-color: #007B9E;\n"
+"}\n"
+"QPushButton:pressed {\n"
+" background-color: #005f73;\n"
+"}\n"
+"")
+ icon = QtGui.QIcon()
+ icon.addPixmap(QtGui.QPixmap("icons/news.svg"), QtGui.QIcon.Mode.Normal, QtGui.QIcon.State.Off)
+ self.PB_mentor_preferences.setIcon(icon)
+ self.PB_mentor_preferences.setIconSize(QtCore.QSize(50, 50))
+ self.PB_mentor_preferences.setObjectName("PB_mentor_preferences")
+ self.gridLayout.addWidget(self.PB_mentor_preferences, 2, 0, 1, 1)
+ self.PB_Mentor_Find = QtWidgets.QPushButton(parent=self.frame_mentor_preference)
+ sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Preferred, QtWidgets.QSizePolicy.Policy.Preferred)
+ sizePolicy.setHorizontalStretch(0)
+ sizePolicy.setVerticalStretch(0)
+ sizePolicy.setHeightForWidth(self.PB_Mentor_Find.sizePolicy().hasHeightForWidth())
+ self.PB_Mentor_Find.setSizePolicy(sizePolicy)
+ self.PB_Mentor_Find.setMinimumSize(QtCore.QSize(140, 0))
+ self.PB_Mentor_Find.setCursor(QtGui.QCursor(QtCore.Qt.CursorShape.PointingHandCursor))
+ self.PB_Mentor_Find.setStyleSheet("QPushButton {\n"
+" font: 11pt \"MS Shell Dlg 2\";\n"
+" background-color: #008CBA;\n"
+" color: white;\n"
+" padding: 10px;\n"
+" font-size: 14px;\n"
+"font: 11pt \"MS Shell Dlg 2\";\n"
+" border: none;\n"
+" border-radius: 10px;\n"
+" margin: 5px;\n"
+"}\n"
+"QPushButton:hover {\n"
+" background-color: #007B9E;\n"
+"}\n"
+"QPushButton:pressed {\n"
+" background-color: #005f73;\n"
+"}\n"
+"")
+ icon1 = QtGui.QIcon()
+ icon1.addPixmap(QtGui.QPixmap("icons/search-user.svg"), QtGui.QIcon.Mode.Normal, QtGui.QIcon.State.Off)
+ self.PB_Mentor_Find.setIcon(icon1)
+ self.PB_Mentor_Find.setIconSize(QtCore.QSize(50, 50))
+ self.PB_Mentor_Find.setObjectName("PB_Mentor_Find")
+ self.gridLayout.addWidget(self.PB_Mentor_Find, 0, 1, 1, 1)
+ self.PB_mentor_all_interviews = QtWidgets.QPushButton(parent=self.frame_mentor_preference)
+ sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Preferred, QtWidgets.QSizePolicy.Policy.Preferred)
+ sizePolicy.setHorizontalStretch(0)
+ sizePolicy.setVerticalStretch(0)
+ sizePolicy.setHeightForWidth(self.PB_mentor_all_interviews.sizePolicy().hasHeightForWidth())
+ self.PB_mentor_all_interviews.setSizePolicy(sizePolicy)
+ self.PB_mentor_all_interviews.setMinimumSize(QtCore.QSize(225, 0))
+ self.PB_mentor_all_interviews.setCursor(QtGui.QCursor(QtCore.Qt.CursorShape.PointingHandCursor))
+ self.PB_mentor_all_interviews.setStyleSheet("QPushButton {\n"
+" font: 11pt \"MS Shell Dlg 2\";\n"
+" background-color: #008CBA;\n"
+" color: white;\n"
+" padding: 10px;\n"
+" font-size: 14px;\n"
+"font: 11pt \"MS Shell Dlg 2\";\n"
+" border: none;\n"
+" border-radius: 10px;\n"
+" margin: 5px;\n"
+"}\n"
+"QPushButton:hover {\n"
+" background-color: #007B9E;\n"
+"}\n"
+"QPushButton:pressed {\n"
+" background-color: #005f73;\n"
+"}\n"
+"")
+ icon2 = QtGui.QIcon()
+ icon2.addPixmap(QtGui.QPixmap("icons/profile.svg"), QtGui.QIcon.Mode.Normal, QtGui.QIcon.State.Off)
+ self.PB_mentor_all_interviews.setIcon(icon2)
+ self.PB_mentor_all_interviews.setIconSize(QtCore.QSize(50, 50))
+ self.PB_mentor_all_interviews.setObjectName("PB_mentor_all_interviews")
+ self.gridLayout.addWidget(self.PB_mentor_all_interviews, 0, 0, 1, 1)
+ self.comboBox_Mentor = QtWidgets.QComboBox(parent=self.frame_mentor_preference)
+ sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Preferred, QtWidgets.QSizePolicy.Policy.Fixed)
+ sizePolicy.setHorizontalStretch(0)
+ sizePolicy.setVerticalStretch(0)
+ sizePolicy.setHeightForWidth(self.comboBox_Mentor.sizePolicy().hasHeightForWidth())
+ self.comboBox_Mentor.setSizePolicy(sizePolicy)
+ self.comboBox_Mentor.setMinimumSize(QtCore.QSize(0, 59))
+ self.comboBox_Mentor.setCursor(QtGui.QCursor(QtCore.Qt.CursorShape.OpenHandCursor))
+ self.comboBox_Mentor.setStyleSheet("QComboBox {\n"
+" padding: 10px;\n"
+" font-size: 14px;\n"
+"font: 10pt \"MS Shell Dlg 2\";\n"
+" border: 2px solid #ccc;\n"
+" border-radius: 10px;\n"
+" margin-bottom: 10px;\n"
+"}\n"
+"QComboBox::drop-down {\n"
+" subcontrol-origin: padding;\n"
+" subcontrol-position: top right;\n"
+" width: 30px;\n"
+" border-left-width: 1px;\n"
+" border-left-color: #ccc;\n"
+" border-left-style: solid;\n"
+" border-top-right-radius: 10px;\n"
+" border-bottom-right-radius: 10px;\n"
+"}\n"
+"")
+ self.comboBox_Mentor.setObjectName("comboBox_Mentor")
+ self.comboBox_Mentor.addItem("")
+ self.comboBox_Mentor.addItem("")
+ self.comboBox_Mentor.addItem("")
+ self.comboBox_Mentor.addItem("")
+ self.comboBox_Mentor.addItem("")
+ self.comboBox_Mentor.addItem("")
+ self.comboBox_Mentor.addItem("")
+ self.comboBox_Mentor.addItem("")
+ self.comboBox_Mentor.addItem("")
+ self.gridLayout.addWidget(self.comboBox_Mentor, 2, 2, 1, 1)
+ self.lineEdit = QtWidgets.QLineEdit(parent=self.frame_mentor_preference)
+ self.lineEdit.setMinimumSize(QtCore.QSize(0, 60))
+ self.lineEdit.setStyleSheet("QLineEdit {\n"
+" padding: 10px;\n"
+" font-size: 16px;\n"
+" border: 2px solid #ccc;\n"
+" border-radius: 10px;\n"
+" margin-bottom: 10px;\n"
+"}\n"
+"\n"
+"QPushButton:hover {\n"
+" background-color: #007B9E;\n"
+"}\n"
+"QPushButton:pressed {\n"
+" background-color: #005f73;\n"
+"}\n"
+"")
+ self.lineEdit.setObjectName("lineEdit")
+ self.gridLayout.addWidget(self.lineEdit, 0, 2, 2, 1)
+ self.PB_mentor_exit = QtWidgets.QPushButton(parent=self.frame_mentor_preference)
+ sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Preferred, QtWidgets.QSizePolicy.Policy.Preferred)
+ sizePolicy.setHorizontalStretch(0)
+ sizePolicy.setVerticalStretch(0)
+ sizePolicy.setHeightForWidth(self.PB_mentor_exit.sizePolicy().hasHeightForWidth())
+ self.PB_mentor_exit.setSizePolicy(sizePolicy)
+ self.PB_mentor_exit.setCursor(QtGui.QCursor(QtCore.Qt.CursorShape.PointingHandCursor))
+ self.PB_mentor_exit.setStyleSheet("QPushButton {\n"
+" font: 11pt \"MS Shell Dlg 2\";\n"
+" background-color: #008CBA;\n"
+" color: white;\n"
+" padding: 10px;\n"
+" font-size: 14px;\n"
+"font: 11pt \"MS Shell Dlg 2\";\n"
+" border: none;\n"
+" border-radius: 10px;\n"
+" margin: 5px;\n"
+"}\n"
+"QPushButton:hover {\n"
+" background-color: #007B9E;\n"
+"}\n"
+"QPushButton:pressed {\n"
+" background-color: #005f73;\n"
+"}\n"
+"")
+ icon3 = QtGui.QIcon()
+ icon3.addPixmap(QtGui.QPixmap("icons/power.svg"), QtGui.QIcon.Mode.Normal, QtGui.QIcon.State.Off)
+ self.PB_mentor_exit.setIcon(icon3)
+ self.PB_mentor_exit.setIconSize(QtCore.QSize(50, 50))
+ self.PB_mentor_exit.setObjectName("PB_mentor_exit")
+ self.gridLayout.addWidget(self.PB_mentor_exit, 2, 1, 1, 1)
+ self.verticalLayout_2.addWidget(self.frame_mentor_preference)
+ self.tableWidget = QtWidgets.QTableWidget(parent=self.centralwidget)
+ sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Preferred, QtWidgets.QSizePolicy.Policy.Expanding)
+ sizePolicy.setHorizontalStretch(0)
+ sizePolicy.setVerticalStretch(0)
+ sizePolicy.setHeightForWidth(self.tableWidget.sizePolicy().hasHeightForWidth())
+ self.tableWidget.setSizePolicy(sizePolicy)
+ self.tableWidget.setSizeIncrement(QtCore.QSize(883, 450))
+ self.tableWidget.setBaseSize(QtCore.QSize(883, 450))
+ font = QtGui.QFont()
+ font.setFamily("MS Shell Dlg 2")
+ font.setPointSize(11)
+ font.setBold(False)
+ font.setItalic(False)
+ self.tableWidget.setFont(font)
+ self.tableWidget.setStyleSheet("QTableWidget {\n"
+" \n"
+" font-size: 14px;\n"
+"font: 11pt \"MS Shell Dlg 2\";\n"
+" background-color: #f9f9f9;\n"
+" alternate-background-color: #e0e0e0;\n"
+" gridline-color: #ccc;\n"
+" border-radius: 10px;\n"
+"}\n"
+"QHeaderView::section {\n"
+" background-color: #008CBA;\n"
+" color: white;\n"
+" padding: 5px;\n"
+" font-size: 14px;\n"
+"font: 11pt \"MS Shell Dlg 2\";\n"
+"}\n"
+"")
+ self.tableWidget.setColumnCount(7)
+ self.tableWidget.setObjectName("tableWidget")
+ self.tableWidget.setRowCount(0)
+ item = QtWidgets.QTableWidgetItem()
+ font = QtGui.QFont()
+ font.setPointSize(11)
+ item.setFont(font)
+ self.tableWidget.setHorizontalHeaderItem(0, item)
+ item = QtWidgets.QTableWidgetItem()
+ font = QtGui.QFont()
+ font.setPointSize(11)
+ item.setFont(font)
+ self.tableWidget.setHorizontalHeaderItem(1, item)
+ item = QtWidgets.QTableWidgetItem()
+ font = QtGui.QFont()
+ font.setPointSize(11)
+ item.setFont(font)
+ self.tableWidget.setHorizontalHeaderItem(2, item)
+ item = QtWidgets.QTableWidgetItem()
+ font = QtGui.QFont()
+ font.setPointSize(11)
+ item.setFont(font)
+ self.tableWidget.setHorizontalHeaderItem(3, item)
+ item = QtWidgets.QTableWidgetItem()
+ font = QtGui.QFont()
+ font.setPointSize(11)
+ item.setFont(font)
+ self.tableWidget.setHorizontalHeaderItem(4, item)
+ item = QtWidgets.QTableWidgetItem()
+ font = QtGui.QFont()
+ font.setPointSize(11)
+ item.setFont(font)
+ self.tableWidget.setHorizontalHeaderItem(5, item)
+ item = QtWidgets.QTableWidgetItem()
+ font = QtGui.QFont()
+ font.setPointSize(11)
+ item.setFont(font)
+ self.tableWidget.setHorizontalHeaderItem(6, item)
+ self.tableWidget.horizontalHeader().setDefaultSectionSize(154)
+ self.tableWidget.horizontalHeader().setMinimumSectionSize(40)
+ self.tableWidget.verticalHeader().setDefaultSectionSize(38)
+ self.tableWidget.verticalHeader().setMinimumSectionSize(38)
+ self.verticalLayout_2.addWidget(self.tableWidget)
+ Mentor.setCentralWidget(self.centralwidget)
+ self.statusbar = QtWidgets.QStatusBar(parent=Mentor)
+ self.statusbar.setObjectName("statusbar")
+ Mentor.setStatusBar(self.statusbar)
+
+ self.retranslateUi(Mentor)
+ QtCore.QMetaObject.connectSlotsByName(Mentor)
+
+ def retranslateUi(self, Mentor):
+ _translate = QtCore.QCoreApplication.translate
+ Mentor.setWindowTitle(_translate("Mentor", "MENTOR"))
+ self.label.setText(_translate("Mentor", "MENTOR"))
+ self.PB_mentor_preferences.setText(_translate("Mentor", "Main Menu"))
+ self.PB_Mentor_Find.setText(_translate("Mentor", " Find "))
+ self.PB_mentor_all_interviews.setText(_translate("Mentor", "All Interviews"))
+ self.comboBox_Mentor.setItemText(0, _translate("Mentor", "All"))
+ self.comboBox_Mentor.setItemText(1, _translate("Mentor", "VIT projesinin tamamına katılması uygun olur"))
+ self.comboBox_Mentor.setItemText(2, _translate("Mentor", "VIT projesi ilk IT eğitimi alıp ITPH a yönlendirilmesi uygun olur"))
+ self.comboBox_Mentor.setItemText(3, _translate("Mentor", "VIT projesi ingilizce eğitimi alıp ITPH a yönlendirilmesi uygun olur"))
+ self.comboBox_Mentor.setItemText(4, _translate("Mentor", "VIT projesi kapsamında direkt ITPH a yönlendirilmesi uygun olur."))
+ self.comboBox_Mentor.setItemText(5, _translate("Mentor", "Direkt bireysel koçluk ile işe yönlendirilmesi uygun olur"))
+ self.comboBox_Mentor.setItemText(6, _translate("Mentor", "Bir sonraki VIT projesine katilmasi daha uygun olur"))
+ self.comboBox_Mentor.setItemText(7, _translate("Mentor", "Başka bir sektöre yönlendirilmeli"))
+ self.comboBox_Mentor.setItemText(8, _translate("Mentor", "Diger"))
+ self.PB_mentor_exit.setText(_translate("Mentor", "Exit "))
+ item = self.tableWidget.horizontalHeaderItem(0)
+ item.setText(_translate("Mentor", "Name"))
+ item = self.tableWidget.horizontalHeaderItem(1)
+ item.setText(_translate("Mentor", "Surname"))
+ item = self.tableWidget.horizontalHeaderItem(2)
+ item.setText(_translate("Mentor", "Interview Date"))
+ item = self.tableWidget.horizontalHeaderItem(3)
+ item.setText(_translate("Mentor", "Mentor"))
+ item = self.tableWidget.horizontalHeaderItem(4)
+ item.setText(_translate("Mentor", "IT Knowledge"))
+ item = self.tableWidget.horizontalHeaderItem(5)
+ item.setText(_translate("Mentor", "Intensity"))
+ item = self.tableWidget.horizontalHeaderItem(6)
+ item.setText(_translate("Mentor", "Comments"))
+
+
+if __name__ == "__main__":
+ import sys
+ app = QtWidgets.QApplication(sys.argv)
+ Mentor = QtWidgets.QMainWindow()
+ ui = Ui_Mentor()
+ ui.setupUi(Mentor)
+ Mentor.show()
+ sys.exit(app.exec())
diff --git a/Mentor.ui b/Mentor.ui
new file mode 100644
index 0000000..2ac5afe
--- /dev/null
+++ b/Mentor.ui
@@ -0,0 +1,567 @@
+
+
+ Mentor
+
+
+ Qt::WindowModality::NonModal
+
+
+ true
+
+
+
+ 0
+ 0
+ 1064
+ 666
+
+
+
+
+ 0
+ 0
+
+
+
+
+ 0
+ 0
+
+
+
+
+ 0
+ 0
+
+
+
+
+ 1228
+ 805
+
+
+
+
+ MS Shell Dlg 2
+ 11
+ false
+ false
+
+
+
+ MENTOR
+
+
+ Qt::LayoutDirection::LeftToRight
+
+
+ QWidget {
+ font: 11pt "MS Shell Dlg 2";
+ background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1,
+ stop:0 rgba(173, 216, 230, 255),
+ stop:1 rgba(255, 255, 255, 255));
+};
+
+
+
+
+
+ true
+
+
+ -
+
+
+
+ 0
+ 95
+
+
+
+ QLabel{
+
+ padding: 10px;
+ font-size: 16px;
+font: 11pt "MS Shell Dlg 2";
+ border: 2px solid #ccc;
+ border-radius: 10px;
+ margin-bottom: 10px;
+}
+
+QLabel:hover {
+ background-color: #007B9E;
+}
+QLabel:pressed {
+ background-color: #005f73;
+}border-radius: 10px;
+background-color: #008CBA;
+
+
+ MENTOR
+
+
+ Qt::AlignmentFlag::AlignCenter
+
+
+
+ -
+
+
+ QFrame::Shape::StyledPanel
+
+
+ QFrame::Shadow::Raised
+
+
+
-
+
+
+
+ 0
+ 0
+
+
+
+ PointingHandCursor
+
+
+ QPushButton {
+ font: 11pt "MS Shell Dlg 2";
+ background-color: #008CBA;
+ color: white;
+ padding: 10px;
+ font-size: 14px;
+font: 11pt "MS Shell Dlg 2";
+ border: none;
+ border-radius: 10px;
+ margin: 5px;
+}
+QPushButton:hover {
+ background-color: #007B9E;
+}
+QPushButton:pressed {
+ background-color: #005f73;
+}
+
+
+
+ Main Menu
+
+
+
+ icons/news.svgicons/news.svg
+
+
+
+ 50
+ 50
+
+
+
+
+ -
+
+
+
+ 0
+ 0
+
+
+
+
+ 140
+ 0
+
+
+
+ PointingHandCursor
+
+
+ QPushButton {
+ font: 11pt "MS Shell Dlg 2";
+ background-color: #008CBA;
+ color: white;
+ padding: 10px;
+ font-size: 14px;
+font: 11pt "MS Shell Dlg 2";
+ border: none;
+ border-radius: 10px;
+ margin: 5px;
+}
+QPushButton:hover {
+ background-color: #007B9E;
+}
+QPushButton:pressed {
+ background-color: #005f73;
+}
+
+
+
+ Find
+
+
+
+ icons/search-user.svgicons/search-user.svg
+
+
+
+ 50
+ 50
+
+
+
+
+ -
+
+
+
+ 0
+ 0
+
+
+
+
+ 225
+ 0
+
+
+
+ PointingHandCursor
+
+
+ QPushButton {
+ font: 11pt "MS Shell Dlg 2";
+ background-color: #008CBA;
+ color: white;
+ padding: 10px;
+ font-size: 14px;
+font: 11pt "MS Shell Dlg 2";
+ border: none;
+ border-radius: 10px;
+ margin: 5px;
+}
+QPushButton:hover {
+ background-color: #007B9E;
+}
+QPushButton:pressed {
+ background-color: #005f73;
+}
+
+
+
+ All Interviews
+
+
+
+ icons/profile.svgicons/profile.svg
+
+
+
+ 50
+ 50
+
+
+
+
+ -
+
+
+
+ 0
+ 0
+
+
+
+
+ 0
+ 59
+
+
+
+ OpenHandCursor
+
+
+ QComboBox {
+ padding: 10px;
+ font-size: 14px;
+font: 10pt "MS Shell Dlg 2";
+ border: 2px solid #ccc;
+ border-radius: 10px;
+ margin-bottom: 10px;
+}
+QComboBox::drop-down {
+ subcontrol-origin: padding;
+ subcontrol-position: top right;
+ width: 30px;
+ border-left-width: 1px;
+ border-left-color: #ccc;
+ border-left-style: solid;
+ border-top-right-radius: 10px;
+ border-bottom-right-radius: 10px;
+}
+
+
+
-
+
+ All
+
+
+ -
+
+ VIT projesinin tamamına katılması uygun olur
+
+
+ -
+
+ VIT projesi ilk IT eğitimi alıp ITPH a yönlendirilmesi uygun olur
+
+
+ -
+
+ VIT projesi ingilizce eğitimi alıp ITPH a yönlendirilmesi uygun olur
+
+
+ -
+
+ VIT projesi kapsamında direkt ITPH a yönlendirilmesi uygun olur.
+
+
+ -
+
+ Direkt bireysel koçluk ile işe yönlendirilmesi uygun olur
+
+
+ -
+
+ Bir sonraki VIT projesine katilmasi daha uygun olur
+
+
+ -
+
+ Başka bir sektöre yönlendirilmeli
+
+
+ -
+
+ Diger
+
+
+
+
+ -
+
+
+
+ 0
+ 60
+
+
+
+ QLineEdit {
+ padding: 10px;
+ font-size: 16px;
+ border: 2px solid #ccc;
+ border-radius: 10px;
+ margin-bottom: 10px;
+}
+
+QPushButton:hover {
+ background-color: #007B9E;
+}
+QPushButton:pressed {
+ background-color: #005f73;
+}
+
+
+
+
+ -
+
+
+
+ 0
+ 0
+
+
+
+ PointingHandCursor
+
+
+ QPushButton {
+ font: 11pt "MS Shell Dlg 2";
+ background-color: #008CBA;
+ color: white;
+ padding: 10px;
+ font-size: 14px;
+font: 11pt "MS Shell Dlg 2";
+ border: none;
+ border-radius: 10px;
+ margin: 5px;
+}
+QPushButton:hover {
+ background-color: #007B9E;
+}
+QPushButton:pressed {
+ background-color: #005f73;
+}
+
+
+
+ Exit
+
+
+
+ icons/power.svgicons/power.svg
+
+
+
+ 50
+ 50
+
+
+
+
+
+
+
+ -
+
+
+
+ 0
+ 0
+
+
+
+
+ 883
+ 450
+
+
+
+
+ 883
+ 450
+
+
+
+
+ MS Shell Dlg 2
+ 11
+ false
+ false
+
+
+
+ QTableWidget {
+
+ font-size: 14px;
+font: 11pt "MS Shell Dlg 2";
+ background-color: #f9f9f9;
+ alternate-background-color: #e0e0e0;
+ gridline-color: #ccc;
+ border-radius: 10px;
+}
+QHeaderView::section {
+ background-color: #008CBA;
+ color: white;
+ padding: 5px;
+ font-size: 14px;
+font: 11pt "MS Shell Dlg 2";
+}
+
+
+
+ 7
+
+
+ 40
+
+
+ 154
+
+
+ 38
+
+
+ 38
+
+
+
+ Name
+
+
+
+ 11
+
+
+
+
+
+ Surname
+
+
+
+ 11
+
+
+
+
+
+ Interview Date
+
+
+
+ 11
+
+
+
+
+
+ Mentor
+
+
+
+ 11
+
+
+
+
+
+ IT Knowledge
+
+
+
+ 11
+
+
+
+
+
+ Intensity
+
+
+
+ 11
+
+
+
+
+
+ Comments
+
+
+
+ 11
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/Mentor_ui.py b/Mentor_ui.py
new file mode 100644
index 0000000..bd83f0b
--- /dev/null
+++ b/Mentor_ui.py
@@ -0,0 +1,368 @@
+# Form implementation generated from reading ui file 'c:\Users\kahra\OneDrive\Masaüstü\PROGRAM\PYTHON\PROJECT\PYQT6_PROJECTS\TAMAMLANANLAR\PROJE\VIT_Project\Mentor.ui'
+#
+# Created by: PyQt6 UI code generator 6.8.0
+#
+# WARNING: Any manual changes made to this file will be lost when pyuic6 is
+# run again. Do not edit this file unless you know what you are doing.
+
+
+from PyQt6 import QtCore, QtGui, QtWidgets
+
+
+class Ui_Mentor(object):
+ def setupUi(self, Mentor):
+ Mentor.setObjectName("Mentor")
+ Mentor.setWindowModality(QtCore.Qt.WindowModality.NonModal)
+ Mentor.setEnabled(True)
+ Mentor.resize(1064, 666)
+ sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Preferred, QtWidgets.QSizePolicy.Policy.Preferred)
+ sizePolicy.setHorizontalStretch(0)
+ sizePolicy.setVerticalStretch(0)
+ sizePolicy.setHeightForWidth(Mentor.sizePolicy().hasHeightForWidth())
+ Mentor.setSizePolicy(sizePolicy)
+ Mentor.setMinimumSize(QtCore.QSize(0, 0))
+ Mentor.setSizeIncrement(QtCore.QSize(0, 0))
+ Mentor.setBaseSize(QtCore.QSize(1228, 805))
+ font = QtGui.QFont()
+ font.setFamily("MS Shell Dlg 2")
+ font.setPointSize(11)
+ font.setBold(False)
+ font.setItalic(False)
+ Mentor.setFont(font)
+ Mentor.setLayoutDirection(QtCore.Qt.LayoutDirection.LeftToRight)
+ Mentor.setStyleSheet("QWidget {\n"
+" font: 11pt \"MS Shell Dlg 2\";\n"
+" background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, \n"
+" stop:0 rgba(173, 216, 230, 255), \n"
+" stop:1 rgba(255, 255, 255, 255));\n"
+"};\n"
+"\n"
+"")
+ self.centralwidget = QtWidgets.QWidget(parent=Mentor)
+ self.centralwidget.setEnabled(True)
+ self.centralwidget.setObjectName("centralwidget")
+ self.verticalLayout_2 = QtWidgets.QVBoxLayout(self.centralwidget)
+ self.verticalLayout_2.setObjectName("verticalLayout_2")
+ self.label = QtWidgets.QLabel(parent=self.centralwidget)
+ self.label.setMinimumSize(QtCore.QSize(0, 95))
+ self.label.setStyleSheet("QLabel{\n"
+" \n"
+" padding: 10px;\n"
+" font-size: 16px;\n"
+"font: 11pt \"MS Shell Dlg 2\";\n"
+" border: 2px solid #ccc;\n"
+" border-radius: 10px;\n"
+" margin-bottom: 10px;\n"
+"}\n"
+"\n"
+"QLabel:hover {\n"
+" background-color: #007B9E;\n"
+"}\n"
+"QLabel:pressed {\n"
+" background-color: #005f73;\n"
+"}border-radius: 10px;\n"
+"background-color: #008CBA;")
+ self.label.setAlignment(QtCore.Qt.AlignmentFlag.AlignCenter)
+ self.label.setObjectName("label")
+ self.verticalLayout_2.addWidget(self.label)
+ self.frame_mentor_preference = QtWidgets.QFrame(parent=self.centralwidget)
+ self.frame_mentor_preference.setFrameShape(QtWidgets.QFrame.Shape.StyledPanel)
+ self.frame_mentor_preference.setFrameShadow(QtWidgets.QFrame.Shadow.Raised)
+ self.frame_mentor_preference.setObjectName("frame_mentor_preference")
+ self.gridLayout = QtWidgets.QGridLayout(self.frame_mentor_preference)
+ self.gridLayout.setObjectName("gridLayout")
+ self.PB_mentor_preferences = QtWidgets.QPushButton(parent=self.frame_mentor_preference)
+ sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Preferred, QtWidgets.QSizePolicy.Policy.Preferred)
+ sizePolicy.setHorizontalStretch(0)
+ sizePolicy.setVerticalStretch(0)
+ sizePolicy.setHeightForWidth(self.PB_mentor_preferences.sizePolicy().hasHeightForWidth())
+ self.PB_mentor_preferences.setSizePolicy(sizePolicy)
+ self.PB_mentor_preferences.setCursor(QtGui.QCursor(QtCore.Qt.CursorShape.PointingHandCursor))
+ self.PB_mentor_preferences.setStyleSheet("QPushButton {\n"
+" font: 11pt \"MS Shell Dlg 2\";\n"
+" background-color: #008CBA;\n"
+" color: white;\n"
+" padding: 10px;\n"
+" font-size: 14px;\n"
+"font: 11pt \"MS Shell Dlg 2\";\n"
+" border: none;\n"
+" border-radius: 10px;\n"
+" margin: 5px;\n"
+"}\n"
+"QPushButton:hover {\n"
+" background-color: #007B9E;\n"
+"}\n"
+"QPushButton:pressed {\n"
+" background-color: #005f73;\n"
+"}\n"
+"")
+ icon = QtGui.QIcon()
+ icon.addPixmap(QtGui.QPixmap("c:\\Users\\kahra\\OneDrive\\Masaüstü\\PROGRAM\\PYTHON\\PROJECT\\PYQT6_PROJECTS\\TAMAMLANANLAR\\PROJE\\VIT_Project\\icons/news.svg"), QtGui.QIcon.Mode.Normal, QtGui.QIcon.State.Off)
+ self.PB_mentor_preferences.setIcon(icon)
+ self.PB_mentor_preferences.setIconSize(QtCore.QSize(50, 50))
+ self.PB_mentor_preferences.setObjectName("PB_mentor_preferences")
+ self.gridLayout.addWidget(self.PB_mentor_preferences, 2, 0, 1, 1)
+ self.PB_Mentor_Find = QtWidgets.QPushButton(parent=self.frame_mentor_preference)
+ sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Preferred, QtWidgets.QSizePolicy.Policy.Preferred)
+ sizePolicy.setHorizontalStretch(0)
+ sizePolicy.setVerticalStretch(0)
+ sizePolicy.setHeightForWidth(self.PB_Mentor_Find.sizePolicy().hasHeightForWidth())
+ self.PB_Mentor_Find.setSizePolicy(sizePolicy)
+ self.PB_Mentor_Find.setMinimumSize(QtCore.QSize(140, 0))
+ self.PB_Mentor_Find.setCursor(QtGui.QCursor(QtCore.Qt.CursorShape.PointingHandCursor))
+ self.PB_Mentor_Find.setStyleSheet("QPushButton {\n"
+" font: 11pt \"MS Shell Dlg 2\";\n"
+" background-color: #008CBA;\n"
+" color: white;\n"
+" padding: 10px;\n"
+" font-size: 14px;\n"
+"font: 11pt \"MS Shell Dlg 2\";\n"
+" border: none;\n"
+" border-radius: 10px;\n"
+" margin: 5px;\n"
+"}\n"
+"QPushButton:hover {\n"
+" background-color: #007B9E;\n"
+"}\n"
+"QPushButton:pressed {\n"
+" background-color: #005f73;\n"
+"}\n"
+"")
+ icon1 = QtGui.QIcon()
+ icon1.addPixmap(QtGui.QPixmap("c:\\Users\\kahra\\OneDrive\\Masaüstü\\PROGRAM\\PYTHON\\PROJECT\\PYQT6_PROJECTS\\TAMAMLANANLAR\\PROJE\\VIT_Project\\icons/search-user.svg"), QtGui.QIcon.Mode.Normal, QtGui.QIcon.State.Off)
+ self.PB_Mentor_Find.setIcon(icon1)
+ self.PB_Mentor_Find.setIconSize(QtCore.QSize(50, 50))
+ self.PB_Mentor_Find.setObjectName("PB_Mentor_Find")
+ self.gridLayout.addWidget(self.PB_Mentor_Find, 0, 1, 1, 1)
+ self.PB_mentor_all_interviews = QtWidgets.QPushButton(parent=self.frame_mentor_preference)
+ sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Preferred, QtWidgets.QSizePolicy.Policy.Preferred)
+ sizePolicy.setHorizontalStretch(0)
+ sizePolicy.setVerticalStretch(0)
+ sizePolicy.setHeightForWidth(self.PB_mentor_all_interviews.sizePolicy().hasHeightForWidth())
+ self.PB_mentor_all_interviews.setSizePolicy(sizePolicy)
+ self.PB_mentor_all_interviews.setMinimumSize(QtCore.QSize(225, 0))
+ self.PB_mentor_all_interviews.setCursor(QtGui.QCursor(QtCore.Qt.CursorShape.PointingHandCursor))
+ self.PB_mentor_all_interviews.setStyleSheet("QPushButton {\n"
+" font: 11pt \"MS Shell Dlg 2\";\n"
+" background-color: #008CBA;\n"
+" color: white;\n"
+" padding: 10px;\n"
+" font-size: 14px;\n"
+"font: 11pt \"MS Shell Dlg 2\";\n"
+" border: none;\n"
+" border-radius: 10px;\n"
+" margin: 5px;\n"
+"}\n"
+"QPushButton:hover {\n"
+" background-color: #007B9E;\n"
+"}\n"
+"QPushButton:pressed {\n"
+" background-color: #005f73;\n"
+"}\n"
+"")
+ icon2 = QtGui.QIcon()
+ icon2.addPixmap(QtGui.QPixmap("c:\\Users\\kahra\\OneDrive\\Masaüstü\\PROGRAM\\PYTHON\\PROJECT\\PYQT6_PROJECTS\\TAMAMLANANLAR\\PROJE\\VIT_Project\\icons/profile.svg"), QtGui.QIcon.Mode.Normal, QtGui.QIcon.State.Off)
+ self.PB_mentor_all_interviews.setIcon(icon2)
+ self.PB_mentor_all_interviews.setIconSize(QtCore.QSize(50, 50))
+ self.PB_mentor_all_interviews.setObjectName("PB_mentor_all_interviews")
+ self.gridLayout.addWidget(self.PB_mentor_all_interviews, 0, 0, 1, 1)
+ self.comboBox_Mentor = QtWidgets.QComboBox(parent=self.frame_mentor_preference)
+ sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Preferred, QtWidgets.QSizePolicy.Policy.Fixed)
+ sizePolicy.setHorizontalStretch(0)
+ sizePolicy.setVerticalStretch(0)
+ sizePolicy.setHeightForWidth(self.comboBox_Mentor.sizePolicy().hasHeightForWidth())
+ self.comboBox_Mentor.setSizePolicy(sizePolicy)
+ self.comboBox_Mentor.setMinimumSize(QtCore.QSize(0, 59))
+ self.comboBox_Mentor.setCursor(QtGui.QCursor(QtCore.Qt.CursorShape.OpenHandCursor))
+ self.comboBox_Mentor.setStyleSheet("QComboBox {\n"
+" padding: 10px;\n"
+" font-size: 14px;\n"
+"font: 10pt \"MS Shell Dlg 2\";\n"
+" border: 2px solid #ccc;\n"
+" border-radius: 10px;\n"
+" margin-bottom: 10px;\n"
+"}\n"
+"QComboBox::drop-down {\n"
+" subcontrol-origin: padding;\n"
+" subcontrol-position: top right;\n"
+" width: 30px;\n"
+" border-left-width: 1px;\n"
+" border-left-color: #ccc;\n"
+" border-left-style: solid;\n"
+" border-top-right-radius: 10px;\n"
+" border-bottom-right-radius: 10px;\n"
+"}\n"
+"")
+ self.comboBox_Mentor.setObjectName("comboBox_Mentor")
+ self.comboBox_Mentor.addItem("")
+ self.comboBox_Mentor.addItem("")
+ self.comboBox_Mentor.addItem("")
+ self.comboBox_Mentor.addItem("")
+ self.comboBox_Mentor.addItem("")
+ self.comboBox_Mentor.addItem("")
+ self.comboBox_Mentor.addItem("")
+ self.comboBox_Mentor.addItem("")
+ self.gridLayout.addWidget(self.comboBox_Mentor, 2, 2, 1, 1)
+ self.lineEdit = QtWidgets.QLineEdit(parent=self.frame_mentor_preference)
+ self.lineEdit.setMinimumSize(QtCore.QSize(0, 60))
+ self.lineEdit.setStyleSheet("QLineEdit {\n"
+" padding: 10px;\n"
+" font-size: 16px;\n"
+" border: 2px solid #ccc;\n"
+" border-radius: 10px;\n"
+" margin-bottom: 10px;\n"
+"}\n"
+"\n"
+"QPushButton:hover {\n"
+" background-color: #007B9E;\n"
+"}\n"
+"QPushButton:pressed {\n"
+" background-color: #005f73;\n"
+"}\n"
+"")
+ self.lineEdit.setObjectName("lineEdit")
+ self.gridLayout.addWidget(self.lineEdit, 0, 2, 2, 1)
+ self.PB_mentor_exit = QtWidgets.QPushButton(parent=self.frame_mentor_preference)
+ sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Preferred, QtWidgets.QSizePolicy.Policy.Preferred)
+ sizePolicy.setHorizontalStretch(0)
+ sizePolicy.setVerticalStretch(0)
+ sizePolicy.setHeightForWidth(self.PB_mentor_exit.sizePolicy().hasHeightForWidth())
+ self.PB_mentor_exit.setSizePolicy(sizePolicy)
+ self.PB_mentor_exit.setCursor(QtGui.QCursor(QtCore.Qt.CursorShape.PointingHandCursor))
+ self.PB_mentor_exit.setStyleSheet("QPushButton {\n"
+" font: 11pt \"MS Shell Dlg 2\";\n"
+" background-color: #008CBA;\n"
+" color: white;\n"
+" padding: 10px;\n"
+" font-size: 14px;\n"
+"font: 11pt \"MS Shell Dlg 2\";\n"
+" border: none;\n"
+" border-radius: 10px;\n"
+" margin: 5px;\n"
+"}\n"
+"QPushButton:hover {\n"
+" background-color: #007B9E;\n"
+"}\n"
+"QPushButton:pressed {\n"
+" background-color: #005f73;\n"
+"}\n"
+"")
+ icon3 = QtGui.QIcon()
+ icon3.addPixmap(QtGui.QPixmap("c:\\Users\\kahra\\OneDrive\\Masaüstü\\PROGRAM\\PYTHON\\PROJECT\\PYQT6_PROJECTS\\TAMAMLANANLAR\\PROJE\\VIT_Project\\icons/power.svg"), QtGui.QIcon.Mode.Normal, QtGui.QIcon.State.Off)
+ self.PB_mentor_exit.setIcon(icon3)
+ self.PB_mentor_exit.setIconSize(QtCore.QSize(50, 50))
+ self.PB_mentor_exit.setObjectName("PB_mentor_exit")
+ self.gridLayout.addWidget(self.PB_mentor_exit, 2, 1, 1, 1)
+ self.verticalLayout_2.addWidget(self.frame_mentor_preference)
+ self.tableWidget = QtWidgets.QTableWidget(parent=self.centralwidget)
+ sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Preferred, QtWidgets.QSizePolicy.Policy.Expanding)
+ sizePolicy.setHorizontalStretch(0)
+ sizePolicy.setVerticalStretch(0)
+ sizePolicy.setHeightForWidth(self.tableWidget.sizePolicy().hasHeightForWidth())
+ self.tableWidget.setSizePolicy(sizePolicy)
+ self.tableWidget.setSizeIncrement(QtCore.QSize(883, 450))
+ self.tableWidget.setBaseSize(QtCore.QSize(883, 450))
+ font = QtGui.QFont()
+ font.setFamily("MS Shell Dlg 2")
+ font.setPointSize(11)
+ font.setBold(False)
+ font.setItalic(False)
+ self.tableWidget.setFont(font)
+ self.tableWidget.setStyleSheet("QTableWidget {\n"
+" \n"
+" font-size: 14px;\n"
+"font: 11pt \"MS Shell Dlg 2\";\n"
+" background-color: #f9f9f9;\n"
+" alternate-background-color: #e0e0e0;\n"
+" gridline-color: #ccc;\n"
+" border-radius: 10px;\n"
+"}\n"
+"QHeaderView::section {\n"
+" background-color: #008CBA;\n"
+" color: white;\n"
+" padding: 5px;\n"
+" font-size: 14px;\n"
+"font: 11pt \"MS Shell Dlg 2\";\n"
+"}\n"
+"")
+ self.tableWidget.setColumnCount(7)
+ self.tableWidget.setObjectName("tableWidget")
+ self.tableWidget.setRowCount(0)
+ item = QtWidgets.QTableWidgetItem()
+ font = QtGui.QFont()
+ font.setPointSize(11)
+ item.setFont(font)
+ self.tableWidget.setHorizontalHeaderItem(0, item)
+ item = QtWidgets.QTableWidgetItem()
+ font = QtGui.QFont()
+ font.setPointSize(11)
+ item.setFont(font)
+ self.tableWidget.setHorizontalHeaderItem(1, item)
+ item = QtWidgets.QTableWidgetItem()
+ font = QtGui.QFont()
+ font.setPointSize(11)
+ item.setFont(font)
+ self.tableWidget.setHorizontalHeaderItem(2, item)
+ item = QtWidgets.QTableWidgetItem()
+ font = QtGui.QFont()
+ font.setPointSize(11)
+ item.setFont(font)
+ self.tableWidget.setHorizontalHeaderItem(3, item)
+ item = QtWidgets.QTableWidgetItem()
+ font = QtGui.QFont()
+ font.setPointSize(11)
+ item.setFont(font)
+ self.tableWidget.setHorizontalHeaderItem(4, item)
+ item = QtWidgets.QTableWidgetItem()
+ font = QtGui.QFont()
+ font.setPointSize(11)
+ item.setFont(font)
+ self.tableWidget.setHorizontalHeaderItem(5, item)
+ item = QtWidgets.QTableWidgetItem()
+ font = QtGui.QFont()
+ font.setPointSize(11)
+ item.setFont(font)
+ self.tableWidget.setHorizontalHeaderItem(6, item)
+ self.tableWidget.horizontalHeader().setDefaultSectionSize(154)
+ self.tableWidget.horizontalHeader().setMinimumSectionSize(40)
+ self.tableWidget.verticalHeader().setDefaultSectionSize(38)
+ self.tableWidget.verticalHeader().setMinimumSectionSize(38)
+ self.verticalLayout_2.addWidget(self.tableWidget)
+ Mentor.setCentralWidget(self.centralwidget)
+ self.statusbar = QtWidgets.QStatusBar(parent=Mentor)
+ self.statusbar.setObjectName("statusbar")
+ Mentor.setStatusBar(self.statusbar)
+
+ self.retranslateUi(Mentor)
+ QtCore.QMetaObject.connectSlotsByName(Mentor)
+
+ def retranslateUi(self, Mentor):
+ _translate = QtCore.QCoreApplication.translate
+ Mentor.setWindowTitle(_translate("Mentor", "MENTOR"))
+ self.label.setText(_translate("Mentor", "MENTOR"))
+ self.PB_mentor_preferences.setText(_translate("Mentor", "Main Menu"))
+ self.PB_Mentor_Find.setText(_translate("Mentor", " Find "))
+ self.PB_mentor_all_interviews.setText(_translate("Mentor", "All Interviews"))
+ self.comboBox_Mentor.setItemText(0, _translate("Mentor", "It would be appropriate for him to participate in the entire VIT project."))
+ self.comboBox_Mentor.setItemText(1, _translate("Mentor", "It would be appropriate for him to receive initial IT training in the VIT project and be directed to ITPH."))
+ self.comboBox_Mentor.setItemText(2, _translate("Mentor", "It would be appropriate for him to receive English training in the VIT project and be directed to ITPH."))
+ self.comboBox_Mentor.setItemText(3, _translate("Mentor", "It would be appropriate for him to be directed directly to ITPH within the scope of the VIT project."))
+ self.comboBox_Mentor.setItemText(4, _translate("Mentor", "It would be appropriate for him to be directed to work with direct individual coaching."))
+ self.comboBox_Mentor.setItemText(5, _translate("Mentor", "It would be more appropriate for him to participate in the next VIT project."))
+ self.comboBox_Mentor.setItemText(6, _translate("Mentor", "He should be directed to another sector."))
+ self.comboBox_Mentor.setItemText(7, _translate("Mentor", "Others."))
+ self.PB_mentor_exit.setText(_translate("Mentor", "Exit "))
+ item = self.tableWidget.horizontalHeaderItem(0)
+ item.setText(_translate("Mentor", "Name"))
+ item = self.tableWidget.horizontalHeaderItem(1)
+ item.setText(_translate("Mentor", "Surname"))
+ item = self.tableWidget.horizontalHeaderItem(2)
+ item.setText(_translate("Mentor", "Interview Date"))
+ item = self.tableWidget.horizontalHeaderItem(3)
+ item.setText(_translate("Mentor", "Mentor"))
+ item = self.tableWidget.horizontalHeaderItem(4)
+ item.setText(_translate("Mentor", "IT Knowledge"))
+ item = self.tableWidget.horizontalHeaderItem(5)
+ item.setText(_translate("Mentor", "Intensity"))
+ item = self.tableWidget.horizontalHeaderItem(6)
+ item.setText(_translate("Mentor", "Comments"))
diff --git a/README.md b/README.md
index 52923d4..090a2cb 100644
--- a/README.md
+++ b/README.md
@@ -1,32 +1,12 @@
-# Database_Modul_Week_10
-
-## TASK_1
-
-- Additional Source: https://www.youtube.com/watch?v=miEFm1CyjfM&t=314s (in English)
-* Before doing your Github homework, let's create the following tables in PostgreSQL using Python codes. Let's write the codes to run the queries.
-
-
-
-
-
-
-
-1. Find the employees who get paid more than Rodney Weaver.
-2. Find the average, min and max salaries
-3. Find the employees whose salary is more than 8700. Our query should return first name, last name, and salary info of the employees.
-4. Find the employees (first name, last name from employees table) who work under the Operations department (departments table). Our query should return first name and last name info.
-5. Find the employees (first name, last name from employees table) who work under the Technology department (departments table). Our query should return first name and last name info.
-6. Find the average salary of female employees.
-7. Find the average salaries of each department.
-8. Find the oldest and newest employees.
-9. Find the hiring date and department of the highest paid employee
-10. Find the hiring date and department of the lowest paid employee
-
-## TASK_2
-
-You are expected to complete the mini project, which has a detailed explanation in the link below.
-
-https://werhere-it-academy.gitbook.io/werhere-it-academy-handbook/database-modulu/3.hafta/database-project-vit4
-
-
-### GoodLuck :)
+# VIT_Project
+VIT CRM V.2 Project
+
+1. First, create a database.
+
+2. Make database settings in the dbconnection.py file.
+
+3. Extract the files required to connect to Google Drive in the cloud_connect_file.zip file to the program directory.
+
+4. Transfer the data by running the functions under the dbconnection.py file in order.
+
+5. If you perform these operations without any problems, the program will run when you run the main.py file.
\ No newline at end of file
diff --git a/cloud_connect_file.zip b/cloud_connect_file.zip
new file mode 100644
index 0000000000000000000000000000000000000000..872fa25353b2552a732254f894f542b540301f03
GIT binary patch
literal 2981
zcmai02{aUH8=grRq--(Q+93NHlBmc~3`S)wjD49JvSi7VUJ_RB6e9m&f2eMN^ZL_zjp?
z)ZW};gwS(0Vd%0Gj}^;2VQ-yT>-$KFb9+NG(x9h)?<#0wjSw5e*q%R=o}eZ*%8%OQyC|&^=!^zQ&
z0m!01Cgl*k?HZ!b$YIb&AVusU_2F{JYuTj|N>`}O005&WGP7!x|CksayU-HKnP-5S
zPwGG+6eDptSbJ&NAiJijn_|j7w*|&IsndM^<^zfi0e$PE-MXMc-y^sHSgwH9`LCH5
zpUNgE`)rm>VdQj!M~OQ^>is1z96cj;vG3=o;u35r=UT2;b%x|=OW-Q5n|FDP+Y|Aa
zVG>D6bL2}bA8q@rX^?}xQX;)jVPfqq6L|`~+9`keS%L>vl>G<}*g>e!Uaz^gGsow@
znIZBP9orrVDT1CHI$2oo^2*L
zUw=VLt>bbpnXs`!8-$GkMFxJHM=rl21=s?j*_9YXV6?-&RU;979k)3xYA+aX-o?1b9z
zXo1`*Yzi!p77U*;F<@^J$PzKXGs`E~^+~$Ez|m@6&aT4xboHPkT*0#MJ-Ix2lh=^jA%X*(~FI^ZLIaC=o-NlJR5zTmd!iyk8h8PuQU;~6YFT9
za8~C^YMxMB>BTs{VpQNjO3o}x)8TuQv_k!rM4n4LX{gzx;-?__gahXsCQS1^Y~i_}
z?m5^3Ztk0w=5kL5u@w{%!6Pzk!(+DuXJHPosbMUU$w2cnP08_9iGs=eU9qKap&r5;-<
zXNXfH14U}wXHzOG8+8>Ne4;u`<*{yR4#|3N^drevw(!fho@aus&}>c~Z_*TzPYAhp
z;7;cY^aurl+@FDc6JJdA<=$SJ?cQ~r*T#pKA#N_lUXwQ&F`OK;Iqr}+ccyw-x*+&I
zjzR4%e=l!Z!mgi0mrOB@r;ib{3!Gkh=34vJ!nH}EoC;FV#|z%K0*+s0lER@F6?O`L
zF6Z>=tRoEtdB
zbo~;r#xi}TCn#0oRGa%Smr()gVan3dX{k?qDz2Y(ZN00nd7`>C-6+z8rOBg0ar+0vpOEjDJy21?iA|)mmtPx+MsJlP|
zgeUgDQ+)50_CS++ixdhDG(*gtDNa|ovc!-ox(qafU4Zg3g7N8m$l9?<%R
zOBGhKF7?ip!Uft!R$_zPL&i}+$F|Iy3ufkan76B*n#Ag+z==^Xzv;-SraCpd8lr;q
z6;Y>josrI)-Mg|jDc&wZ0VelTBbn0R+)uLUkI?b{lMq$Wbv*>v=&XDP#IFt6mdT22
z58Iq!MsGAst%Sbl$M#Mwl{Lac&NC>q+g(W54{-%nOJ>++k1V2G+gJg{%LMr
z2cw{j?DLo9k+*q0JAi0|u?K5YQZmo8Ka3}SZ`o;+z*NGB59paeor7Q(XJhwN{r0uV
zl~3N;7e;`oxy1_MyWUa#ceg`I$o+h6uQ7MTPWP>bueG|b5?_%ai7UB6qb3`ZLNYK?pHl18q1NtJJvqu2{T#$;Y(H-2ZysAH3Jsth2^R{bkg>MlL$;)rxs@QvGj&@ahY$K
zrpxUc<5j(`{C)T2hImYw_ob?w9C}GD()P@|cFP+nQadFOAwN>IyUdviLthAV*t~a6
zc%vk?wDswF$}~E-wEk>*%-D;Fp%gwDJ}kHR>)1D^bG_e8Kr`OvWt5Y$8Z7UwY&xu#
z&|#5~79i-&iKyH8fLYt?J7@1hN#?#bFvQAV|zPCN_*s=g8J1Y{NwAe*4lK6*q}x@q*cnqrbs>N
z+caYRkNDyGrFW%c$6j7A+(KFM=$o@yqBFHwEv(h7XGnuuIC?E(UFb)kttqQ4@*V&H
zUhTUj40u3*<-c9&&)Loe0RPpaHpKnd{;Ef11pt5asQ(N2b5slb4Uo8BRQ?3~KPBTI
ikbnLL=iiVOL4aT7$X|G@`!4_hSoUpaf6e0jarzhannxf2
literal 0
HcmV?d00001
diff --git a/dbconnection.py b/dbconnection.py
new file mode 100644
index 0000000..d151d7e
--- /dev/null
+++ b/dbconnection.py
@@ -0,0 +1,300 @@
+import psycopg2
+from psycopg2.sql import Composable
+from googledrive import GoogleDriveFileManager
+
+class DatabaseConnection:
+ def __init__(self, database_name="WeRHere", user="postgres", password="OeM1707G", host="localhost"):
+ self.database_name = database_name
+ self.user = user
+ self.password = password
+ self.host = host
+ self.connection = None
+ self.message = ""
+
+ def connect(self):
+ try:
+ self.connection = psycopg2.connect(
+ dbname=self.database_name,
+ user=self.user,
+ password=self.password,
+ host=self.host
+ )
+ self.message = "Connection is successful!"
+ except psycopg2.Error as e:
+ self.message = f"Error: {e}"
+ def db_executer(self, query: str | bytes | Composable ):
+ try:
+ self.connect()
+ cursor = self.connection.cursor()
+ cursor.execute(query)
+ self.connection.commit()
+ cursor.close()
+ self.message = "Query executed successfully!"
+ except psycopg2.Error as e:
+ self.message = f"Error: {e}"
+ def db_select(self, query: str | bytes | Composable):
+ try:
+ self.connect()
+ cursor = self.connection.cursor()
+ cursor.execute(query)
+ result = cursor.fetchall()
+ cursor.close()
+ self.message = "Query executed successfully!"
+ return result
+ except psycopg2.Error as e:
+ self.message = f"Error: {e}"
+ return None
+def Crate_Tables():
+ db_obj = DatabaseConnection()
+ db_obj.db_executer("""
+ CREATE TABLE IF NOT EXISTS public.kullanicilar
+ (
+ kullaniciid serial NOT NULL,
+ kullaniciadi character varying(50) COLLATE pg_catalog."default" NOT NULL,
+ parola character varying(50) COLLATE pg_catalog."default" NOT NULL,
+ yetki character(5) COLLATE pg_catalog."default" NOT NULL DEFAULT USER,
+ CONSTRAINT kullanicilar_pkey PRIMARY KEY (kullaniciid)
+ )
+
+ """)
+ print(db_obj.message)
+
+ db_obj.db_executer("""
+ CREATE TABLE IF NOT EXISTS public.kursiyerler
+ (
+ kursiyerid serial NOT NULL ,
+ adsoyad character varying(50) COLLATE pg_catalog."default" NOT NULL,
+ mailadresi character varying(100) COLLATE pg_catalog."default" NOT NULL,
+ telefonnumarasi character varying(12) COLLATE pg_catalog."default" NOT NULL,
+ postakodu character varying(7) COLLATE pg_catalog."default",
+ yasadiginizeyalet character varying(20) COLLATE pg_catalog."default",
+ CONSTRAINT "Kursiyerler_pkey" PRIMARY KEY (kursiyerid)
+ )
+ """)
+ print(db_obj.message)
+
+ db_obj.db_executer("""
+ CREATE TABLE IF NOT EXISTS public.basvurular
+ (
+ basvuruid serial NOT NULL,
+ kursiyerid integer NOT NULL,
+ zamandamgasi timestamp without time zone NOT NULL,
+ suankidurum character varying(100) COLLATE pg_catalog."default" NOT NULL,
+ itphegitimkatilmak character varying(100) COLLATE pg_catalog."default",
+ ekonomikdurum character varying(100) COLLATE pg_catalog."default",
+ dilkursunadevam boolean,
+ ingilizceseviye character varying(12) COLLATE pg_catalog."default",
+ hollandacaseviye character varying(12) COLLATE pg_catalog."default",
+ baskigoruyor character varying(100) COLLATE pg_catalog."default",
+ bootcampbitirdi character varying(100) COLLATE pg_catalog."default",
+ onlineitkursu boolean,
+ ittecrube boolean,
+ projedahil boolean,
+ calismakistegi character varying(100) COLLATE pg_catalog."default",
+ nedenkatilmakistiyor text COLLATE pg_catalog."default",
+ basvurudonemi character varying(5) COLLATE pg_catalog."default",
+ mentorgorusmesi character varying(10) COLLATE pg_catalog."default"
+ CONSTRAINT basvurular_pkey PRIMARY KEY (basvuruid),
+ CONSTRAINT "FK_kusiyerid" FOREIGN KEY (kursiyerid)
+ REFERENCES public.kursiyerler (kursiyerid) MATCH SIMPLE
+ ON UPDATE NO ACTION
+ ON DELETE NO ACTION
+ NOT VALID
+ )
+
+ """)
+ print(db_obj.message)
+ db_obj.db_executer("""
+ CREATE TABLE IF NOT EXISTS public.mentortablosu
+ (
+ mentorid serial NOT NULL,
+ gorusmetarihi date NOT NULL,
+ kursiyerid integer NOT NULL,
+ bilgisahibimi smallint,
+ dusunce text COLLATE pg_catalog."default",
+ yogunlukdurumu text COLLATE pg_catalog."default",
+ yorumlar text COLLATE pg_catalog."default",
+ mentoradsoyad character varying(50) COLLATE pg_catalog."default" NOT NULL,
+ CONSTRAINT mentortablosu_pkey PRIMARY KEY (mentorid),
+ CONSTRAINT "FK_kusiyerid" FOREIGN KEY (kursiyerid)
+ REFERENCES public.kursiyerler (kursiyerid) MATCH SIMPLE
+ ON UPDATE NO ACTION
+ ON DELETE NO ACTION
+ NOT VALID
+ )
+ """)
+ print(db_obj.message)
+ db_obj.db_executer("""
+ CREATE TABLE IF NOT EXISTS public.projetakiptablosu
+ (
+ projetakipid serial NOT NULL,
+ kursiyerid integer NOT NULL,
+ projegonderilistarihi timestamp without time zone,
+ projeningelistarihi timestamp without time zone,
+ CONSTRAINT projetakiptablosu_pkey PRIMARY KEY (projetakipid),
+ CONSTRAINT "FK_kusuyerid" FOREIGN KEY (kursiyerid)
+ REFERENCES public.kursiyerler (kursiyerid) MATCH SIMPLE
+ ON UPDATE NO ACTION
+ ON DELETE NO ACTION
+ NOT VALID
+ )
+ """)
+ print(db_obj.message)
+def Convert_data_users():
+ DataObject = GoogleDriveFileManager("Kullanicilar", "seracc.json")
+ DataObject.getExcelFile()
+ write_data = DataObject.getExcelFile()
+
+ rows, cols = write_data.shape
+ # self.tableWidget.setRowCount(rows)
+ # self.tableWidget.setColumnCount(cols)
+ # self.tableWidget.setHorizontalHeaderLabels(self.DataObject.getExcelFile().columns)
+ query = ""
+ db_obj = DatabaseConnection()
+ for row in range(rows):
+ # value = str(write_data.iat[row, col])
+ query = "INSERT INTO kullanicilar (kullaniciadi, parola, yetki) VALUES ("
+ query += "'" + write_data.iat[row, 0] + "', "
+ query += "'" + write_data.iat[row, 1] + "', "
+ query += "'" + write_data.iat[row, 2] + "');"
+ db_obj.db_executer(query)
+ print(query)
+ print(db_obj.message)
+def Convert_data_kursiyerler():
+ DataObject = GoogleDriveFileManager("Basvurular", "seracc.json")
+ DataObject.getExcelFile()
+ write_data = DataObject.getExcelFile()
+
+ rows, cols = write_data.shape
+ # self.tableWidget.setRowCount(rows)
+ # self.tableWidget.setColumnCount(cols)
+ # self.tableWidget.setHorizontalHeaderLabels(self.DataObject.getExcelFile().columns)
+ query = ""
+ db_obj = DatabaseConnection()
+ for row in range(rows):
+ # value = str(write_data.iat[row, col])
+ kursiyerid = db_obj.db_select("SELECT MIN(kursiyerid) FROM kursiyerler WHERE adsoyad = '" + str(write_data.iat[row, 1]) + "';")
+ if kursiyerid[0][0] == None :
+ query = "INSERT INTO kursiyerler (adsoyad, mailadresi, telefonnumarasi, postakodu, yasadiginizeyalet) VALUES ("
+ query += "'" + str(write_data.iat[row, 1]) + "', "
+ query += "'" + str(write_data.iat[row, 2]) + "', "
+ query += "'" + str(write_data.iat[row, 3]) + "', "
+ query += "'" + str(write_data.iat[row, 4]) + "', "
+ query += "'" + str(write_data.iat[row, 5]) + "');"
+ db_obj.db_executer(query)
+ print(query)
+ print(db_obj.message)
+ else:
+ print("Kursiyer already exists!")
+def Convert_data_basvurular():
+ DataObject = GoogleDriveFileManager("Basvurular", "seracc.json")
+ DataObject.getExcelFile()
+ write_data = DataObject.getExcelFile()
+
+ rows, cols = write_data.shape
+
+ query = ""
+ db_obj = DatabaseConnection()
+ for row in range(rows):
+ # value = str(write_data.iat[row, col])
+ query = "INSERT INTO basvurular (kursiyerid, zamandamgasi, suankidurum, itphegitimkatilmak, ekonomikdurum, dilkursunadevam, ingilizceseviye, hollandacaseviye, "
+ query += "baskigoruyor, bootcampbitirdi, onlineitkursu, ittecrube, projedahil, calismakistegi, nedenkatilmakistiyor, basvurudonemi, mentorgorusmesi) VALUES ("
+ kursiyerid = db_obj.db_select("SELECT MIN(kursiyerid) FROM kursiyerler WHERE adsoyad = '" + str(write_data.iat[row, 1]) + "';")
+ if kursiyerid == None:
+ print("Kursiyer not found!")
+ continue
+ query += str(kursiyerid[0][0]) + ", "
+ query +="'" + str(write_data.iat[row, 0])+ "', "
+ query += "'" + str(write_data.iat[row, 6]) + "', "
+ query += "'" + str(write_data.iat[row, 7]) + "', "
+ query += "'" + str(write_data.iat[row, 8]) + "', "
+ query += "True"+ ", " if write_data.iat[row, 9] == "Evet" else "False" + ", "
+ query += "'" + str(write_data.iat[row, 10]) + "', "
+ query += "'" + str(write_data.iat[row, 11]) + "', "
+ query += "'" + str(write_data.iat[row, 12]) + "', "
+ query += "'" + str(write_data.iat[row, 13]) + "', "
+ query += "True"+ ", " if write_data.iat[row, 14] == "Evet" else "False" + ", "
+ query += "True"+ ", " if write_data.iat[row, 15] == "Evet" else "False" + ", "
+ query += "True"+ ", " if write_data.iat[row, 16] == "Evet" else "False" + ", "
+ query += "'" + str(write_data.iat[row, 17]) + "', "
+ query += "'" + str(write_data.iat[row, 18]) + "', "
+ query += "'" + str(write_data.iat[row, 21]) + "',"
+ query += "'" + str(write_data.iat[row, 20]) + "');"
+ print(query)
+ db_obj.db_executer(query)
+ print(db_obj.message)
+
+def Convert_data_mentor():
+ DataObject = GoogleDriveFileManager("Mentor", "seracc.json")
+ DataObject.getExcelFile()
+ write_data = DataObject.getExcelFile()
+
+ rows, cols = write_data.shape
+
+ query = ""
+ db_obj = DatabaseConnection()
+ for row in range(rows):
+ # value = str(write_data.iat[row, col])
+ query = "INSERT INTO mentortablosu (gorusmetarihi, mentoradsoyad, kursiyerid, bilgisahibimi, dusunce, yogunlukdurumu, yorumlar) VALUES ("
+ query +="'" + str(write_data.iat[row, 0])+ "', "
+ query +="'" + str(write_data.iat[row, 3])+ "', "
+ kursiyerid = db_obj.db_select("SELECT MIN(kursiyerid) FROM kursiyerler WHERE adsoyad = '" + str(write_data.iat[row, 2]) + "';")
+ if kursiyerid == None:
+ print("Kursiyer not found!")
+ continue
+ query += str(kursiyerid[0][0]) + ", "
+ query += str(write_data.iat[row, 4]) + ", "
+ query += "'" + str(write_data.iat[row, 8]) + "', "
+ query += "'" + str(write_data.iat[row, 5]) + "', "
+ query += "'" + str(write_data.iat[row, 6]) + "');"
+ print(query)
+ db_obj.db_executer(query)
+ print(db_obj.message)
+
+def Convert_data_interview():
+ DataObject = GoogleDriveFileManager("Mulakatlar", "seracc.json")
+ DataObject.getExcelFile()
+ write_data = DataObject.getExcelFile()
+
+ rows, cols = write_data.shape
+
+ query = ""
+ db_obj = DatabaseConnection()
+ for row in range(rows):
+ # value = str(write_data.iat[row, col])
+ query = "INSERT INTO projetakiptablosu (kursiyerid, projegonderilistarihi, projeningelistarihi) VALUES ("
+ kursiyerid = db_obj.db_select("SELECT MIN(kursiyerid) FROM kursiyerler WHERE adsoyad = '" + str(write_data.iat[row, 0]) + "';")
+ if kursiyerid == None:
+ print("Kursiyer not found!")
+ continue
+ query += str(kursiyerid[0][0]) + ", "
+ query += "'" + str(write_data.iat[row, 1]) + "', "
+ if str(write_data.iat[row, 2]) == "" or str(write_data.iat[row, 2]) == "NaT":
+ query += "NULL" + ");"
+ else:
+ query += "'" + str(write_data.iat[row, 2]) + "');"
+ print(query)
+ db_obj.db_executer(query)
+ print(db_obj.message)
+
+def main():
+ db_obj = DatabaseConnection()
+ rows = db_obj.db_select("""
+ SELECT * FROM kursiyerler ;
+ """)
+ for row in rows:
+ print(row)
+ # print(rows)
+ # print(rows[0][0])
+ print(db_obj.message)
+
+if __name__ == "__main__":
+ # Crate_Tables()
+ # Convert_data_users()
+ # Convert_data_kursiyerler()
+ # Convert_data_basvurular()
+ # Convert_data_mentor()
+ # Convert_data_interview()
+ main()
+ pass
+
\ No newline at end of file
diff --git a/file_transactions.py b/file_transactions.py
new file mode 100644
index 0000000..9925c77
--- /dev/null
+++ b/file_transactions.py
@@ -0,0 +1,30 @@
+# File: file_transactions.py
+import json
+import os
+
+def save_file(file_path, data):
+ try:
+ with open(file_path, 'w', encoding='utf-8') as file:
+ json.dump(data, file, ensure_ascii=False, indent=4)
+ # print(f"Data was successfully written to file: {file_path}")
+ except Exception as e:
+ print(f"Error: Data could not be written to file. Details: {e}")
+ raise e
+
+def load_file(file_path):
+ """
+ Reads a list from a file in JSON format.
+ """
+ if not os.path.exists(file_path):
+ save_file(file_path, [])
+ return []
+ try:
+ with open(file_path, 'r', encoding='utf-8') as file:
+ return json.load(file)
+ except json.JSONDecodeError:
+ print("Error: JSON format is invalid.")
+ return []
+ except Exception as e:
+ print(f"Error: File could not be read. Details: {e}")
+ return []
+
\ No newline at end of file
diff --git a/googledrive.py b/googledrive.py
new file mode 100644
index 0000000..576a5fa
--- /dev/null
+++ b/googledrive.py
@@ -0,0 +1,215 @@
+from googleapiclient.discovery import build
+from googleapiclient.errors import HttpError
+from googleapiclient.http import MediaIoBaseDownload, MediaFileUpload
+from google.oauth2 import service_account
+#from google calendar integration
+from google.auth.transport.requests import Request
+from google.oauth2.credentials import Credentials
+from google_auth_oauthlib.flow import InstalledAppFlow
+
+import pandas as pd
+import io, os, datetime
+
+class GoogleDriveFileManager:
+ fileid_dict = {
+ "Basvurular": "11ys9OsUiqBjZR676nLgXKpPrg7ykkfZ2",
+ "Mulakatlar": "1jBBNrMt-GUAaPot7cGidEdC1dCZ2RYHK",
+ "Mentor": "1uz9Dn1N3tWK1y83JQG3E-PJ9sLwkLUy_",
+ "Kullanicilar": "1pPzybfDOgN_CnP7nfaDc2L2gHgeBkKqJ"
+ }
+ def __init__(self, file, servicefile="seracc.json"):
+ try:
+ self.scopes = ["https://www.googleapis.com/auth/drive"]
+ self.service = servicefile
+ if file not in GoogleDriveFileManager.fileid_dict.keys():
+ self.file = file
+ else:
+ self.file = GoogleDriveFileManager.fileid_dict[file]
+ self.creds = service_account.Credentials.from_service_account_file(self.service, scopes=self.scopes)
+ self.drive_service = build("drive", "v3", credentials=self.creds)
+ self.excel_file = None
+ except Exception as e:
+ print(f"An error occurred: {e}")
+
+ def getExcelFile(self):
+ try:
+ file_metadata = self.drive_service.files().get(fileId=self.file).execute()
+ except HttpError as error:
+ print(f"An error occurred: {error}")
+ return None
+ try:
+ request = self.drive_service.files().get_media(fileId=self.file)
+ file_stream = io.BytesIO()
+ downloader = MediaIoBaseDownload(file_stream, request)
+ done = False
+ while done is False:
+ status, done = downloader.next_chunk()
+ file_stream.seek(0)
+ self.excel_file = pd.read_excel(file_stream, engine="openpyxl")
+ return self.excel_file
+ except HttpError as error:
+ print(f"An error occurred: {error}")
+ return None
+
+ def search_data(self, column_name, search_value, case_sensitive = False):
+ try:
+ matching_rows = self.excel_file[self.excel_file[column_name].str.lower() == search_value.lower()]
+ return matching_rows
+ except Exception as e:
+ print(f"An error occurred: {e}")
+ return None
+ def mask_data(self, column_name, search_value):
+ try:
+ mask_value = self.excel_file[column_name].str.contains(search_value, na=False)
+ matching_rows = self.excel_file[mask_value]
+ return matching_rows
+ except Exception as e:
+ print(f"An error occurred: {e}")
+ return None
+ def search_data_different(self, column_name, search_value):
+ try:
+ matching_rows = self.excel_file[self.excel_file[column_name].str.lower() != search_value.lower()]
+ return matching_rows
+ except Exception as e:
+ print(f"An error occurred: {e}")
+ return None
+
+ def search_data_multiple(self, serach_dict):
+ try:
+ query_string = " & ".join([f"(df['{col}'] == '{val}')" for col, val in serach_dict.items()])
+ matching_rows = self.excel_file[eval(query_string)]
+ return matching_rows
+ except Exception as e:
+ print(f"An error occurred: {e}")
+ return None
+
+ def full_text_search(self, search_value):
+ try:
+ # matching_rows = self.excel_file[self.excel_file.applymap(lambda x: search_value.lower() in str(x).lower()).any(axis=1)]
+ matching_rows = self.excel_file[self.excel_file.apply(lambda row: any(search_value.lower() in str(cell).lower() for cell in row), axis=1)]
+ return matching_rows
+ except Exception as e:
+ print(f"An error occurred: {e}")
+ return None
+
+ def update_row(self, row_index, column_name, new_value):
+ try:
+ self.excel_file.at[row_index, column_name] = new_value
+ return True
+ except Exception as e:
+ print(f"An error occurred: {e}")
+ return False
+
+ def save_excel_file(self):
+ try:
+ self.excel_file.to_excel("temp.xlsx", index=False)
+ media = MediaFileUpload("temp.xlsx", mimetype="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet")
+
+ self.drive_service.files().update(
+ fileId=self.file,
+ media_body=media
+ ).execute()
+ return True
+ except Exception as e:
+ print(f"An error occurred: {e}")
+ return False
+"""----------------------------------------------------------------------------------------"""
+# Google Calendar Integration
+class GoogleCalendarManager:
+ def __init__(self, service_account_file):
+ try:
+ self.service_account_file = service_account_file
+ self.scopes = ["https://www.googleapis.com/auth/calendar.readonly"]
+
+ self.credentials = self.get_credentials()
+ print("Credentials obtained successfully.")
+ except HttpError as error:
+ print('An error occurred: %s' % error)
+
+ def get_credentials(self):
+ creds = None
+
+ if os.path.exists('token.json'):
+ creds = Credentials.from_authorized_user_file('token.json', self.scopes)
+
+ # If there are no (valid) credentials available, let the user log in.
+ if not creds or not creds.valid:
+ if creds and creds.expired and creds.refresh_token:
+ creds.refresh(Request())
+ else:
+ flow = InstalledAppFlow.from_client_secrets_file(
+ "seracc_calendar.json", self.scopes
+ )
+ creds = flow.run_local_server(port=0)
+ # Save the credentials for the next run
+ with open("token.json", "w") as token:
+ token.write(creds.to_json())
+ return creds
+
+ def get_calendar_events(self, calendar_id="primary"):
+ try:
+ service = build("calendar", "v3", credentials=self.credentials)
+
+ now = datetime.datetime.utcnow().isoformat() + 'Z' # 'Z' indicates UTC time
+
+ events_result = service.events().list(calendarId=calendar_id, timeMin=now,
+ maxResults=50, singleEvents=True,
+ orderBy='startTime').execute()
+ self.events = events_result.get('items', [])
+ print("Events retrieved successfully.")
+ except HttpError as error:
+ print(f"An error occurred: {error}")
+"""----------------------------------------------------------------------------------------"""
+def google_drive_test():
+ #GoogleDriveFileManager
+ Obj_Excel_File = GoogleDriveFileManager("Mentor")
+ Obj_Excel_File.getExcelFile()
+
+ # arama_sonucu = Obj_Excel_File.excel_file[(Obj_Excel_File.excel_file["kullanici"] == "musta") & (Obj_Excel_File.excel_file["parola"] == "12345")]
+ print(Obj_Excel_File.excel_file)
+ #print(f"ID: {arama_sonucu.index[0]}, Kullanıcı Adı: {arama_sonucu['kullanici'].values[0]}, Parola: {arama_sonucu['parola'].values[0]}")
+ # if Obj_Excel_File.update_row(6,"parola","q"):
+ # Obj_Excel_File.save_excel_file()
+ # else:
+ # print("Update failed!!!")
+
+def google_calendar_test():
+ Obj_Calendar = GoogleCalendarManager("seracc_calendar.json")
+ Obj_Calendar.get_calendar_events()
+ print(Obj_Calendar.events)
+ if not Obj_Calendar.events:
+ print('No upcoming events found.')
+ else:
+ if Obj_Calendar.events:
+ for event in Obj_Calendar.events:
+ start = event['start'].get('dateTime', event['start'].get('date'))
+ participant = []
+ organizer = event['organizer']['email']
+ if "attendees" in event:
+ for attendee in event['attendees']:
+ if organizer != attendee["email"] and attendee["email"] not in participant:
+ participant.append(attendee["email"])
+ action_name = event["summary"]
+ print(f"{action_name} - {start} - {organizer}",end="")
+ for i in range(len(participant)):
+ print(f" - {participant[i]}",end="")
+ print()
+"""
+[{'kind': 'calendar#event', 'etag': '"3478761919592000"', 'id': '0degirqb84928efvg6nb19gl65_20250218T213000Z', 'status': 'confirmed',
+ 'htmlLink': 'https://www.google.com/calendar/event?eid=MGRlZ2lycWI4NDkyOGVmdmc2bmIxOWdsNjVfMjAyNTAyMThUMjEzMDAwWiBtdXN0YWZhLm1ndW5kb2dkdUBt', 'created': '2025-01-28T21:20:15.000Z',
+ 'updated': '2025-02-12T17:22:39.796Z', 'summary': 'VIT Group Meeting', 'creator': {'email': 'mustafa.mgundogdu@gmail.com', 'self': True},
+ 'organizer': {'email': 'mustafa.mgundogdu@gmail.com', 'self': True}, 'start': {'dateTime': '2025-02-18T22:30:00+01:00', 'timeZone': 'Europe/Amsterdam'},
+ 'end': {'dateTime': '2025-02-18T23:30:00+01:00', 'timeZone': 'Europe/Amsterdam'}, 'recurringEventId': '0degirqb84928efvg6nb19gl65_R20250218T213000',
+ 'originalStartTime': {'dateTime': '2025-02-18T22:30:00+01:00', 'timeZone': 'Europe/Amsterdam'}, 'iCalUID': '0degirqb84928efvg6nb19gl65_R20250218T213000@google.com',
+ 'sequence': 0, 'attendees': [{'email': 'mustafa.mgundogdu@gmail.com', 'organizer': True, 'self': True, 'responseStatus': 'accepted'},
+ {'email': 'nesli.utuk@gmail.com', 'responseStatus': 'needsAction'}, {'email': 'yasinsinan1@gmail.com', 'responseStatus': 'accepted'},
+ {'email': 'kahramandal@gmail.com', 'responseStatus': 'needsAction'}], 'hangoutLink': 'https://meet.google.com/hvt-iprs-rsv',
+ 'conferenceData': {'entryPoints': [{'entryPointType': 'video', 'uri': 'https://meet.google.com/hvt-iprs-rsv', 'label': 'meet.google.com/hvt-iprs-rsv'}],
+ 'conferenceSolution': {'key': {'type': 'hangoutsMeet'}, 'name': 'Google Meet', 'iconUri': 'https://fonts.gstatic.com/s/i/productlogos/meet_2020q4/v6/web-512dp/logo_meet_2020q4_color_2x_web_512dp.png'},
+ 'conferenceId': 'hvt-iprs-rsv'}, 'reminders': {'useDefault': True}, 'eventType': 'default'}]
+"""
+if __name__ == "__main__":
+ # google_drive_test()
+ pass
+ # GoogleCalendarManager
+ google_calendar_test()
\ No newline at end of file
diff --git a/interviews.py b/interviews.py
new file mode 100644
index 0000000..d3f77a8
--- /dev/null
+++ b/interviews.py
@@ -0,0 +1,338 @@
+# Form implementation generated from reading ui file 'interviews.ui'
+#
+# Created by: PyQt6 UI code generator 6.8.0
+#
+# WARNING: Any manual changes made to this file will be lost when pyuic6 is
+# run again. Do not edit this file unless you know what you are doing.
+
+
+from PyQt6 import QtCore, QtGui, QtWidgets
+
+
+class Ui_interviews(object):
+ def setupUi(self, interviews):
+ interviews.setObjectName("interviews")
+ interviews.setWindowModality(QtCore.Qt.WindowModality.NonModal)
+ interviews.setEnabled(True)
+ interviews.resize(883, 579)
+ sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Preferred, QtWidgets.QSizePolicy.Policy.Preferred)
+ sizePolicy.setHorizontalStretch(0)
+ sizePolicy.setVerticalStretch(0)
+ sizePolicy.setHeightForWidth(interviews.sizePolicy().hasHeightForWidth())
+ interviews.setSizePolicy(sizePolicy)
+ interviews.setMinimumSize(QtCore.QSize(0, 0))
+ interviews.setSizeIncrement(QtCore.QSize(0, 0))
+ interviews.setBaseSize(QtCore.QSize(1228, 805))
+ font = QtGui.QFont()
+ font.setFamily("MS Shell Dlg 2")
+ font.setPointSize(11)
+ font.setBold(False)
+ font.setItalic(False)
+ interviews.setFont(font)
+ interviews.setLayoutDirection(QtCore.Qt.LayoutDirection.LeftToRight)
+ interviews.setStyleSheet("QWidget {\n"
+" font: 11pt \"MS Shell Dlg 2\";\n"
+" background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, \n"
+" stop:0 rgba(173, 216, 230, 255), \n"
+" stop:1 rgba(255, 255, 255, 255));\n"
+"};\n"
+"\n"
+"")
+ self.centralwidget = QtWidgets.QWidget(parent=interviews)
+ self.centralwidget.setEnabled(True)
+ self.centralwidget.setObjectName("centralwidget")
+ self.verticalLayout_2 = QtWidgets.QVBoxLayout(self.centralwidget)
+ self.verticalLayout_2.setObjectName("verticalLayout_2")
+ self.label = QtWidgets.QLabel(parent=self.centralwidget)
+ self.label.setMinimumSize(QtCore.QSize(0, 95))
+ self.label.setStyleSheet("QLabel{\n"
+" \n"
+" padding: 10px;\n"
+" font-size: 16px;\n"
+"font: 11pt \"MS Shell Dlg 2\";\n"
+" border: 2px solid #ccc;\n"
+" border-radius: 10px;\n"
+" margin-bottom: 10px;\n"
+"}\n"
+"\n"
+"QLabel:hover {\n"
+" background-color: #007B9E;\n"
+"}\n"
+"QLabel:pressed {\n"
+" background-color: #005f73;\n"
+"}border-radius: 10px;\n"
+"background-color: #008CBA;")
+ self.label.setAlignment(QtCore.Qt.AlignmentFlag.AlignCenter)
+ self.label.setObjectName("label")
+ self.verticalLayout_2.addWidget(self.label)
+ self.frame_mentor_preference = QtWidgets.QFrame(parent=self.centralwidget)
+ self.frame_mentor_preference.setEnabled(True)
+ font = QtGui.QFont()
+ font.setFamily("MS Shell Dlg 2")
+ font.setPointSize(11)
+ font.setBold(False)
+ font.setItalic(False)
+ font.setKerning(True)
+ self.frame_mentor_preference.setFont(font)
+ self.frame_mentor_preference.setFrameShape(QtWidgets.QFrame.Shape.StyledPanel)
+ self.frame_mentor_preference.setFrameShadow(QtWidgets.QFrame.Shadow.Raised)
+ self.frame_mentor_preference.setObjectName("frame_mentor_preference")
+ self.gridLayout = QtWidgets.QGridLayout(self.frame_mentor_preference)
+ self.gridLayout.setObjectName("gridLayout")
+ self.PB_interrview_exit = QtWidgets.QPushButton(parent=self.frame_mentor_preference)
+ sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Preferred, QtWidgets.QSizePolicy.Policy.Preferred)
+ sizePolicy.setHorizontalStretch(0)
+ sizePolicy.setVerticalStretch(0)
+ sizePolicy.setHeightForWidth(self.PB_interrview_exit.sizePolicy().hasHeightForWidth())
+ self.PB_interrview_exit.setSizePolicy(sizePolicy)
+ self.PB_interrview_exit.setCursor(QtGui.QCursor(QtCore.Qt.CursorShape.PointingHandCursor))
+ self.PB_interrview_exit.setStyleSheet("QPushButton {\n"
+" font: 11pt \"MS Shell Dlg 2\";\n"
+" background-color: #008CBA;\n"
+" color: white;\n"
+" padding: 10px;\n"
+" font-size: 14px;\n"
+"font: 11pt \"MS Shell Dlg 2\";\n"
+" border: none;\n"
+" border-radius: 10px;\n"
+" margin: 5px;\n"
+"}\n"
+"QPushButton:hover {\n"
+" background-color: #007B9E;\n"
+"}\n"
+"QPushButton:pressed {\n"
+" background-color: #005f73;\n"
+"}\n"
+"")
+ icon = QtGui.QIcon()
+ icon.addPixmap(QtGui.QPixmap("icons/power.svg"), QtGui.QIcon.Mode.Normal, QtGui.QIcon.State.Off)
+ self.PB_interrview_exit.setIcon(icon)
+ self.PB_interrview_exit.setIconSize(QtCore.QSize(50, 50))
+ self.PB_interrview_exit.setObjectName("PB_interrview_exit")
+ self.gridLayout.addWidget(self.PB_interrview_exit, 2, 3, 1, 1)
+ self.PB_preferences = QtWidgets.QPushButton(parent=self.frame_mentor_preference)
+ sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Preferred, QtWidgets.QSizePolicy.Policy.Preferred)
+ sizePolicy.setHorizontalStretch(0)
+ sizePolicy.setVerticalStretch(0)
+ sizePolicy.setHeightForWidth(self.PB_preferences.sizePolicy().hasHeightForWidth())
+ self.PB_preferences.setSizePolicy(sizePolicy)
+ self.PB_preferences.setCursor(QtGui.QCursor(QtCore.Qt.CursorShape.PointingHandCursor))
+ self.PB_preferences.setStyleSheet("QPushButton {\n"
+" font: 11pt \"MS Shell Dlg 2\";\n"
+" background-color: #008CBA;\n"
+" color: white;\n"
+" padding: 10px;\n"
+" font-size: 14px;\n"
+"font: 11pt \"MS Shell Dlg 2\";\n"
+" border: none;\n"
+" border-radius: 10px;\n"
+" margin: 5px;\n"
+"}\n"
+"QPushButton:hover {\n"
+" background-color: #007B9E;\n"
+"}\n"
+"QPushButton:pressed {\n"
+" background-color: #005f73;\n"
+"}\n"
+"")
+ icon1 = QtGui.QIcon()
+ icon1.addPixmap(QtGui.QPixmap("icons/news.svg"), QtGui.QIcon.Mode.Normal, QtGui.QIcon.State.Off)
+ self.PB_preferences.setIcon(icon1)
+ self.PB_preferences.setIconSize(QtCore.QSize(50, 50))
+ self.PB_preferences.setObjectName("PB_preferences")
+ self.gridLayout.addWidget(self.PB_preferences, 2, 2, 1, 1)
+ self.pb_submittedProjects = QtWidgets.QPushButton(parent=self.frame_mentor_preference)
+ sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Preferred, QtWidgets.QSizePolicy.Policy.Preferred)
+ sizePolicy.setHorizontalStretch(0)
+ sizePolicy.setVerticalStretch(0)
+ sizePolicy.setHeightForWidth(self.pb_submittedProjects.sizePolicy().hasHeightForWidth())
+ self.pb_submittedProjects.setSizePolicy(sizePolicy)
+ self.pb_submittedProjects.setMinimumSize(QtCore.QSize(0, 0))
+ self.pb_submittedProjects.setCursor(QtGui.QCursor(QtCore.Qt.CursorShape.PointingHandCursor))
+ self.pb_submittedProjects.setStyleSheet("QPushButton {\n"
+" font: 11pt \"MS Shell Dlg 2\";\n"
+" background-color: #008CBA;\n"
+" color: white;\n"
+" padding: 10px;\n"
+" font-size: 14px;\n"
+"font: 11pt \"MS Shell Dlg 2\";\n"
+" border: none;\n"
+" border-radius: 10px;\n"
+" margin: 5px;\n"
+"}\n"
+"QPushButton:hover {\n"
+" background-color: #007B9E;\n"
+"}\n"
+"QPushButton:pressed {\n"
+" background-color: #005f73;\n"
+"}\n"
+"")
+ icon2 = QtGui.QIcon()
+ icon2.addPixmap(QtGui.QPixmap("icons/maps.svg"), QtGui.QIcon.Mode.Normal, QtGui.QIcon.State.Off)
+ self.pb_submittedProjects.setIcon(icon2)
+ self.pb_submittedProjects.setIconSize(QtCore.QSize(50, 50))
+ self.pb_submittedProjects.setObjectName("pb_submittedProjects")
+ self.gridLayout.addWidget(self.pb_submittedProjects, 2, 0, 1, 1)
+ self.PB_interviews_find = QtWidgets.QPushButton(parent=self.frame_mentor_preference)
+ sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Preferred, QtWidgets.QSizePolicy.Policy.Preferred)
+ sizePolicy.setHorizontalStretch(0)
+ sizePolicy.setVerticalStretch(0)
+ sizePolicy.setHeightForWidth(self.PB_interviews_find.sizePolicy().hasHeightForWidth())
+ self.PB_interviews_find.setSizePolicy(sizePolicy)
+ self.PB_interviews_find.setMinimumSize(QtCore.QSize(0, 0))
+ self.PB_interviews_find.setCursor(QtGui.QCursor(QtCore.Qt.CursorShape.PointingHandCursor))
+ self.PB_interviews_find.setStyleSheet("QPushButton {\n"
+" font: 11pt \"MS Shell Dlg 2\";\n"
+" background-color: #008CBA;\n"
+" color: white;\n"
+" padding: 10px;\n"
+" font-size: 14px;\n"
+"font: 11pt \"MS Shell Dlg 2\";\n"
+" border: none;\n"
+" border-radius: 10px;\n"
+" margin: 5px;\n"
+"}\n"
+"QPushButton:hover {\n"
+" background-color: #007B9E;\n"
+"}\n"
+"QPushButton:pressed {\n"
+" background-color: #005f73;\n"
+"}\n"
+"")
+ icon3 = QtGui.QIcon()
+ icon3.addPixmap(QtGui.QPixmap("icons/search-user.svg"), QtGui.QIcon.Mode.Normal, QtGui.QIcon.State.Off)
+ self.PB_interviews_find.setIcon(icon3)
+ self.PB_interviews_find.setIconSize(QtCore.QSize(50, 50))
+ self.PB_interviews_find.setObjectName("PB_interviews_find")
+ self.gridLayout.addWidget(self.PB_interviews_find, 0, 0, 1, 1)
+ self.pb_incomingprojects = QtWidgets.QPushButton(parent=self.frame_mentor_preference)
+ sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Preferred, QtWidgets.QSizePolicy.Policy.Preferred)
+ sizePolicy.setHorizontalStretch(0)
+ sizePolicy.setVerticalStretch(0)
+ sizePolicy.setHeightForWidth(self.pb_incomingprojects.sizePolicy().hasHeightForWidth())
+ self.pb_incomingprojects.setSizePolicy(sizePolicy)
+ self.pb_incomingprojects.setMinimumSize(QtCore.QSize(0, 0))
+ self.pb_incomingprojects.setCursor(QtGui.QCursor(QtCore.Qt.CursorShape.PointingHandCursor))
+ self.pb_incomingprojects.setStyleSheet("QPushButton {\n"
+" font: 11pt \"MS Shell Dlg 2\";\n"
+" background-color: #008CBA;\n"
+" color: white;\n"
+" padding: 10px;\n"
+" font-size: 14px;\n"
+"font: 11pt \"MS Shell Dlg 2\";\n"
+" border: none;\n"
+" border-radius: 10px;\n"
+" margin: 5px;\n"
+"}\n"
+"QPushButton:hover {\n"
+" background-color: #007B9E;\n"
+"}\n"
+"QPushButton:pressed {\n"
+" background-color: #005f73;\n"
+"}\n"
+"")
+ icon4 = QtGui.QIcon()
+ icon4.addPixmap(QtGui.QPixmap("icons/refresh-page.svg"), QtGui.QIcon.Mode.Normal, QtGui.QIcon.State.Off)
+ self.pb_incomingprojects.setIcon(icon4)
+ self.pb_incomingprojects.setIconSize(QtCore.QSize(50, 50))
+ self.pb_incomingprojects.setObjectName("pb_incomingprojects")
+ self.gridLayout.addWidget(self.pb_incomingprojects, 2, 1, 1, 1)
+ self.lineEdit = QtWidgets.QLineEdit(parent=self.frame_mentor_preference)
+ self.lineEdit.setMinimumSize(QtCore.QSize(0, 60))
+ self.lineEdit.setStyleSheet("QLineEdit {\n"
+" padding: 10px;\n"
+" font-size: 16px;\n"
+" border: 2px solid #ccc;\n"
+" border-radius: 10px;\n"
+" margin-bottom: 10px;\n"
+"}\n"
+"\n"
+"QPushButton:hover {\n"
+" background-color: #007B9E;\n"
+"}\n"
+"QPushButton:pressed {\n"
+" background-color: #005f73;\n"
+"}\n"
+"")
+ self.lineEdit.setObjectName("lineEdit")
+ self.gridLayout.addWidget(self.lineEdit, 0, 1, 2, 3)
+ self.verticalLayout_2.addWidget(self.frame_mentor_preference)
+ self.tw_interviews = QtWidgets.QTableWidget(parent=self.centralwidget)
+ self.tw_interviews.setLayoutDirection(QtCore.Qt.LayoutDirection.LeftToRight)
+ self.tw_interviews.setAutoFillBackground(False)
+ self.tw_interviews.setStyleSheet("QTableWidget {\n"
+" \n"
+" font-size: 14px;\n"
+"font: 11pt \"MS Shell Dlg 2\";\n"
+" background-color: #f9f9f9;\n"
+" alternate-background-color: #e0e0e0;\n"
+" gridline-color: #ccc;\n"
+" border-radius: 10px;\n"
+"}\n"
+"QHeaderView::section {\n"
+" background-color: #008CBA;\n"
+" color: white;\n"
+" padding: 5px;\n"
+" font-size: 14px;\n"
+"font: 11pt \"MS Shell Dlg 2\";\n"
+"}")
+ self.tw_interviews.setAutoScrollMargin(16)
+ self.tw_interviews.setObjectName("tw_interviews")
+ self.tw_interviews.setColumnCount(4)
+ self.tw_interviews.setRowCount(0)
+ item = QtWidgets.QTableWidgetItem()
+ font = QtGui.QFont()
+ font.setPointSize(12)
+ item.setFont(font)
+ self.tw_interviews.setHorizontalHeaderItem(0, item)
+ item = QtWidgets.QTableWidgetItem()
+ self.tw_interviews.setHorizontalHeaderItem(1, item)
+ item = QtWidgets.QTableWidgetItem()
+ font = QtGui.QFont()
+ font.setPointSize(12)
+ item.setFont(font)
+ self.tw_interviews.setHorizontalHeaderItem(2, item)
+ item = QtWidgets.QTableWidgetItem()
+ font = QtGui.QFont()
+ font.setPointSize(12)
+ item.setFont(font)
+ self.tw_interviews.setHorizontalHeaderItem(3, item)
+ self.tw_interviews.horizontalHeader().setCascadingSectionResizes(False)
+ self.tw_interviews.horizontalHeader().setDefaultSectionSize(200)
+ self.tw_interviews.horizontalHeader().setMinimumSectionSize(22)
+ self.verticalLayout_2.addWidget(self.tw_interviews)
+ interviews.setCentralWidget(self.centralwidget)
+ self.statusbar = QtWidgets.QStatusBar(parent=interviews)
+ self.statusbar.setObjectName("statusbar")
+ interviews.setStatusBar(self.statusbar)
+
+ self.retranslateUi(interviews)
+ QtCore.QMetaObject.connectSlotsByName(interviews)
+
+ def retranslateUi(self, interviews):
+ _translate = QtCore.QCoreApplication.translate
+ interviews.setWindowTitle(_translate("interviews", "INTERVIEWS"))
+ self.label.setText(_translate("interviews", "INTERVIEWS"))
+ self.PB_interrview_exit.setText(_translate("interviews", "Exit"))
+ self.PB_preferences.setText(_translate("interviews", "Main Menu"))
+ self.pb_submittedProjects.setText(_translate("interviews", "Submitted Projects"))
+ self.PB_interviews_find.setText(_translate("interviews", "Find"))
+ self.pb_incomingprojects.setText(_translate("interviews", "Incoming Projects"))
+ item = self.tw_interviews.horizontalHeaderItem(0)
+ item.setText(_translate("interviews", "Name"))
+ item = self.tw_interviews.horizontalHeaderItem(1)
+ item.setText(_translate("interviews", "Surname"))
+ item = self.tw_interviews.horizontalHeaderItem(2)
+ item.setText(_translate("interviews", "Project Delivery Time"))
+ item = self.tw_interviews.horizontalHeaderItem(3)
+ item.setText(_translate("interviews", "Project Arrival Time"))
+
+
+if __name__ == "__main__":
+ import sys
+ app = QtWidgets.QApplication(sys.argv)
+ interviews = QtWidgets.QMainWindow()
+ ui = Ui_interviews()
+ ui.setupUi(interviews)
+ interviews.show()
+ sys.exit(app.exec())
diff --git a/interviews.ui b/interviews.ui
new file mode 100644
index 0000000..adf871c
--- /dev/null
+++ b/interviews.ui
@@ -0,0 +1,482 @@
+
+
+ interviews
+
+
+ Qt::WindowModality::NonModal
+
+
+ true
+
+
+
+ 0
+ 0
+ 920
+ 551
+
+
+
+
+ 0
+ 0
+
+
+
+
+ 0
+ 0
+
+
+
+
+ 0
+ 0
+
+
+
+
+ 1228
+ 805
+
+
+
+
+ MS Shell Dlg 2
+ 11
+ false
+ false
+
+
+
+ INTERVIEWS
+
+
+ Qt::LayoutDirection::LeftToRight
+
+
+ QWidget {
+ font: 11pt "MS Shell Dlg 2";
+ background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1,
+ stop:0 rgba(173, 216, 230, 255),
+ stop:1 rgba(255, 255, 255, 255));
+};
+
+
+
+
+
+ true
+
+
+ -
+
+
+
+ 0
+ 95
+
+
+
+ QLabel{
+
+ padding: 10px;
+ font-size: 16px;
+font: 11pt "MS Shell Dlg 2";
+ border: 2px solid #ccc;
+ border-radius: 10px;
+ margin-bottom: 10px;
+}
+
+QLabel:hover {
+ background-color: #007B9E;
+}
+QLabel:pressed {
+ background-color: #005f73;
+}border-radius: 10px;
+background-color: #008CBA;
+
+
+ INTERVIEWS
+
+
+ Qt::AlignmentFlag::AlignCenter
+
+
+
+ -
+
+
+ true
+
+
+
+ MS Shell Dlg 2
+ 11
+ false
+ false
+ true
+
+
+
+ QFrame::Shape::StyledPanel
+
+
+ QFrame::Shadow::Raised
+
+
+
-
+
+
+
+ 0
+ 0
+
+
+
+ PointingHandCursor
+
+
+ QPushButton {
+ font: 11pt "MS Shell Dlg 2";
+ background-color: #008CBA;
+ color: white;
+ padding: 10px;
+ font-size: 14px;
+font: 11pt "MS Shell Dlg 2";
+ border: none;
+ border-radius: 10px;
+ margin: 5px;
+}
+QPushButton:hover {
+ background-color: #007B9E;
+}
+QPushButton:pressed {
+ background-color: #005f73;
+}
+
+
+
+ Exit
+
+
+
+ icons/power.svgicons/power.svg
+
+
+
+ 50
+ 50
+
+
+
+
+ -
+
+
+
+ 0
+ 0
+
+
+
+ PointingHandCursor
+
+
+ QPushButton {
+ font: 11pt "MS Shell Dlg 2";
+ background-color: #008CBA;
+ color: white;
+ padding: 10px;
+ font-size: 14px;
+font: 11pt "MS Shell Dlg 2";
+ border: none;
+ border-radius: 10px;
+ margin: 5px;
+}
+QPushButton:hover {
+ background-color: #007B9E;
+}
+QPushButton:pressed {
+ background-color: #005f73;
+}
+
+
+
+ Main Menu
+
+
+
+ icons/news.svgicons/news.svg
+
+
+
+ 50
+ 50
+
+
+
+
+ -
+
+
+
+ 0
+ 0
+
+
+
+
+ 0
+ 0
+
+
+
+ PointingHandCursor
+
+
+ QPushButton {
+ font: 11pt "MS Shell Dlg 2";
+ background-color: #008CBA;
+ color: white;
+ padding: 10px;
+ font-size: 14px;
+font: 11pt "MS Shell Dlg 2";
+ border: none;
+ border-radius: 10px;
+ margin: 5px;
+}
+QPushButton:hover {
+ background-color: #007B9E;
+}
+QPushButton:pressed {
+ background-color: #005f73;
+}
+
+
+
+ Submitted Projects
+
+
+
+ icons/maps.svgicons/maps.svg
+
+
+
+ 50
+ 50
+
+
+
+
+ -
+
+
+
+ 0
+ 0
+
+
+
+
+ 0
+ 0
+
+
+
+ PointingHandCursor
+
+
+ QPushButton {
+ font: 11pt "MS Shell Dlg 2";
+ background-color: #008CBA;
+ color: white;
+ padding: 10px;
+ font-size: 14px;
+font: 11pt "MS Shell Dlg 2";
+ border: none;
+ border-radius: 10px;
+ margin: 5px;
+}
+QPushButton:hover {
+ background-color: #007B9E;
+}
+QPushButton:pressed {
+ background-color: #005f73;
+}
+
+
+
+ Find
+
+
+
+ icons/search-user.svgicons/search-user.svg
+
+
+
+ 50
+ 50
+
+
+
+
+ -
+
+
+
+ 0
+ 0
+
+
+
+
+ 0
+ 0
+
+
+
+ PointingHandCursor
+
+
+ QPushButton {
+ font: 11pt "MS Shell Dlg 2";
+ background-color: #008CBA;
+ color: white;
+ padding: 10px;
+ font-size: 14px;
+font: 11pt "MS Shell Dlg 2";
+ border: none;
+ border-radius: 10px;
+ margin: 5px;
+}
+QPushButton:hover {
+ background-color: #007B9E;
+}
+QPushButton:pressed {
+ background-color: #005f73;
+}
+
+
+
+ Incoming Projects
+
+
+
+ icons/refresh-page.svgicons/refresh-page.svg
+
+
+
+ 50
+ 50
+
+
+
+
+ -
+
+
+
+ 0
+ 60
+
+
+
+ QLineEdit {
+ padding: 10px;
+ font-size: 16px;
+ border: 2px solid #ccc;
+ border-radius: 10px;
+ margin-bottom: 10px;
+}
+
+QPushButton:hover {
+ background-color: #007B9E;
+}
+QPushButton:pressed {
+ background-color: #005f73;
+}
+
+
+
+
+
+
+
+ -
+
+
+ Qt::LayoutDirection::LeftToRight
+
+
+ false
+
+
+ QTableWidget {
+
+ font-size: 14px;
+font: 11pt "MS Shell Dlg 2";
+ background-color: #f9f9f9;
+ alternate-background-color: #e0e0e0;
+ gridline-color: #ccc;
+ border-radius: 10px;
+}
+QHeaderView::section {
+ background-color: #008CBA;
+ color: white;
+ padding: 5px;
+ font-size: 14px;
+font: 11pt "MS Shell Dlg 2";
+}
+
+
+ 16
+
+
+ false
+
+
+ 22
+
+
+ 200
+
+
+
+ Name
+
+
+
+ 12
+
+
+
+
+
+ Project Delivery Time
+
+
+
+ 12
+
+
+
+
+
+ Project Arrival Time
+
+
+
+ 12
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/interviews_ui.py b/interviews_ui.py
new file mode 100644
index 0000000..3e0d233
--- /dev/null
+++ b/interviews_ui.py
@@ -0,0 +1,324 @@
+# Form implementation generated from reading ui file 'c:\Users\kahra\OneDrive\Masaüstü\PROGRAM\PYTHON\PROJECT\PYQT6_PROJECTS\TAMAMLANANLAR\PROJE\VIT_Project\interviews.ui'
+#
+# Created by: PyQt6 UI code generator 6.8.0
+#
+# WARNING: Any manual changes made to this file will be lost when pyuic6 is
+# run again. Do not edit this file unless you know what you are doing.
+
+
+from PyQt6 import QtCore, QtGui, QtWidgets
+
+
+class Ui_interviews(object):
+ def setupUi(self, interviews):
+ interviews.setObjectName("interviews")
+ interviews.setWindowModality(QtCore.Qt.WindowModality.NonModal)
+ interviews.setEnabled(True)
+ interviews.resize(734, 548)
+ sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Preferred, QtWidgets.QSizePolicy.Policy.Preferred)
+ sizePolicy.setHorizontalStretch(0)
+ sizePolicy.setVerticalStretch(0)
+ sizePolicy.setHeightForWidth(interviews.sizePolicy().hasHeightForWidth())
+ interviews.setSizePolicy(sizePolicy)
+ interviews.setMinimumSize(QtCore.QSize(0, 0))
+ interviews.setSizeIncrement(QtCore.QSize(0, 0))
+ interviews.setBaseSize(QtCore.QSize(1228, 805))
+ font = QtGui.QFont()
+ font.setFamily("MS Shell Dlg 2")
+ font.setPointSize(11)
+ font.setBold(False)
+ font.setItalic(False)
+ interviews.setFont(font)
+ interviews.setLayoutDirection(QtCore.Qt.LayoutDirection.LeftToRight)
+ interviews.setStyleSheet("QWidget {\n"
+" font: 11pt \"MS Shell Dlg 2\";\n"
+" background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, \n"
+" stop:0 rgba(173, 216, 230, 255), \n"
+" stop:1 rgba(255, 255, 255, 255));\n"
+"};\n"
+"\n"
+"")
+ self.centralwidget = QtWidgets.QWidget(parent=interviews)
+ self.centralwidget.setEnabled(True)
+ self.centralwidget.setObjectName("centralwidget")
+ self.verticalLayout_2 = QtWidgets.QVBoxLayout(self.centralwidget)
+ self.verticalLayout_2.setObjectName("verticalLayout_2")
+ self.label = QtWidgets.QLabel(parent=self.centralwidget)
+ self.label.setMinimumSize(QtCore.QSize(0, 95))
+ self.label.setStyleSheet("QLabel{\n"
+" \n"
+" padding: 10px;\n"
+" font-size: 16px;\n"
+"font: 11pt \"MS Shell Dlg 2\";\n"
+" border: 2px solid #ccc;\n"
+" border-radius: 10px;\n"
+" margin-bottom: 10px;\n"
+"}\n"
+"\n"
+"QLabel:hover {\n"
+" background-color: #007B9E;\n"
+"}\n"
+"QLabel:pressed {\n"
+" background-color: #005f73;\n"
+"}border-radius: 10px;\n"
+"background-color: #008CBA;")
+ self.label.setAlignment(QtCore.Qt.AlignmentFlag.AlignCenter)
+ self.label.setObjectName("label")
+ self.verticalLayout_2.addWidget(self.label)
+ self.frame_mentor_preference = QtWidgets.QFrame(parent=self.centralwidget)
+ self.frame_mentor_preference.setEnabled(True)
+ font = QtGui.QFont()
+ font.setFamily("MS Shell Dlg 2")
+ font.setPointSize(11)
+ font.setBold(False)
+ font.setItalic(False)
+ font.setKerning(True)
+ self.frame_mentor_preference.setFont(font)
+ self.frame_mentor_preference.setFrameShape(QtWidgets.QFrame.Shape.StyledPanel)
+ self.frame_mentor_preference.setFrameShadow(QtWidgets.QFrame.Shadow.Raised)
+ self.frame_mentor_preference.setObjectName("frame_mentor_preference")
+ self.gridLayout = QtWidgets.QGridLayout(self.frame_mentor_preference)
+ self.gridLayout.setObjectName("gridLayout")
+ self.PB_interrview_exit = QtWidgets.QPushButton(parent=self.frame_mentor_preference)
+ sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Preferred, QtWidgets.QSizePolicy.Policy.Preferred)
+ sizePolicy.setHorizontalStretch(0)
+ sizePolicy.setVerticalStretch(0)
+ sizePolicy.setHeightForWidth(self.PB_interrview_exit.sizePolicy().hasHeightForWidth())
+ self.PB_interrview_exit.setSizePolicy(sizePolicy)
+ self.PB_interrview_exit.setCursor(QtGui.QCursor(QtCore.Qt.CursorShape.PointingHandCursor))
+ self.PB_interrview_exit.setStyleSheet("QPushButton {\n"
+" font: 11pt \"MS Shell Dlg 2\";\n"
+" background-color: #008CBA;\n"
+" color: white;\n"
+" padding: 10px;\n"
+" font-size: 14px;\n"
+"font: 11pt \"MS Shell Dlg 2\";\n"
+" border: none;\n"
+" border-radius: 10px;\n"
+" margin: 5px;\n"
+"}\n"
+"QPushButton:hover {\n"
+" background-color: #007B9E;\n"
+"}\n"
+"QPushButton:pressed {\n"
+" background-color: #005f73;\n"
+"}\n"
+"")
+ icon = QtGui.QIcon()
+ icon.addPixmap(QtGui.QPixmap("c:\\Users\\kahra\\OneDrive\\Masaüstü\\PROGRAM\\PYTHON\\PROJECT\\PYQT6_PROJECTS\\TAMAMLANANLAR\\PROJE\\VIT_Project\\icons/power.svg"), QtGui.QIcon.Mode.Normal, QtGui.QIcon.State.Off)
+ self.PB_interrview_exit.setIcon(icon)
+ self.PB_interrview_exit.setIconSize(QtCore.QSize(50, 50))
+ self.PB_interrview_exit.setObjectName("PB_interrview_exit")
+ self.gridLayout.addWidget(self.PB_interrview_exit, 2, 3, 1, 1)
+ self.PB_preferences = QtWidgets.QPushButton(parent=self.frame_mentor_preference)
+ sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Preferred, QtWidgets.QSizePolicy.Policy.Preferred)
+ sizePolicy.setHorizontalStretch(0)
+ sizePolicy.setVerticalStretch(0)
+ sizePolicy.setHeightForWidth(self.PB_preferences.sizePolicy().hasHeightForWidth())
+ self.PB_preferences.setSizePolicy(sizePolicy)
+ self.PB_preferences.setCursor(QtGui.QCursor(QtCore.Qt.CursorShape.PointingHandCursor))
+ self.PB_preferences.setStyleSheet("QPushButton {\n"
+" font: 11pt \"MS Shell Dlg 2\";\n"
+" background-color: #008CBA;\n"
+" color: white;\n"
+" padding: 10px;\n"
+" font-size: 14px;\n"
+"font: 11pt \"MS Shell Dlg 2\";\n"
+" border: none;\n"
+" border-radius: 10px;\n"
+" margin: 5px;\n"
+"}\n"
+"QPushButton:hover {\n"
+" background-color: #007B9E;\n"
+"}\n"
+"QPushButton:pressed {\n"
+" background-color: #005f73;\n"
+"}\n"
+"")
+ icon1 = QtGui.QIcon()
+ icon1.addPixmap(QtGui.QPixmap("c:\\Users\\kahra\\OneDrive\\Masaüstü\\PROGRAM\\PYTHON\\PROJECT\\PYQT6_PROJECTS\\TAMAMLANANLAR\\PROJE\\VIT_Project\\icons/news.svg"), QtGui.QIcon.Mode.Normal, QtGui.QIcon.State.Off)
+ self.PB_preferences.setIcon(icon1)
+ self.PB_preferences.setIconSize(QtCore.QSize(50, 50))
+ self.PB_preferences.setObjectName("PB_preferences")
+ self.gridLayout.addWidget(self.PB_preferences, 2, 2, 1, 1)
+ self.pb_submittedProjects = QtWidgets.QPushButton(parent=self.frame_mentor_preference)
+ sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Preferred, QtWidgets.QSizePolicy.Policy.Preferred)
+ sizePolicy.setHorizontalStretch(0)
+ sizePolicy.setVerticalStretch(0)
+ sizePolicy.setHeightForWidth(self.pb_submittedProjects.sizePolicy().hasHeightForWidth())
+ self.pb_submittedProjects.setSizePolicy(sizePolicy)
+ self.pb_submittedProjects.setMinimumSize(QtCore.QSize(0, 0))
+ self.pb_submittedProjects.setCursor(QtGui.QCursor(QtCore.Qt.CursorShape.PointingHandCursor))
+ self.pb_submittedProjects.setStyleSheet("QPushButton {\n"
+" font: 11pt \"MS Shell Dlg 2\";\n"
+" background-color: #008CBA;\n"
+" color: white;\n"
+" padding: 10px;\n"
+" font-size: 14px;\n"
+"font: 11pt \"MS Shell Dlg 2\";\n"
+" border: none;\n"
+" border-radius: 10px;\n"
+" margin: 5px;\n"
+"}\n"
+"QPushButton:hover {\n"
+" background-color: #007B9E;\n"
+"}\n"
+"QPushButton:pressed {\n"
+" background-color: #005f73;\n"
+"}\n"
+"")
+ icon2 = QtGui.QIcon()
+ icon2.addPixmap(QtGui.QPixmap("c:\\Users\\kahra\\OneDrive\\Masaüstü\\PROGRAM\\PYTHON\\PROJECT\\PYQT6_PROJECTS\\TAMAMLANANLAR\\PROJE\\VIT_Project\\icons/maps.svg"), QtGui.QIcon.Mode.Normal, QtGui.QIcon.State.Off)
+ self.pb_submittedProjects.setIcon(icon2)
+ self.pb_submittedProjects.setIconSize(QtCore.QSize(50, 50))
+ self.pb_submittedProjects.setObjectName("pb_submittedProjects")
+ self.gridLayout.addWidget(self.pb_submittedProjects, 2, 0, 1, 1)
+ self.PB_interviews_find = QtWidgets.QPushButton(parent=self.frame_mentor_preference)
+ sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Preferred, QtWidgets.QSizePolicy.Policy.Preferred)
+ sizePolicy.setHorizontalStretch(0)
+ sizePolicy.setVerticalStretch(0)
+ sizePolicy.setHeightForWidth(self.PB_interviews_find.sizePolicy().hasHeightForWidth())
+ self.PB_interviews_find.setSizePolicy(sizePolicy)
+ self.PB_interviews_find.setMinimumSize(QtCore.QSize(0, 0))
+ self.PB_interviews_find.setCursor(QtGui.QCursor(QtCore.Qt.CursorShape.PointingHandCursor))
+ self.PB_interviews_find.setStyleSheet("QPushButton {\n"
+" font: 11pt \"MS Shell Dlg 2\";\n"
+" background-color: #008CBA;\n"
+" color: white;\n"
+" padding: 10px;\n"
+" font-size: 14px;\n"
+"font: 11pt \"MS Shell Dlg 2\";\n"
+" border: none;\n"
+" border-radius: 10px;\n"
+" margin: 5px;\n"
+"}\n"
+"QPushButton:hover {\n"
+" background-color: #007B9E;\n"
+"}\n"
+"QPushButton:pressed {\n"
+" background-color: #005f73;\n"
+"}\n"
+"")
+ icon3 = QtGui.QIcon()
+ icon3.addPixmap(QtGui.QPixmap("c:\\Users\\kahra\\OneDrive\\Masaüstü\\PROGRAM\\PYTHON\\PROJECT\\PYQT6_PROJECTS\\TAMAMLANANLAR\\PROJE\\VIT_Project\\icons/search-user.svg"), QtGui.QIcon.Mode.Normal, QtGui.QIcon.State.Off)
+ self.PB_interviews_find.setIcon(icon3)
+ self.PB_interviews_find.setIconSize(QtCore.QSize(50, 50))
+ self.PB_interviews_find.setObjectName("PB_interviews_find")
+ self.gridLayout.addWidget(self.PB_interviews_find, 0, 0, 1, 1)
+ self.pb_incomingprojects = QtWidgets.QPushButton(parent=self.frame_mentor_preference)
+ sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Preferred, QtWidgets.QSizePolicy.Policy.Preferred)
+ sizePolicy.setHorizontalStretch(0)
+ sizePolicy.setVerticalStretch(0)
+ sizePolicy.setHeightForWidth(self.pb_incomingprojects.sizePolicy().hasHeightForWidth())
+ self.pb_incomingprojects.setSizePolicy(sizePolicy)
+ self.pb_incomingprojects.setMinimumSize(QtCore.QSize(0, 0))
+ self.pb_incomingprojects.setCursor(QtGui.QCursor(QtCore.Qt.CursorShape.PointingHandCursor))
+ self.pb_incomingprojects.setStyleSheet("QPushButton {\n"
+" font: 11pt \"MS Shell Dlg 2\";\n"
+" background-color: #008CBA;\n"
+" color: white;\n"
+" padding: 10px;\n"
+" font-size: 14px;\n"
+"font: 11pt \"MS Shell Dlg 2\";\n"
+" border: none;\n"
+" border-radius: 10px;\n"
+" margin: 5px;\n"
+"}\n"
+"QPushButton:hover {\n"
+" background-color: #007B9E;\n"
+"}\n"
+"QPushButton:pressed {\n"
+" background-color: #005f73;\n"
+"}\n"
+"")
+ icon4 = QtGui.QIcon()
+ icon4.addPixmap(QtGui.QPixmap("c:\\Users\\kahra\\OneDrive\\Masaüstü\\PROGRAM\\PYTHON\\PROJECT\\PYQT6_PROJECTS\\TAMAMLANANLAR\\PROJE\\VIT_Project\\icons/refresh-page.svg"), QtGui.QIcon.Mode.Normal, QtGui.QIcon.State.Off)
+ self.pb_incomingprojects.setIcon(icon4)
+ self.pb_incomingprojects.setIconSize(QtCore.QSize(50, 50))
+ self.pb_incomingprojects.setObjectName("pb_incomingprojects")
+ self.gridLayout.addWidget(self.pb_incomingprojects, 2, 1, 1, 1)
+ self.lineEdit = QtWidgets.QLineEdit(parent=self.frame_mentor_preference)
+ self.lineEdit.setMinimumSize(QtCore.QSize(0, 60))
+ self.lineEdit.setStyleSheet("QLineEdit {\n"
+" padding: 10px;\n"
+" font-size: 16px;\n"
+" border: 2px solid #ccc;\n"
+" border-radius: 10px;\n"
+" margin-bottom: 10px;\n"
+"}\n"
+"\n"
+"QPushButton:hover {\n"
+" background-color: #007B9E;\n"
+"}\n"
+"QPushButton:pressed {\n"
+" background-color: #005f73;\n"
+"}\n"
+"")
+ self.lineEdit.setObjectName("lineEdit")
+ self.gridLayout.addWidget(self.lineEdit, 0, 1, 2, 3)
+ self.verticalLayout_2.addWidget(self.frame_mentor_preference)
+ self.tw_interviews = QtWidgets.QTableWidget(parent=self.centralwidget)
+ self.tw_interviews.setLayoutDirection(QtCore.Qt.LayoutDirection.LeftToRight)
+ self.tw_interviews.setAutoFillBackground(False)
+ self.tw_interviews.setStyleSheet("QTableWidget {\n"
+" \n"
+" font-size: 14px;\n"
+"font: 11pt \"MS Shell Dlg 2\";\n"
+" background-color: #f9f9f9;\n"
+" alternate-background-color: #e0e0e0;\n"
+" gridline-color: #ccc;\n"
+" border-radius: 10px;\n"
+"}\n"
+"QHeaderView::section {\n"
+" background-color: #008CBA;\n"
+" color: white;\n"
+" padding: 5px;\n"
+" font-size: 14px;\n"
+"font: 11pt \"MS Shell Dlg 2\";\n"
+"}")
+ self.tw_interviews.setAutoScrollMargin(16)
+ self.tw_interviews.setObjectName("tw_interviews")
+ self.tw_interviews.setColumnCount(3)
+ self.tw_interviews.setRowCount(0)
+ item = QtWidgets.QTableWidgetItem()
+ font = QtGui.QFont()
+ font.setPointSize(12)
+ item.setFont(font)
+ self.tw_interviews.setHorizontalHeaderItem(0, item)
+ item = QtWidgets.QTableWidgetItem()
+ font = QtGui.QFont()
+ font.setPointSize(12)
+ item.setFont(font)
+ self.tw_interviews.setHorizontalHeaderItem(1, item)
+ item = QtWidgets.QTableWidgetItem()
+ font = QtGui.QFont()
+ font.setPointSize(12)
+ item.setFont(font)
+ self.tw_interviews.setHorizontalHeaderItem(2, item)
+ self.tw_interviews.horizontalHeader().setCascadingSectionResizes(False)
+ self.tw_interviews.horizontalHeader().setDefaultSectionSize(200)
+ self.tw_interviews.horizontalHeader().setMinimumSectionSize(22)
+ self.verticalLayout_2.addWidget(self.tw_interviews)
+ interviews.setCentralWidget(self.centralwidget)
+ self.statusbar = QtWidgets.QStatusBar(parent=interviews)
+ self.statusbar.setObjectName("statusbar")
+ interviews.setStatusBar(self.statusbar)
+
+ self.retranslateUi(interviews)
+ QtCore.QMetaObject.connectSlotsByName(interviews)
+
+ def retranslateUi(self, interviews):
+ _translate = QtCore.QCoreApplication.translate
+ interviews.setWindowTitle(_translate("interviews", "INTERVIEWS"))
+ self.label.setText(_translate("interviews", "INTERVIEWS"))
+ self.PB_interrview_exit.setText(_translate("interviews", "Exit"))
+ self.PB_preferences.setText(_translate("interviews", "Main Menu"))
+ self.pb_submittedProjects.setText(_translate("interviews", "Submitted Projects"))
+ self.PB_interviews_find.setText(_translate("interviews", "Find"))
+ self.pb_incomingprojects.setText(_translate("interviews", "Incoming Projects"))
+ item = self.tw_interviews.horizontalHeaderItem(0)
+ item.setText(_translate("interviews", "Name"))
+ item = self.tw_interviews.horizontalHeaderItem(1)
+ item.setText(_translate("interviews", "Project Delivery Time"))
+ item = self.tw_interviews.horizontalHeaderItem(2)
+ item.setText(_translate("interviews", "Project Arrival Time"))
diff --git a/login.py b/login.py
new file mode 100644
index 0000000..10c9b5c
--- /dev/null
+++ b/login.py
@@ -0,0 +1,338 @@
+# Form implementation generated from reading ui file 'login.ui'
+#
+# Created by: PyQt6 UI code generator 6.8.0
+#
+# WARNING: Any manual changes made to this file will be lost when pyuic6 is
+# run again. Do not edit this file unless you know what you are doing.
+
+
+from PyQt6 import QtCore, QtGui, QtWidgets
+
+
+class Ui_ud_login(object):
+ def setupUi(self, ud_login):
+ ud_login.setObjectName("ud_login")
+ ud_login.setEnabled(True)
+ ud_login.resize(700, 500)
+ ud_login.setMinimumSize(QtCore.QSize(700, 500))
+ ud_login.setMaximumSize(QtCore.QSize(16777215, 16777215))
+ ud_login.setBaseSize(QtCore.QSize(600, 500))
+ font = QtGui.QFont()
+ font.setFamily("MS Shell Dlg 2")
+ font.setPointSize(11)
+ font.setBold(False)
+ font.setItalic(False)
+ font.setKerning(True)
+ ud_login.setFont(font)
+ icon = QtGui.QIcon()
+ icon.addPixmap(QtGui.QPixmap("icons/logout.svg"), QtGui.QIcon.Mode.Normal, QtGui.QIcon.State.Off)
+ ud_login.setWindowIcon(icon)
+ ud_login.setStyleSheet("QWidget {\n"
+" font: 11pt \"MS Shell Dlg 2\";\n"
+" background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, \n"
+" stop:0 rgba(173, 216, 230, 255), \n"
+" stop:1 rgba(255, 255, 255, 255));\n"
+"};\n"
+"")
+ ud_login.setLocale(QtCore.QLocale(QtCore.QLocale.Language.English, QtCore.QLocale.Country.Netherlands))
+ self.verticalLayout = QtWidgets.QVBoxLayout(ud_login)
+ self.verticalLayout.setObjectName("verticalLayout")
+ self.horizontalLayout = QtWidgets.QHBoxLayout()
+ self.horizontalLayout.setSizeConstraint(QtWidgets.QLayout.SizeConstraint.SetFixedSize)
+ self.horizontalLayout.setSpacing(15)
+ self.horizontalLayout.setObjectName("horizontalLayout")
+ self.widget = QtWidgets.QWidget(parent=ud_login)
+ self.widget.setObjectName("widget")
+ self.horizontalLayout.addWidget(self.widget)
+ self.frameIcon = QtWidgets.QFrame(parent=ud_login)
+ sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Fixed, QtWidgets.QSizePolicy.Policy.Fixed)
+ sizePolicy.setHorizontalStretch(0)
+ sizePolicy.setVerticalStretch(0)
+ sizePolicy.setHeightForWidth(self.frameIcon.sizePolicy().hasHeightForWidth())
+ self.frameIcon.setSizePolicy(sizePolicy)
+ self.frameIcon.setMinimumSize(QtCore.QSize(600, 500))
+ self.frameIcon.setFrameShape(QtWidgets.QFrame.Shape.NoFrame)
+ self.frameIcon.setObjectName("frameIcon")
+ self.label_icon = QtWidgets.QLabel(parent=self.frameIcon)
+ self.label_icon.setGeometry(QtCore.QRect(0, 20, 581, 151))
+ sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Fixed, QtWidgets.QSizePolicy.Policy.Fixed)
+ sizePolicy.setHorizontalStretch(0)
+ sizePolicy.setVerticalStretch(0)
+ sizePolicy.setHeightForWidth(self.label_icon.sizePolicy().hasHeightForWidth())
+ self.label_icon.setSizePolicy(sizePolicy)
+ self.label_icon.setToolTipDuration(2)
+ self.label_icon.setStyleSheet("QPushButton {\n"
+" background-color: #008CBA;\n"
+" color: white;\n"
+" padding: 10px;\n"
+" font-size: 14px;\n"
+" border: none;\n"
+" border-radius: 10px;\n"
+" margin: 5px;\n"
+"}\n"
+"QPushButton:hover {\n"
+" background-color: #007B9E;\n"
+"}\n"
+"QPushButton:pressed {\n"
+" background-color: #005f73;\n"
+"}\n"
+"QComboBox {\n"
+" padding: 10px;\n"
+" font-size: 14px;\n"
+" border: 2px solid #ccc;\n"
+" border-radius: 10px;\n"
+" margin-bottom: 10px;\n"
+"}\n"
+"QComboBox::drop-down {\n"
+" subcontrol-origin: padding;\n"
+" subcontrol-position: top right;\n"
+" width: 30px;\n"
+" border-left-width: 1px;\n"
+" border-left-color: #ccc;\n"
+" border-left-style: solid;\n"
+" border-top-right-radius: 10px;\n"
+" border-bottom-right-radius: 10px;\n"
+"};\n"
+" padding: 10px;\n"
+" font-size: 14px;\n"
+" border: 2px solid #ccc;\n"
+" border-radius: 10px;\n"
+" margin-bottom: 10px;\n"
+"")
+ self.label_icon.setText("")
+ self.label_icon.setPixmap(QtGui.QPixmap("icons/WeRHere2.png"))
+ self.label_icon.setScaledContents(True)
+ self.label_icon.setWordWrap(False)
+ self.label_icon.setObjectName("label_icon")
+ self.frame = QtWidgets.QFrame(parent=self.frameIcon)
+ self.frame.setGeometry(QtCore.QRect(0, 200, 581, 281))
+ self.frame.setToolTipDuration(2)
+ self.frame.setFrameShape(QtWidgets.QFrame.Shape.NoFrame)
+ self.frame.setObjectName("frame")
+ self.groupbox_user_login = QtWidgets.QGroupBox(parent=self.frame)
+ self.groupbox_user_login.setGeometry(QtCore.QRect(25, 0, 541, 191))
+ self.groupbox_user_login.setStyleSheet("QComboBox {\n"
+" padding: 10px;\n"
+" font-size: 14px;\n"
+" border: 2px solid #ccc;\n"
+" border-radius: 10px;\n"
+" margin-bottom: 10px;\n"
+"}\n"
+"QComboBox::drop-down {\n"
+" subcontrol-origin: padding;\n"
+" subcontrol-position: top right;\n"
+" width: 30px;\n"
+" border-left-width: 1px;\n"
+" border-left-color: #ccc;\n"
+" border-left-style: solid;\n"
+" border-top-right-radius: 10px;\n"
+" border-bottom-right-radius: 10px;\n"
+"}\n"
+"")
+ self.groupbox_user_login.setLocale(QtCore.QLocale(QtCore.QLocale.Language.English, QtCore.QLocale.Country.UnitedStates))
+ self.groupbox_user_login.setObjectName("groupbox_user_login")
+ self.label_user_name = QtWidgets.QLabel(parent=self.groupbox_user_login)
+ self.label_user_name.setGeometry(QtCore.QRect(14, 30, 141, 60))
+ font = QtGui.QFont()
+ font.setFamily("MS Shell Dlg 2")
+ font.setPointSize(11)
+ font.setBold(False)
+ font.setItalic(False)
+ self.label_user_name.setFont(font)
+ self.label_user_name.setLayoutDirection(QtCore.Qt.LayoutDirection.RightToLeft)
+ self.label_user_name.setStyleSheet("QLabel {\n"
+" background-color: #008CBA;\n"
+" color: white;\n"
+" padding: 10px;\n"
+" font-size: 14px;\n"
+" font: 11pt \"MS Shell Dlg 2\";\n"
+" border: none;\n"
+" border-radius: 10px;\n"
+" margin: 5px;\n"
+"}\n"
+"QLabel:hover {\n"
+" background-color: #007B9E;\n"
+"}\n"
+"QLabel:pressed {\n"
+" background-color: #005f73;\n"
+"}")
+ self.label_user_name.setTextFormat(QtCore.Qt.TextFormat.PlainText)
+ self.label_user_name.setAlignment(QtCore.Qt.AlignmentFlag.AlignRight|QtCore.Qt.AlignmentFlag.AlignTrailing|QtCore.Qt.AlignmentFlag.AlignVCenter)
+ self.label_user_name.setObjectName("label_user_name")
+ self.lineedit_user_login = QtWidgets.QLineEdit(parent=self.groupbox_user_login)
+ self.lineedit_user_login.setGeometry(QtCore.QRect(180, 35, 351, 59))
+ font = QtGui.QFont()
+ font.setFamily("MS Shell Dlg 2")
+ font.setPointSize(11)
+ font.setBold(False)
+ font.setItalic(False)
+ self.lineedit_user_login.setFont(font)
+ self.lineedit_user_login.setToolTipDuration(1)
+ self.lineedit_user_login.setStyleSheet("QLineEdit {\n"
+" padding: 10px;\n"
+" font-size: 16px;\n"
+" border: 2px solid #ccc;\n"
+" border-radius: 10px;\n"
+" margin-bottom: 10px;\n"
+"}")
+ self.lineedit_user_login.setInputMask("")
+ self.lineedit_user_login.setText("")
+ self.lineedit_user_login.setObjectName("lineedit_user_login")
+ self.label_password = QtWidgets.QLabel(parent=self.groupbox_user_login)
+ self.label_password.setGeometry(QtCore.QRect(14, 93, 141, 60))
+ font = QtGui.QFont()
+ font.setFamily("MS Shell Dlg 2")
+ font.setPointSize(11)
+ font.setBold(False)
+ font.setItalic(False)
+ self.label_password.setFont(font)
+ self.label_password.setLayoutDirection(QtCore.Qt.LayoutDirection.RightToLeft)
+ self.label_password.setStyleSheet("QLabel {\n"
+" \n"
+" background-color: #008CBA;\n"
+" color: white;\n"
+" padding: 10px;\n"
+" font-size: 14px;\n"
+"font: 11pt \"MS Shell Dlg 2\";\n"
+" border: none;\n"
+" border-radius: 10px;\n"
+" margin: 5px;\n"
+"}\n"
+"QLabel:hover {\n"
+" background-color: #007B9E;\n"
+"}\n"
+"QLabel:pressed {\n"
+" background-color: #005f73;\n"
+"}")
+ self.label_password.setTextFormat(QtCore.Qt.TextFormat.PlainText)
+ self.label_password.setAlignment(QtCore.Qt.AlignmentFlag.AlignRight|QtCore.Qt.AlignmentFlag.AlignTrailing|QtCore.Qt.AlignmentFlag.AlignVCenter)
+ self.label_password.setObjectName("label_password")
+ self.lineedit_password = QtWidgets.QLineEdit(parent=self.groupbox_user_login)
+ self.lineedit_password.setGeometry(QtCore.QRect(180, 100, 351, 60))
+ font = QtGui.QFont()
+ font.setFamily("MS Shell Dlg 2")
+ font.setPointSize(11)
+ font.setBold(False)
+ font.setItalic(False)
+ self.lineedit_password.setFont(font)
+ self.lineedit_password.setToolTipDuration(1)
+ self.lineedit_password.setStyleSheet("QLineEdit {\n"
+" padding: 10px;\n"
+" font-size: 16px;\n"
+" border: 2px solid #ccc;\n"
+" border-radius: 10px;\n"
+" margin-bottom: 10px;\n"
+"}")
+ self.lineedit_password.setInputMethodHints(QtCore.Qt.InputMethodHint.ImhHiddenText|QtCore.Qt.InputMethodHint.ImhNoAutoUppercase|QtCore.Qt.InputMethodHint.ImhNoPredictiveText|QtCore.Qt.InputMethodHint.ImhSensitiveData)
+ self.lineedit_password.setText("")
+ self.lineedit_password.setEchoMode(QtWidgets.QLineEdit.EchoMode.Password)
+ self.lineedit_password.setCursorMoveStyle(QtCore.Qt.CursorMoveStyle.LogicalMoveStyle)
+ self.lineedit_password.setClearButtonEnabled(False)
+ self.lineedit_password.setObjectName("lineedit_password")
+ self.label_error = QtWidgets.QLabel(parent=self.groupbox_user_login)
+ self.label_error.setGeometry(QtCore.QRect(190, 159, 331, 21))
+ font = QtGui.QFont()
+ font.setFamily("MS Shell Dlg 2")
+ font.setPointSize(11)
+ font.setBold(False)
+ font.setItalic(False)
+ self.label_error.setFont(font)
+ self.label_error.setToolTipDuration(-2)
+ self.label_error.setStyleSheet("Qlabel{\n"
+" font: 12pt \"MS Shell Dlg 2\";\n"
+" color: rgb(182, 29, 10);\n"
+" border: none;\n"
+" border-radius: 12px;\n"
+" margin: 5px;\n"
+"}")
+ self.label_error.setText("")
+ self.label_error.setObjectName("label_error")
+ self.lineedit_user_login.raise_()
+ self.label_user_name.raise_()
+ self.label_password.raise_()
+ self.lineedit_password.raise_()
+ self.label_error.raise_()
+ self.pushbutton_login = QtWidgets.QPushButton(parent=self.frame)
+ self.pushbutton_login.setGeometry(QtCore.QRect(210, 200, 171, 60))
+ self.pushbutton_login.setCursor(QtGui.QCursor(QtCore.Qt.CursorShape.PointingHandCursor))
+ self.pushbutton_login.setStyleSheet("QPushButton {\n"
+" \n"
+" background-color: #008CBA;\n"
+" color: white;\n"
+" padding: 10px;\n"
+" font-size: 14px;\n"
+"font: 11pt \"MS Shell Dlg 2\";\n"
+" border: none;\n"
+" border-radius: 10px;\n"
+" margin: 5px;\n"
+"}\n"
+"QPushButton:hover {\n"
+" background-color: #007B9E;\n"
+"}\n"
+"QPushButton:pressed {\n"
+" background-color: #005f73;\n"
+"}\n"
+"")
+ icon1 = QtGui.QIcon()
+ icon1.addPixmap(QtGui.QPixmap("icons/login.svg"), QtGui.QIcon.Mode.Normal, QtGui.QIcon.State.Off)
+ self.pushbutton_login.setIcon(icon1)
+ self.pushbutton_login.setIconSize(QtCore.QSize(50, 50))
+ self.pushbutton_login.setObjectName("pushbutton_login")
+ self.pushbutton_exit = QtWidgets.QPushButton(parent=self.frame)
+ self.pushbutton_exit.setGeometry(QtCore.QRect(390, 200, 171, 61))
+ self.pushbutton_exit.setCursor(QtGui.QCursor(QtCore.Qt.CursorShape.PointingHandCursor))
+ self.pushbutton_exit.setStyleSheet("QPushButton {\n"
+" background-color: #008CBA;\n"
+" color: white;\n"
+" padding: 10px;\n"
+" font-size: 14px;\n"
+"font: 11pt \"MS Shell Dlg 2\";\n"
+" border: none;\n"
+" border-radius: 10px;\n"
+" margin: 5px;\n"
+"}\n"
+"QPushButton:hover {\n"
+" background-color: #007B9E;\n"
+"}\n"
+"QPushButton:pressed {\n"
+" background-color: #005f73;\n"
+"}")
+ icon2 = QtGui.QIcon()
+ icon2.addPixmap(QtGui.QPixmap("icons/power.svg"), QtGui.QIcon.Mode.Normal, QtGui.QIcon.State.Off)
+ self.pushbutton_exit.setIcon(icon2)
+ self.pushbutton_exit.setIconSize(QtCore.QSize(50, 50))
+ self.pushbutton_exit.setObjectName("pushbutton_exit")
+ self.horizontalLayout.addWidget(self.frameIcon)
+ self.widget_2 = QtWidgets.QWidget(parent=ud_login)
+ self.widget_2.setObjectName("widget_2")
+ self.horizontalLayout.addWidget(self.widget_2)
+ self.horizontalLayout.setStretch(0, 1)
+ self.horizontalLayout.setStretch(1, 13)
+ self.horizontalLayout.setStretch(2, 1)
+ self.verticalLayout.addLayout(self.horizontalLayout)
+
+ self.retranslateUi(ud_login)
+ QtCore.QMetaObject.connectSlotsByName(ud_login)
+
+ def retranslateUi(self, ud_login):
+ _translate = QtCore.QCoreApplication.translate
+ ud_login.setWindowTitle(_translate("ud_login", "User Login Window"))
+ self.groupbox_user_login.setTitle(_translate("ud_login", "User Login"))
+ self.label_user_name.setText(_translate("ud_login", "User Name : "))
+ self.lineedit_user_login.setPlaceholderText(_translate("ud_login", "User Name"))
+ self.label_password.setText(_translate("ud_login", "Password: "))
+ self.lineedit_password.setPlaceholderText(_translate("ud_login", "Password"))
+ self.pushbutton_login.setText(_translate("ud_login", "Login"))
+ self.pushbutton_login.setShortcut(_translate("ud_login", "Return"))
+ self.pushbutton_exit.setText(_translate("ud_login", "Exit"))
+ self.pushbutton_exit.setShortcut(_translate("ud_login", "Ctrl+E"))
+
+
+if __name__ == "__main__":
+ import sys
+ app = QtWidgets.QApplication(sys.argv)
+ ud_login = QtWidgets.QDialog()
+ ui = Ui_ud_login()
+ ui.setupUi(ud_login)
+ ud_login.show()
+ sys.exit(app.exec())
diff --git a/login.ui b/login.ui
new file mode 100644
index 0000000..d04e893
--- /dev/null
+++ b/login.ui
@@ -0,0 +1,543 @@
+
+
+ ud_login
+
+
+ true
+
+
+
+ 0
+ 0
+ 700
+ 500
+
+
+
+
+ 700
+ 500
+
+
+
+
+ 16777215
+ 16777215
+
+
+
+
+ 600
+ 500
+
+
+
+
+ MS Shell Dlg 2
+ 11
+ false
+ false
+ true
+
+
+
+ User Login Window
+
+
+
+ icons/logout.svgicons/logout.svg
+
+
+ QWidget {
+ font: 11pt "MS Shell Dlg 2";
+ background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1,
+ stop:0 rgba(173, 216, 230, 255),
+ stop:1 rgba(255, 255, 255, 255));
+};
+
+
+
+
+
+
+ -
+
+
+ 15
+
+
+ QLayout::SizeConstraint::SetFixedSize
+
+
-
+
+
+ -
+
+
+
+ 0
+ 0
+
+
+
+
+ 600
+ 500
+
+
+
+ QFrame::Shape::NoFrame
+
+
+
+
+ 0
+ 20
+ 581
+ 151
+
+
+
+
+ 0
+ 0
+
+
+
+ 2
+
+
+ QPushButton {
+ background-color: #008CBA;
+ color: white;
+ padding: 10px;
+ font-size: 14px;
+ border: none;
+ border-radius: 10px;
+ margin: 5px;
+}
+QPushButton:hover {
+ background-color: #007B9E;
+}
+QPushButton:pressed {
+ background-color: #005f73;
+}
+QComboBox {
+ padding: 10px;
+ font-size: 14px;
+ border: 2px solid #ccc;
+ border-radius: 10px;
+ margin-bottom: 10px;
+}
+QComboBox::drop-down {
+ subcontrol-origin: padding;
+ subcontrol-position: top right;
+ width: 30px;
+ border-left-width: 1px;
+ border-left-color: #ccc;
+ border-left-style: solid;
+ border-top-right-radius: 10px;
+ border-bottom-right-radius: 10px;
+};
+ padding: 10px;
+ font-size: 14px;
+ border: 2px solid #ccc;
+ border-radius: 10px;
+ margin-bottom: 10px;
+
+
+
+
+
+
+ icons/WeRHere2.png
+
+
+ true
+
+
+ false
+
+
+
+
+
+ 0
+ 200
+ 581
+ 281
+
+
+
+ 2
+
+
+ QFrame::Shape::NoFrame
+
+
+
+
+ 25
+ 0
+ 541
+ 191
+
+
+
+ QComboBox {
+ padding: 10px;
+ font-size: 14px;
+ border: 2px solid #ccc;
+ border-radius: 10px;
+ margin-bottom: 10px;
+}
+QComboBox::drop-down {
+ subcontrol-origin: padding;
+ subcontrol-position: top right;
+ width: 30px;
+ border-left-width: 1px;
+ border-left-color: #ccc;
+ border-left-style: solid;
+ border-top-right-radius: 10px;
+ border-bottom-right-radius: 10px;
+}
+
+
+
+
+
+
+ User Login
+
+
+
+
+ 14
+ 30
+ 141
+ 60
+
+
+
+
+ MS Shell Dlg 2
+ 11
+ false
+ false
+
+
+
+ Qt::LayoutDirection::RightToLeft
+
+
+ QLabel {
+ background-color: #008CBA;
+ color: white;
+ padding: 10px;
+ font-size: 14px;
+ font: 11pt "MS Shell Dlg 2";
+ border: none;
+ border-radius: 10px;
+ margin: 5px;
+}
+QLabel:hover {
+ background-color: #007B9E;
+}
+QLabel:pressed {
+ background-color: #005f73;
+}
+
+
+ User Name :
+
+
+ Qt::TextFormat::PlainText
+
+
+ Qt::AlignmentFlag::AlignRight|Qt::AlignmentFlag::AlignTrailing|Qt::AlignmentFlag::AlignVCenter
+
+
+
+
+
+ 180
+ 35
+ 351
+ 59
+
+
+
+
+ MS Shell Dlg 2
+ 11
+ false
+ false
+
+
+
+ 1
+
+
+ QLineEdit {
+ padding: 10px;
+ font-size: 16px;
+ border: 2px solid #ccc;
+ border-radius: 10px;
+ margin-bottom: 10px;
+}
+
+
+
+
+
+
+
+
+ User Name
+
+
+
+
+
+ 14
+ 93
+ 141
+ 60
+
+
+
+
+ MS Shell Dlg 2
+ 11
+ false
+ false
+
+
+
+ Qt::LayoutDirection::RightToLeft
+
+
+ QLabel {
+
+ background-color: #008CBA;
+ color: white;
+ padding: 10px;
+ font-size: 14px;
+font: 11pt "MS Shell Dlg 2";
+ border: none;
+ border-radius: 10px;
+ margin: 5px;
+}
+QLabel:hover {
+ background-color: #007B9E;
+}
+QLabel:pressed {
+ background-color: #005f73;
+}
+
+
+ Password:
+
+
+ Qt::TextFormat::PlainText
+
+
+ Qt::AlignmentFlag::AlignRight|Qt::AlignmentFlag::AlignTrailing|Qt::AlignmentFlag::AlignVCenter
+
+
+
+
+
+ 180
+ 100
+ 351
+ 60
+
+
+
+
+ MS Shell Dlg 2
+ 11
+ false
+ false
+
+
+
+ 1
+
+
+ QLineEdit {
+ padding: 10px;
+ font-size: 16px;
+ border: 2px solid #ccc;
+ border-radius: 10px;
+ margin-bottom: 10px;
+}
+
+
+ Qt::InputMethodHint::ImhHiddenText|Qt::InputMethodHint::ImhNoAutoUppercase|Qt::InputMethodHint::ImhNoPredictiveText|Qt::InputMethodHint::ImhSensitiveData
+
+
+
+
+
+ QLineEdit::EchoMode::Password
+
+
+ Password
+
+
+ Qt::CursorMoveStyle::LogicalMoveStyle
+
+
+ false
+
+
+
+
+
+ 190
+ 159
+ 331
+ 21
+
+
+
+
+ MS Shell Dlg 2
+ 11
+ false
+ false
+
+
+
+ -2
+
+
+ Qlabel{
+ font: 12pt "MS Shell Dlg 2";
+ color: rgb(182, 29, 10);
+ border: none;
+ border-radius: 12px;
+ margin: 5px;
+}
+
+
+
+
+
+ lineedit_user_login
+ label_user_name
+ label_password
+ lineedit_password
+ label_error
+
+
+
+
+ 210
+ 200
+ 171
+ 60
+
+
+
+ PointingHandCursor
+
+
+ QPushButton {
+
+ background-color: #008CBA;
+ color: white;
+ padding: 10px;
+ font-size: 14px;
+font: 11pt "MS Shell Dlg 2";
+ border: none;
+ border-radius: 10px;
+ margin: 5px;
+}
+QPushButton:hover {
+ background-color: #007B9E;
+}
+QPushButton:pressed {
+ background-color: #005f73;
+}
+
+
+
+ Login
+
+
+
+ icons/login.svgicons/login.svg
+
+
+
+ 50
+ 50
+
+
+
+ Return
+
+
+
+
+
+ 390
+ 200
+ 171
+ 61
+
+
+
+ PointingHandCursor
+
+
+ QPushButton {
+ background-color: #008CBA;
+ color: white;
+ padding: 10px;
+ font-size: 14px;
+font: 11pt "MS Shell Dlg 2";
+ border: none;
+ border-radius: 10px;
+ margin: 5px;
+}
+QPushButton:hover {
+ background-color: #007B9E;
+}
+QPushButton:pressed {
+ background-color: #005f73;
+}
+
+
+ Exit
+
+
+
+ icons/power.svgicons/power.svg
+
+
+
+ 50
+ 50
+
+
+
+ Ctrl+E
+
+
+
+
+
+ -
+
+
+
+
+
+
+
+
+
diff --git a/login_ui.py b/login_ui.py
new file mode 100644
index 0000000..1eeb919
--- /dev/null
+++ b/login_ui.py
@@ -0,0 +1,328 @@
+# Form implementation generated from reading ui file 'c:\Users\kahra\OneDrive\Masaüstü\PROGRAM\PYTHON\PROJECT\PYQT6_PROJECTS\TAMAMLANANLAR\PROJE\VIT_Project\login.ui'
+#
+# Created by: PyQt6 UI code generator 6.8.0
+#
+# WARNING: Any manual changes made to this file will be lost when pyuic6 is
+# run again. Do not edit this file unless you know what you are doing.
+
+
+from PyQt6 import QtCore, QtGui, QtWidgets
+
+
+class Ui_ud_login(object):
+ def setupUi(self, ud_login):
+ ud_login.setObjectName("ud_login")
+ ud_login.setEnabled(True)
+ ud_login.resize(700, 500)
+ ud_login.setMinimumSize(QtCore.QSize(700, 500))
+ ud_login.setMaximumSize(QtCore.QSize(16777215, 16777215))
+ ud_login.setBaseSize(QtCore.QSize(600, 500))
+ font = QtGui.QFont()
+ font.setFamily("MS Shell Dlg 2")
+ font.setPointSize(11)
+ font.setBold(False)
+ font.setItalic(False)
+ font.setKerning(True)
+ ud_login.setFont(font)
+ icon = QtGui.QIcon()
+ icon.addPixmap(QtGui.QPixmap("c:\\Users\\kahra\\OneDrive\\Masaüstü\\PROGRAM\\PYTHON\\PROJECT\\PYQT6_PROJECTS\\TAMAMLANANLAR\\PROJE\\VIT_Project\\icons/logout.svg"), QtGui.QIcon.Mode.Normal, QtGui.QIcon.State.Off)
+ ud_login.setWindowIcon(icon)
+ ud_login.setStyleSheet("QWidget {\n"
+" font: 11pt \"MS Shell Dlg 2\";\n"
+" background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, \n"
+" stop:0 rgba(173, 216, 230, 255), \n"
+" stop:1 rgba(255, 255, 255, 255));\n"
+"};\n"
+"")
+ ud_login.setLocale(QtCore.QLocale(QtCore.QLocale.Language.English, QtCore.QLocale.Country.Netherlands))
+ self.verticalLayout = QtWidgets.QVBoxLayout(ud_login)
+ self.verticalLayout.setObjectName("verticalLayout")
+ self.horizontalLayout = QtWidgets.QHBoxLayout()
+ self.horizontalLayout.setSizeConstraint(QtWidgets.QLayout.SizeConstraint.SetFixedSize)
+ self.horizontalLayout.setSpacing(15)
+ self.horizontalLayout.setObjectName("horizontalLayout")
+ self.widget = QtWidgets.QWidget(parent=ud_login)
+ self.widget.setObjectName("widget")
+ self.horizontalLayout.addWidget(self.widget)
+ self.frameIcon = QtWidgets.QFrame(parent=ud_login)
+ sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Fixed, QtWidgets.QSizePolicy.Policy.Fixed)
+ sizePolicy.setHorizontalStretch(0)
+ sizePolicy.setVerticalStretch(0)
+ sizePolicy.setHeightForWidth(self.frameIcon.sizePolicy().hasHeightForWidth())
+ self.frameIcon.setSizePolicy(sizePolicy)
+ self.frameIcon.setMinimumSize(QtCore.QSize(600, 500))
+ self.frameIcon.setFrameShape(QtWidgets.QFrame.Shape.NoFrame)
+ self.frameIcon.setObjectName("frameIcon")
+ self.label_icon = QtWidgets.QLabel(parent=self.frameIcon)
+ self.label_icon.setGeometry(QtCore.QRect(0, 20, 581, 151))
+ sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Fixed, QtWidgets.QSizePolicy.Policy.Fixed)
+ sizePolicy.setHorizontalStretch(0)
+ sizePolicy.setVerticalStretch(0)
+ sizePolicy.setHeightForWidth(self.label_icon.sizePolicy().hasHeightForWidth())
+ self.label_icon.setSizePolicy(sizePolicy)
+ self.label_icon.setToolTipDuration(2)
+ self.label_icon.setStyleSheet("QPushButton {\n"
+" background-color: #008CBA;\n"
+" color: white;\n"
+" padding: 10px;\n"
+" font-size: 14px;\n"
+" border: none;\n"
+" border-radius: 10px;\n"
+" margin: 5px;\n"
+"}\n"
+"QPushButton:hover {\n"
+" background-color: #007B9E;\n"
+"}\n"
+"QPushButton:pressed {\n"
+" background-color: #005f73;\n"
+"}\n"
+"QComboBox {\n"
+" padding: 10px;\n"
+" font-size: 14px;\n"
+" border: 2px solid #ccc;\n"
+" border-radius: 10px;\n"
+" margin-bottom: 10px;\n"
+"}\n"
+"QComboBox::drop-down {\n"
+" subcontrol-origin: padding;\n"
+" subcontrol-position: top right;\n"
+" width: 30px;\n"
+" border-left-width: 1px;\n"
+" border-left-color: #ccc;\n"
+" border-left-style: solid;\n"
+" border-top-right-radius: 10px;\n"
+" border-bottom-right-radius: 10px;\n"
+"};\n"
+" padding: 10px;\n"
+" font-size: 14px;\n"
+" border: 2px solid #ccc;\n"
+" border-radius: 10px;\n"
+" margin-bottom: 10px;\n"
+"")
+ self.label_icon.setText("")
+ self.label_icon.setPixmap(QtGui.QPixmap("c:\\Users\\kahra\\OneDrive\\Masaüstü\\PROGRAM\\PYTHON\\PROJECT\\PYQT6_PROJECTS\\TAMAMLANANLAR\\PROJE\\VIT_Project\\icons/WeRHere2.png"))
+ self.label_icon.setScaledContents(True)
+ self.label_icon.setWordWrap(False)
+ self.label_icon.setObjectName("label_icon")
+ self.frame = QtWidgets.QFrame(parent=self.frameIcon)
+ self.frame.setGeometry(QtCore.QRect(0, 200, 581, 281))
+ self.frame.setToolTipDuration(2)
+ self.frame.setFrameShape(QtWidgets.QFrame.Shape.NoFrame)
+ self.frame.setObjectName("frame")
+ self.groupbox_user_login = QtWidgets.QGroupBox(parent=self.frame)
+ self.groupbox_user_login.setGeometry(QtCore.QRect(25, 0, 541, 191))
+ self.groupbox_user_login.setStyleSheet("QComboBox {\n"
+" padding: 10px;\n"
+" font-size: 14px;\n"
+" border: 2px solid #ccc;\n"
+" border-radius: 10px;\n"
+" margin-bottom: 10px;\n"
+"}\n"
+"QComboBox::drop-down {\n"
+" subcontrol-origin: padding;\n"
+" subcontrol-position: top right;\n"
+" width: 30px;\n"
+" border-left-width: 1px;\n"
+" border-left-color: #ccc;\n"
+" border-left-style: solid;\n"
+" border-top-right-radius: 10px;\n"
+" border-bottom-right-radius: 10px;\n"
+"}\n"
+"")
+ self.groupbox_user_login.setLocale(QtCore.QLocale(QtCore.QLocale.Language.English, QtCore.QLocale.Country.UnitedStates))
+ self.groupbox_user_login.setObjectName("groupbox_user_login")
+ self.label_user_name = QtWidgets.QLabel(parent=self.groupbox_user_login)
+ self.label_user_name.setGeometry(QtCore.QRect(14, 30, 141, 60))
+ font = QtGui.QFont()
+ font.setFamily("MS Shell Dlg 2")
+ font.setPointSize(11)
+ font.setBold(False)
+ font.setItalic(False)
+ self.label_user_name.setFont(font)
+ self.label_user_name.setLayoutDirection(QtCore.Qt.LayoutDirection.RightToLeft)
+ self.label_user_name.setStyleSheet("QLabel {\n"
+" background-color: #008CBA;\n"
+" color: white;\n"
+" padding: 10px;\n"
+" font-size: 14px;\n"
+" font: 11pt \"MS Shell Dlg 2\";\n"
+" border: none;\n"
+" border-radius: 10px;\n"
+" margin: 5px;\n"
+"}\n"
+"QLabel:hover {\n"
+" background-color: #007B9E;\n"
+"}\n"
+"QLabel:pressed {\n"
+" background-color: #005f73;\n"
+"}")
+ self.label_user_name.setTextFormat(QtCore.Qt.TextFormat.PlainText)
+ self.label_user_name.setAlignment(QtCore.Qt.AlignmentFlag.AlignRight|QtCore.Qt.AlignmentFlag.AlignTrailing|QtCore.Qt.AlignmentFlag.AlignVCenter)
+ self.label_user_name.setObjectName("label_user_name")
+ self.lineedit_user_login = QtWidgets.QLineEdit(parent=self.groupbox_user_login)
+ self.lineedit_user_login.setGeometry(QtCore.QRect(180, 35, 351, 59))
+ font = QtGui.QFont()
+ font.setFamily("MS Shell Dlg 2")
+ font.setPointSize(11)
+ font.setBold(False)
+ font.setItalic(False)
+ self.lineedit_user_login.setFont(font)
+ self.lineedit_user_login.setToolTipDuration(1)
+ self.lineedit_user_login.setStyleSheet("QLineEdit {\n"
+" padding: 10px;\n"
+" font-size: 16px;\n"
+" border: 2px solid #ccc;\n"
+" border-radius: 10px;\n"
+" margin-bottom: 10px;\n"
+"}")
+ self.lineedit_user_login.setInputMask("")
+ self.lineedit_user_login.setText("")
+ self.lineedit_user_login.setObjectName("lineedit_user_login")
+ self.label_password = QtWidgets.QLabel(parent=self.groupbox_user_login)
+ self.label_password.setGeometry(QtCore.QRect(14, 93, 141, 60))
+ font = QtGui.QFont()
+ font.setFamily("MS Shell Dlg 2")
+ font.setPointSize(11)
+ font.setBold(False)
+ font.setItalic(False)
+ self.label_password.setFont(font)
+ self.label_password.setLayoutDirection(QtCore.Qt.LayoutDirection.RightToLeft)
+ self.label_password.setStyleSheet("QLabel {\n"
+" \n"
+" background-color: #008CBA;\n"
+" color: white;\n"
+" padding: 10px;\n"
+" font-size: 14px;\n"
+"font: 11pt \"MS Shell Dlg 2\";\n"
+" border: none;\n"
+" border-radius: 10px;\n"
+" margin: 5px;\n"
+"}\n"
+"QLabel:hover {\n"
+" background-color: #007B9E;\n"
+"}\n"
+"QLabel:pressed {\n"
+" background-color: #005f73;\n"
+"}")
+ self.label_password.setTextFormat(QtCore.Qt.TextFormat.PlainText)
+ self.label_password.setAlignment(QtCore.Qt.AlignmentFlag.AlignRight|QtCore.Qt.AlignmentFlag.AlignTrailing|QtCore.Qt.AlignmentFlag.AlignVCenter)
+ self.label_password.setObjectName("label_password")
+ self.lineedit_password = QtWidgets.QLineEdit(parent=self.groupbox_user_login)
+ self.lineedit_password.setGeometry(QtCore.QRect(180, 100, 351, 60))
+ font = QtGui.QFont()
+ font.setFamily("MS Shell Dlg 2")
+ font.setPointSize(11)
+ font.setBold(False)
+ font.setItalic(False)
+ self.lineedit_password.setFont(font)
+ self.lineedit_password.setToolTipDuration(1)
+ self.lineedit_password.setStyleSheet("QLineEdit {\n"
+" padding: 10px;\n"
+" font-size: 16px;\n"
+" border: 2px solid #ccc;\n"
+" border-radius: 10px;\n"
+" margin-bottom: 10px;\n"
+"}")
+ self.lineedit_password.setInputMethodHints(QtCore.Qt.InputMethodHint.ImhHiddenText|QtCore.Qt.InputMethodHint.ImhNoAutoUppercase|QtCore.Qt.InputMethodHint.ImhNoPredictiveText|QtCore.Qt.InputMethodHint.ImhSensitiveData)
+ self.lineedit_password.setText("")
+ self.lineedit_password.setEchoMode(QtWidgets.QLineEdit.EchoMode.Password)
+ self.lineedit_password.setCursorMoveStyle(QtCore.Qt.CursorMoveStyle.LogicalMoveStyle)
+ self.lineedit_password.setClearButtonEnabled(False)
+ self.lineedit_password.setObjectName("lineedit_password")
+ self.label_error = QtWidgets.QLabel(parent=self.groupbox_user_login)
+ self.label_error.setGeometry(QtCore.QRect(190, 159, 331, 21))
+ font = QtGui.QFont()
+ font.setFamily("MS Shell Dlg 2")
+ font.setPointSize(11)
+ font.setBold(False)
+ font.setItalic(False)
+ self.label_error.setFont(font)
+ self.label_error.setToolTipDuration(-2)
+ self.label_error.setStyleSheet("Qlabel{\n"
+" font: 12pt \"MS Shell Dlg 2\";\n"
+" color: rgb(182, 29, 10);\n"
+" border: none;\n"
+" border-radius: 12px;\n"
+" margin: 5px;\n"
+"}")
+ self.label_error.setText("")
+ self.label_error.setObjectName("label_error")
+ self.lineedit_user_login.raise_()
+ self.label_user_name.raise_()
+ self.label_password.raise_()
+ self.lineedit_password.raise_()
+ self.label_error.raise_()
+ self.pushbutton_login = QtWidgets.QPushButton(parent=self.frame)
+ self.pushbutton_login.setGeometry(QtCore.QRect(210, 200, 171, 60))
+ self.pushbutton_login.setCursor(QtGui.QCursor(QtCore.Qt.CursorShape.PointingHandCursor))
+ self.pushbutton_login.setStyleSheet("QPushButton {\n"
+" \n"
+" background-color: #008CBA;\n"
+" color: white;\n"
+" padding: 10px;\n"
+" font-size: 14px;\n"
+"font: 11pt \"MS Shell Dlg 2\";\n"
+" border: none;\n"
+" border-radius: 10px;\n"
+" margin: 5px;\n"
+"}\n"
+"QPushButton:hover {\n"
+" background-color: #007B9E;\n"
+"}\n"
+"QPushButton:pressed {\n"
+" background-color: #005f73;\n"
+"}\n"
+"")
+ icon1 = QtGui.QIcon()
+ icon1.addPixmap(QtGui.QPixmap("c:\\Users\\kahra\\OneDrive\\Masaüstü\\PROGRAM\\PYTHON\\PROJECT\\PYQT6_PROJECTS\\TAMAMLANANLAR\\PROJE\\VIT_Project\\icons/login.svg"), QtGui.QIcon.Mode.Normal, QtGui.QIcon.State.Off)
+ self.pushbutton_login.setIcon(icon1)
+ self.pushbutton_login.setIconSize(QtCore.QSize(50, 50))
+ self.pushbutton_login.setObjectName("pushbutton_login")
+ self.pushbutton_exit = QtWidgets.QPushButton(parent=self.frame)
+ self.pushbutton_exit.setGeometry(QtCore.QRect(390, 200, 171, 61))
+ self.pushbutton_exit.setCursor(QtGui.QCursor(QtCore.Qt.CursorShape.PointingHandCursor))
+ self.pushbutton_exit.setStyleSheet("QPushButton {\n"
+" background-color: #008CBA;\n"
+" color: white;\n"
+" padding: 10px;\n"
+" font-size: 14px;\n"
+"font: 11pt \"MS Shell Dlg 2\";\n"
+" border: none;\n"
+" border-radius: 10px;\n"
+" margin: 5px;\n"
+"}\n"
+"QPushButton:hover {\n"
+" background-color: #007B9E;\n"
+"}\n"
+"QPushButton:pressed {\n"
+" background-color: #005f73;\n"
+"}")
+ icon2 = QtGui.QIcon()
+ icon2.addPixmap(QtGui.QPixmap("c:\\Users\\kahra\\OneDrive\\Masaüstü\\PROGRAM\\PYTHON\\PROJECT\\PYQT6_PROJECTS\\TAMAMLANANLAR\\PROJE\\VIT_Project\\icons/power.svg"), QtGui.QIcon.Mode.Normal, QtGui.QIcon.State.Off)
+ self.pushbutton_exit.setIcon(icon2)
+ self.pushbutton_exit.setIconSize(QtCore.QSize(50, 50))
+ self.pushbutton_exit.setObjectName("pushbutton_exit")
+ self.horizontalLayout.addWidget(self.frameIcon)
+ self.widget_2 = QtWidgets.QWidget(parent=ud_login)
+ self.widget_2.setObjectName("widget_2")
+ self.horizontalLayout.addWidget(self.widget_2)
+ self.horizontalLayout.setStretch(0, 1)
+ self.horizontalLayout.setStretch(1, 13)
+ self.horizontalLayout.setStretch(2, 1)
+ self.verticalLayout.addLayout(self.horizontalLayout)
+
+ self.retranslateUi(ud_login)
+ QtCore.QMetaObject.connectSlotsByName(ud_login)
+
+ def retranslateUi(self, ud_login):
+ _translate = QtCore.QCoreApplication.translate
+ ud_login.setWindowTitle(_translate("ud_login", "User Login Window"))
+ self.groupbox_user_login.setTitle(_translate("ud_login", "User Login"))
+ self.label_user_name.setText(_translate("ud_login", "User Name : "))
+ self.lineedit_user_login.setPlaceholderText(_translate("ud_login", "User Name"))
+ self.label_password.setText(_translate("ud_login", "Password: "))
+ self.lineedit_password.setPlaceholderText(_translate("ud_login", "Password"))
+ self.pushbutton_login.setText(_translate("ud_login", "Login"))
+ self.pushbutton_login.setShortcut(_translate("ud_login", "Return"))
+ self.pushbutton_exit.setText(_translate("ud_login", "Exit"))
+ self.pushbutton_exit.setShortcut(_translate("ud_login", "Ctrl+E"))
diff --git a/mail.py b/mail.py
new file mode 100644
index 0000000..a874d21
--- /dev/null
+++ b/mail.py
@@ -0,0 +1,134 @@
+import smtplib
+from email.mime.multipart import MIMEMultipart
+from email.mime.text import MIMEText
+from email.mime.base import MIMEBase
+from email import encoders
+
+class MailSender:
+ def __init__(self, sender_email = "mustafa.mgundogdu@gmail.com", sender_password = "pzcg mfls lwlc txaq", smtp_server = "smtp.gmail.com", smtp_port = 587):
+ self.sender_email = sender_email
+ self.sender_password = sender_password
+ self.smtp_server = smtp_server
+ self.smtp_port = smtp_port
+
+ def send_email(self, recipient_email, subject, message):
+ try:
+ msg = MIMEMultipart()
+ msg['From'] = self.sender_email
+ msg['To'] = recipient_email
+ msg['Subject'] = subject
+ msg.attach(MIMEText(message, 'plain'))
+
+ server = smtplib.SMTP(self.smtp_server, self.smtp_port)
+ server.starttls()
+ server.login(self.sender_email, self.sender_password)
+ server.sendmail(self.sender_email, recipient_email, msg.as_string())
+ server.quit()
+ return True
+ except Exception as e:
+ print(f"An error occurred: {e}")
+ return False
+ def create_ics_file(self, summary, start, end, description, location, ics_file_name = "appointment.ics"):
+ # Create the ics file
+ ics_content = f"""BEGIN:VCALENDAR
+ VERSION:2.0
+ CALSCALE:GREGORIAN
+ METHOD:REQUEST
+ BEGIN:VEVENT
+ DTSTART:{start}
+ DTEND:{end}
+ SUMMARY:{summary}
+ DESCRIPTION:{description}
+ LOCATION:{location}
+ STATUS:CONFIRMED
+ SEQUENCE:0
+ BEGIN:VALARM
+ TRIGGER:-PT10M
+ DESCRIPTION:Reminder
+ ACTION:DISPLAY
+ END:VALARM
+ END:VEVENT
+ END:VCALENDAR
+ """
+ # Save the ics file
+ try:
+ with open(ics_file_name, "w") as ics_file:
+ ics_file.write(ics_content)
+ return True
+ except Exception as e:
+ print(f"An error occurred: {e}")
+ return False
+
+ def send_appointment_email(self, recipient_email, subject, message, ics_file_path = "appointment.ics"):
+ try:
+ msg = MIMEMultipart()
+ msg['From'] = self.sender_email
+ msg['To'] = recipient_email
+ msg['Subject'] = subject
+ msg.attach(MIMEText(message, 'plain'))
+
+ with open(ics_file_path, "rb") as attachment:
+ part = MIMEBase("application", "calendar",method="REQUEST", filename=ics_file_path)
+ part.set_payload(attachment.read())
+ encoders.encode_base64(part)
+ part.add_header("Content-Disposition", f"attachment; filename= {ics_file_path}")
+ part.add_header("Content-Type", "text/calendar", method="REQUEST", name=ics_file_path)
+ msg.attach(part)
+
+ server = smtplib.SMTP(self.smtp_server, self.smtp_port)
+ server.starttls()
+ server.login(self.sender_email, self.sender_password)
+ server.sendmail(self.sender_email, recipient_email, msg.as_string())
+ server.quit()
+ return True
+
+ except Exception as e:
+ print(f"An error occurred: {e}")
+ return False
+
+# Mail Send Function
+def mail_send():
+ sender_email = "mustafa.mgundogdu@gmail.com"
+ sender_password = "pzcg mfls lwlc txaq"
+ recipient_email = "mustafagundogdu.nl@gmail.com"
+ subject = "Test Email"
+ message = "This is a test email. \n if you read this mail, send mail is successful."
+ mail_sender = MailSender(sender_email, sender_password)
+ if mail_sender.send_email(recipient_email, subject, message):
+ print("Email sent successfully.")
+ else:
+ print("Failed to send email.")
+
+def appointment_mail_send():
+ sender_email = "mustafa.mgundogdu@gmail.com"
+ sender_password = "pzcg mfls lwlc txaq"
+ recipient_email = "mustafagundogdu.nl@gmail.com"
+
+ subject = "Appointment Event Invitation"
+ summary = "Etkinlik"
+ start = "20250422T180000"
+ end = "20250422T190000"
+ description = "This is a test appointment."
+ location = "Google Meet"
+
+ mail_content = f"""Hello,
+
+ We invite you to "{summary}" event.
+
+ Start: {start}
+ Finish: {end}
+ Location: {location}
+
+ Please accept the invitation and add it to your calendar.
+
+ Kind regards,
+ {sender_email}
+ """
+ mail_sender = MailSender(sender_email, sender_password)
+ mail_sender.create_ics_file(summary, start, end, description, location)
+ mail_sender.send_appointment_email(recipient_email, subject, mail_content, ics_file_path="appointment.ics")
+
+if __name__ == "__main__":
+ #mail_send()
+ appointment_mail_send()
+ input("Press Enter to exit...")
\ No newline at end of file
diff --git a/main.py b/main.py
new file mode 100644
index 0000000..867ada6
--- /dev/null
+++ b/main.py
@@ -0,0 +1,533 @@
+"""
+Project Name: WeRHere Project
+Description:
+Author: Mustfa Gundogdu
+ Kahraman Dal
+ Neslihan Utuk
+ Yasin Sinan
+Start Date: 09-02-2025
+End Date: 17-02-2025
+
+"""
+import sys
+from PyQt6 import QtCore, QtGui, QtWidgets
+from PyQt6.QtWidgets import QApplication, QMainWindow, QDialog, QPushButton, QMessageBox, QVBoxLayout
+from PyQt6.uic import loadUi
+from MainMenu import Ui_mw_main_menu
+from login import Ui_ud_login
+from Application3 import Ui_ApplicationWindow
+from interviews import Ui_interviews
+from Mentor import Ui_Mentor
+from AdminMenu import Ui_mwAdminMenu
+from googledrive import GoogleDriveFileManager, GoogleCalendarManager
+from mail import MailSender
+from dbconnection import DatabaseConnection
+import pandas as pd
+import numpy as np # Dosyanın en üstüne ekleyin
+
+"""---------------------------------------------------------------------------------------"""
+application_widgets_index = {"LoginWindow":0,"MainMenuWindow":-1,"ApplicationWindow":-1,"InterviewsWindow":-1,"MentorMeetingWindow":-1,"AdminMenuWindow":-1}
+"""----------------------------------------------------------------------------------------"""
+#Login Page Code Class
+class LoginWindow(Ui_ud_login):
+ def setupUi(self, ud_login):
+ super().setupUi(ud_login)
+ self.pushbutton_login.clicked.connect(self.login)
+ self.pushbutton_exit.clicked.connect(self.exit_app)
+
+ def login(self):
+ # obj_gdfm = GoogleDriveFileManager("Kullanicilar")
+ # obj_gdfm.getExcelFile()
+ obj_db = DatabaseConnection()
+ username = self.lineedit_user_login.text()
+ password = self.lineedit_password.text()
+ query = "SELECT kullaniciid, kullaniciadi, yetki FROM kullanicilar WHERE kullaniciadi = '" + username + "' AND parola = '" + password + "'"
+ result = obj_db.db_select(query)
+ if len(result) > 0:
+ self.user = {"UserID":result[0][0],"Name":result[0][1],"Role":result[0][2]}
+ self.lineedit_user_login.setText("")
+ self.lineedit_password.setText("")
+ self.lineedit_user_login.setFocus()
+ if application_widgets_index["MainMenuWindow"] == -1:
+ self.MainMenu = QtWidgets.QMainWindow()
+ self.ui = MainMenuWindow(self.user)
+ self.ui.setupUi(self.MainMenu)
+ app.widgets.addWidget(self.MainMenu)
+ application_widgets_index["MainMenuWindow"] = app.widgets.count() - 1
+ else:
+ self.ui.user = self.user
+ self.ui.setupWindow()
+ app.widgets.resize(600,500)
+ app.widgets.setCurrentIndex(application_widgets_index["MainMenuWindow"])
+ else:
+ self.label_error.setText("User Name or Password is incorrect!")
+ self.lineedit_user_login.setText("")
+ self.lineedit_password.setText("")
+ self.lineedit_user_login.setFocus()
+
+ def exit_app(self):
+ QtWidgets.QApplication.quit()
+"""----------------------------------------------------------------------------------------"""
+#Main Menu Code Class
+class MainMenuWindow(Ui_mw_main_menu):
+ def __init__(self, user ={}):
+ super().__init__()
+ self.user = user
+
+ def setupUi(self, mw_main_menu):
+ super().setupUi(mw_main_menu)
+ self.setupWindow()
+
+ def setupWindow(self):
+ if self.user["Role"] == "admin":
+ self.pushbutton_admin_menu.setVisible(True)
+ else:
+ self.pushbutton_admin_menu.setVisible(False)
+ self.pushbutton_exit.clicked.connect(self.exit_app)
+ self.pushbutton_applications.clicked.connect(self.open_applications)
+ self.pushbutton_interviews.clicked.connect(self.open_Interviews)
+ self.pushbutton_mentor_meeting.clicked.connect(self.open_mentor_meeting)
+ self.pushbutton_admin_menu.clicked.connect(self.open_admin_menu)
+ self.pushbutton_logout.clicked.connect(self.open_login)
+
+ def open_applications(self):
+ if application_widgets_index["ApplicationWindow"] == -1:
+ self.ApplicationWindow = QtWidgets.QMainWindow()
+ self.ui_applications = ApplicationsWindow()
+ self.ui_applications.setupUi(self.ApplicationWindow)
+ app.widgets.addWidget(self.ApplicationWindow)
+ application_widgets_index["ApplicationWindow"] = app.widgets.count() - 1
+ app.widgets.resize(1000,500)
+ app.widgets.setCurrentIndex(application_widgets_index["ApplicationWindow"])
+
+ def open_Interviews(self):
+ if application_widgets_index["InterviewsWindow"] == -1:
+ self.InterviewWindow = QtWidgets.QMainWindow()
+ self.ui_interviews = InterviewsWindow(self.user)
+ self.ui_interviews.setupUi(self.InterviewWindow)
+ app.widgets.addWidget(self.InterviewWindow)
+ application_widgets_index["InterviewsWindow"] = app.widgets.count()-1
+ app.widgets.resize(1000,500)
+ app.widgets.setCurrentIndex(application_widgets_index["InterviewsWindow"])
+
+ def open_mentor_meeting(self):
+ if application_widgets_index["MentorMeetingWindow"] == -1:
+ self.MentorWindow = QtWidgets.QMainWindow()
+ self.ui_mentor = MentorMeetingWindow(self.user)
+ self.ui_mentor.setupUi(self.MentorWindow)
+ app.widgets.addWidget(self.MentorWindow)
+ application_widgets_index["MentorMeetingWindow"] = app.widgets.count()-1
+ app.widgets.resize(1000,500)
+ app.widgets.setCurrentIndex(application_widgets_index["MentorMeetingWindow"])
+
+ def open_admin_menu(self):
+ if application_widgets_index["AdminMenuWindow"] == -1:
+ self.AdminWindow = QtWidgets.QMainWindow()
+ self.ui_admin_menu = AdminMenuWindow(self.user)
+ self.ui_admin_menu.setupUi(self.AdminWindow)
+ app.widgets.addWidget(self.AdminWindow)
+ application_widgets_index["AdminMenuWindow"] = app.widgets.count()-1
+ app.widgets.resize(1000,500)
+ app.widgets.setCurrentIndex(application_widgets_index["AdminMenuWindow"])
+
+ def open_login(self):
+ app.widgets.resize(600,500)
+ app.widgets.setCurrentIndex(application_widgets_index["LoginWindow"])
+
+ def exit_app(self):
+ QtWidgets.QApplication.quit()
+
+"""----------------------------------------------------------------------------------------"""
+#Applications Window Code Class
+# class ApplicationsWindow(Ui_ApplicationWindow):
+# def __init__(self, user = {}):
+# super().__init__()
+# self.user = user
+
+# def setupUi(self, mw_applications):
+# super().setupUi(mw_applications)
+# self.PB_return_to_preferences_screen_button.clicked.connect(self.return_preferences)
+# self.PB_exit.clicked.connect(self.exit_app)
+
+class ApplicationsWindow(QtWidgets.QMainWindow, Ui_ApplicationWindow):
+ def __init__(self):
+ super().__init__()
+ #self.user = user
+ self.df = DatabaseConnection()
+ # self.vit1_df = None
+ # self.vit2_df = None
+
+ def setupUi(self, mw_applications):
+ super().setupUi(mw_applications)
+ # Buton click eventlerini bağla
+ self.PB_search_button.clicked.connect(self.search_applications)
+ self.PB_all_applications_button.clicked.connect(self.show_all_applications)
+ self.PB_mentor_meeting_defined_button.clicked.connect(self.show_mentor_assigned)
+ self.PB_mentor_interview_undefined_button.clicked.connect(self.show_mentor_unassigned)
+ self.PB_duplicate_record_button.clicked.connect(self.show_duplicates)
+ self.PB_return_to_preferences_screen_button.clicked.connect(self.return_preferences)
+ self.PB_EXIT.clicked.connect(self.exit_app)
+
+
+ # ComboBox için işlevler
+ self.CB_combo_box.currentIndexChanged.connect(self.handle_combo_selection)
+
+ # Search Applications
+ def search_applications(self):
+ self.DataObject = DatabaseConnection()
+ query = "SELECT k.adsoyad , k.mailadresi, k.telefonnumarasi, b.zamandamgasi, b.suankidurum,itphegitimkatilmak , ekonomikdurum, ingilizceseviye, hollandacaseviye, "
+ query += "onlineitkursu, ittecrube, calismakistegi, nedenkatilmakistiyor, mentorgorusmesi, basvurudonemi "
+ query += "FROM basvurular as b INNER JOIN kursiyerler k ON b.kursiyerid = k.kursiyerid "
+ if self.LE_search_input.text() != "":
+ query += "WHERE adsoyad LIKE '%" + self.LE_search_input.text() + "%' "
+ query += "ORDER BY b.kursiyerid "
+ write_data = self.DataObject.db_select(query)
+
+ # Data add to table
+ self.write_table(write_data)
+
+ # All Applications
+ def show_all_applications(self):
+ self.DataObject = DatabaseConnection()
+ query = "SELECT k.adsoyad , k.mailadresi, k.telefonnumarasi, b.zamandamgasi, b.suankidurum,itphegitimkatilmak , ekonomikdurum, ingilizceseviye, hollandacaseviye, "
+ query += "onlineitkursu, ittecrube, calismakistegi, nedenkatilmakistiyor, mentorgorusmesi, basvurudonemi "
+ query += "FROM basvurular as b INNER JOIN kursiyerler k ON b.kursiyerid = k.kursiyerid "
+ query += "ORDER BY b.kursiyerid "
+ write_data = self.DataObject.db_select(query)
+
+ # Data add to table
+ self.write_table(write_data)
+
+
+ # Mentor Assigned
+ def show_mentor_assigned(self):
+ self.DataObject = DatabaseConnection()
+ query = "SELECT k.adsoyad , k.mailadresi, k.telefonnumarasi, b.zamandamgasi, b.suankidurum,itphegitimkatilmak , ekonomikdurum, ingilizceseviye, hollandacaseviye, "
+ query += "onlineitkursu, ittecrube, calismakistegi, nedenkatilmakistiyor, mentorgorusmesi, basvurudonemi "
+ query += "FROM basvurular as b INNER JOIN kursiyerler k ON b.kursiyerid = k.kursiyerid "
+ query += "WHERE mentorgorusmesi = 'OK' "
+ query += "ORDER BY b.kursiyerid "
+ write_data = self.DataObject.db_select(query)
+
+ # Data add to table
+ self.write_table(write_data)
+
+ # Mentor Unassigned
+ def show_mentor_unassigned(self):
+ self.DataObject = DatabaseConnection()
+ query = "SELECT k.adsoyad , k.mailadresi, k.telefonnumarasi, b.zamandamgasi, b.suankidurum,itphegitimkatilmak , ekonomikdurum, ingilizceseviye, hollandacaseviye, "
+ query += "onlineitkursu, ittecrube, calismakistegi, nedenkatilmakistiyor, mentorgorusmesi, basvurudonemi "
+ query += "FROM basvurular as b INNER JOIN kursiyerler k ON b.kursiyerid = k.kursiyerid "
+ query += "WHERE mentorgorusmesi <> 'OK' "
+ query += "ORDER BY b.kursiyerid "
+ write_data = self.DataObject.db_select(query)
+ # Data add to table
+ self.write_table(write_data)
+
+ # Duplicates
+ def show_duplicates(self):
+ self.DataObject = DatabaseConnection()
+ query = "SELECT k.adsoyad , k.mailadresi, k.telefonnumarasi, b.zamandamgasi, b.suankidurum,itphegitimkatilmak , ekonomikdurum, ingilizceseviye, hollandacaseviye, "
+ query += "onlineitkursu, ittecrube, calismakistegi, nedenkatilmakistiyor, mentorgorusmesi, basvurudonemi "
+ query += "FROM basvurular as b INNER JOIN kursiyerler k ON b.kursiyerid = k.kursiyerid "
+ query += "WHERE b.kursiyerid IN (SELECT kursiyerid FROM basvurular GROUP BY kursiyerid HAVING COUNT(kursiyerid) > 1) "
+ query += "ORDER BY b.kursiyerid "
+ write_data = self.DataObject.db_select(query)
+
+ # Data add to table
+ self.write_table(write_data)
+
+ # 6. ComboBox
+
+ def handle_combo_selection(self):
+ self.DataObject = DatabaseConnection()
+ query = "SELECT k.adsoyad , k.mailadresi, k.telefonnumarasi, b.zamandamgasi, b.suankidurum,itphegitimkatilmak , ekonomikdurum, ingilizceseviye, hollandacaseviye, "
+ query += "onlineitkursu, ittecrube, calismakistegi, nedenkatilmakistiyor, mentorgorusmesi, basvurudonemi "
+ query += "FROM basvurular as b INNER JOIN kursiyerler k ON b.kursiyerid = k.kursiyerid "
+
+ selection = self.CB_combo_box.currentText()
+
+ # 'Previous VIT Control' seçildiğinde vit1 ve VIT2 olanları yazdır
+ if selection == " Previous VIT Control":
+ query += "WHERE basvurudonemi IN ('VIT1', 'VIT2') "
+ elif selection == " Different Records":
+ query += "WHERE b.kursiyerid IN (SELECT kursiyerid FROM basvurular WHERE basvurudonemi NOT IN ('VIT1', 'VIT2') AND basvurudonemi = 'VIT3') "
+ elif selection == " Applying Filter":
+ query += "WHERE b.kursiyerid NOT IN (SELECT kursiyerid FROM basvurular GROUP BY kursiyerid HAVING COUNT(kursiyerid) > 1) "
+ query += "ORDER BY b.kursiyerid "
+ write_data = self.DataObject.db_select(query)
+
+ # Data add to table
+ self.write_table(write_data)
+
+ def write_table(self, data):
+ self.tableWidget.setRowCount(len(data))
+ for row in range(len(data)):
+ for col in range(len(data[row])):
+ value = str(data[row][col])
+ if value == "True":
+ value = "Yes"
+ elif value == "False":
+ value = "No"
+ elif value == "Null":
+ value = ""
+ self.tableWidget.setItem(row, col, QtWidgets.QTableWidgetItem(value))
+
+ def return_preferences(self):
+ app.widgets.resize(600,500)
+ app.widgets.setCurrentIndex(application_widgets_index["MainMenuWindow"])
+
+ def exit_app(self):
+ QtWidgets.QApplication.quit()
+
+"""----------------------------------------------------------------------------------------"""
+#Interviews Window Code Class
+class InterviewsWindow(Ui_interviews):
+ def __init__(self, user = {}):
+ super().__init__()
+ self.user = user
+
+ def setupUi(self, mw_applications):
+ super().setupUi(mw_applications)
+ self.PB_preferences.clicked.connect(self.return_preferences)
+ self.PB_interrview_exit.clicked.connect(self.exit_app)
+ self.PB_interviews_find.clicked.connect(self.interviews_find)
+ self.pb_submittedProjects.clicked.connect(self.submitted_projects)
+ self.pb_incomingprojects.clicked.connect(self.incoming_projects)
+
+
+ def interviews_find(self):
+ self.DataObject = DatabaseConnection()
+ query = "SELECT k.adsoyad, projegonderilistarihi, projeningelistarihi FROM projetakiptablosu as p INNER JOIN kursiyerler k ON p.kursiyerid = k.kursiyerid "
+ if self.lineEdit.text() != "":
+ query += "WHERE adsoyad LIKE '%" + self.lineEdit.text() + "%' "
+ query += "ORDER BY p.kursiyerid"
+ write_data = self.DataObject.db_select(query)
+ self.fill_table(write_data)
+
+ def submitted_projects(self):
+ self.DataObject = DatabaseConnection()
+ query = "SELECT k.adsoyad, projegonderilistarihi, projeningelistarihi FROM projetakiptablosu as p INNER JOIN kursiyerler k ON p.kursiyerid = k.kursiyerid "
+ query += "WHERE projegonderilistarihi IS NOT NULL "
+ query += "ORDER BY p.kursiyerid "
+ write_data = self.DataObject.db_select(query)
+ self.fill_table(write_data)
+
+ def incoming_projects(self):
+ self.DataObject = DatabaseConnection()
+ query = "SELECT k.adsoyad, projegonderilistarihi, projeningelistarihi FROM projetakiptablosu as p INNER JOIN kursiyerler k ON p.kursiyerid = k.kursiyerid "
+ query += "WHERE projeningelistarihi IS NOT NULL "
+ query += "ORDER BY p.kursiyerid "
+ write_data = self.DataObject.db_select(query)
+ self.fill_table(write_data)
+
+ def fill_table(self, data):
+
+ self.tw_interviews.setRowCount(len(data))
+
+ for row in range(len(data)):
+ for col in range(len(data[row])):
+ if col == 0:
+ value = str(data[row][col]).split(" ")[0]
+ self.tw_interviews.setItem(row, col, QtWidgets.QTableWidgetItem(value))
+ value = str(data[row][col]).split(" ")[1]
+ self.tw_interviews.setItem(row, col+1, QtWidgets.QTableWidgetItem(value))
+ else :
+ value = str(data[row][col])
+ self.tw_interviews.setItem(row, col+1, QtWidgets.QTableWidgetItem(value))
+
+ def return_preferences(self):
+ app.widgets.resize(600,500)
+ app.widgets.setCurrentIndex(application_widgets_index["MainMenuWindow"])
+
+
+ def exit_app(self):
+ QtWidgets.QApplication.quit()
+
+
+"""---------------------------------------------------------------------------------------"""
+#Mentor Meeting Window Code Class
+class MentorMeetingWindow(Ui_Mentor):
+ def __init__(self, user = {}):
+ super().__init__()
+ self.user = user
+ self.DataObject = DatabaseConnection()
+
+ def setupUi(self, mw_applications):
+ super().setupUi(mw_applications)
+ self.PB_mentor_preferences.clicked.connect(self.return_preferences)
+ self.PB_mentor_exit.clicked.connect(self.exit_app)
+ self.PB_Mentor_Find.clicked.connect(self.mentor_find)
+ self.PB_mentor_all_interviews.clicked.connect(self.mentor_all_interview)
+ self.comboBox_Mentor.currentTextChanged.connect(self.mentor_find_status)
+
+ def mentor_all_interview(self):
+ write_data = self.DataObject.db_select("""
+ SELECT k.adsoyad, gorusmetarihi, mentoradsoyad, bilgisahibimi, yogunlukdurumu, yorumlar
+ FROM mentortablosu m
+ INNER JOIN kursiyerler k ON m.kursiyerid = k.kursiyerid
+ """)
+ self.tableWidget.setRowCount(len(write_data))
+ for row in range(len(write_data)):
+ for col in range(len(write_data[row])):
+ if col == 0:
+ value = str(write_data[row][col]).split(" ")[0]
+ self.tableWidget.setItem(row, col, QtWidgets.QTableWidgetItem(value))
+ value = str(write_data[row][col]).split(" ")[1]
+ self.tableWidget.setItem(row, col+1, QtWidgets.QTableWidgetItem(value))
+ else :
+ value = str(write_data[row][col])
+ self.tableWidget.setItem(row, col+1, QtWidgets.QTableWidgetItem(value))
+
+ def mentor_find(self):
+ query = "SELECT k.adsoyad, gorusmetarihi, mentoradsoyad, bilgisahibimi, yogunlukdurumu, yorumlar "
+ query += "FROM mentortablosu m INNER JOIN kursiyerler k ON m.kursiyerid = k.kursiyerid "
+ query += "WHERE k.adsoyad LIKE '%" + self.lineEdit.text() + "%'"
+ write_data = self.DataObject.db_select(query)
+ self.tableWidget.setRowCount(len(write_data))
+ for row in range(len(write_data)):
+ for col in range(len(write_data[row])):
+ if col == 0:
+ value = str(write_data[row][col]).split(" ")[0]
+ self.tableWidget.setItem(row, col, QtWidgets.QTableWidgetItem(value))
+ value = str(write_data[row][col]).split(" ")[1]
+ self.tableWidget.setItem(row, col+1, QtWidgets.QTableWidgetItem(value))
+ else :
+ value = str(write_data[row][col])
+ self.tableWidget.setItem(row, col+1, QtWidgets.QTableWidgetItem(value))
+
+
+
+ def mentor_find_status(self):
+ selection = self.comboBox_Mentor.currentText()
+ if selection == "All":
+ write_data = self.DataObject.db_select("""
+ SELECT k.adsoyad, gorusmetarihi, mentoradsoyad, bilgisahibimi, yogunlukdurumu, yorumlar
+ FROM mentortablosu m
+ INNER JOIN kursiyerler k ON m.kursiyerid = k.kursiyerid
+ """)
+ else:
+ query = "SELECT k.adsoyad, gorusmetarihi, mentoradsoyad, bilgisahibimi, yogunlukdurumu, yorumlar "
+ query += "FROM mentortablosu m INNER JOIN kursiyerler k ON m.kursiyerid = k.kursiyerid "
+ query += "WHERE yogunlukdurumu = '" + self.comboBox_Mentor.text() + "'"
+ write_data = self.DataObject.db_select(query)
+
+ self.tableWidget.setRowCount(len(write_data))
+ for row in range(len(write_data)):
+ for col in range(len(write_data[row])):
+ if col == 0:
+ value = str(write_data[row][col]).split(" ")[0]
+ self.tableWidget.setItem(row, col, QtWidgets.QTableWidgetItem(value))
+ value = str(write_data[row][col]).split(" ")[1]
+ self.tableWidget.setItem(row, col+1, QtWidgets.QTableWidgetItem(value))
+ else :
+ value = str(write_data[row][col])
+ self.tableWidget.setItem(row, col+1, QtWidgets.QTableWidgetItem(value))
+
+
+ def return_preferences(self):
+ app.widgets.resize(600,500)
+ app.widgets.setCurrentIndex(application_widgets_index["MainMenuWindow"])
+
+ def exit_app(self):
+ QtWidgets.QApplication.quit()
+
+
+"""---------------------------------------------------------------------------------------"""
+#Admin Menu Window Code Class
+class AdminMenuWindow(Ui_mwAdminMenu):
+ def __init__(self, user = {}):
+ super().__init__()
+ self.user = user
+
+ def setupUi(self, mw_applications):
+ super().setupUi(mw_applications)
+ self.pbPreferedAdmin.clicked.connect(self.open_preferences)
+ self.pbExit.clicked.connect(self.exit_app)
+ self.pbActionControl.clicked.connect(self.open_action_control)
+ self.pbSendMail.clicked.connect(self.open_send_mail)
+
+ def open_action_control(self):
+ self.obj_calendar = GoogleCalendarManager("seracc_calendar.json")
+ self.obj_calendar.get_calendar_events()
+
+ if not self.obj_calendar.events:
+ print('No upcoming events found.')
+ else:
+ self.tableWidget.setRowCount(len(self.obj_calendar.events))
+ self.tableWidget.setColumnCount(4)
+ row_count = 0
+ for event in self.obj_calendar.events:
+ for event in self.obj_calendar.events:
+ start = event['start'].get('dateTime', event['start'].get('date'))
+ participant = []
+ organizer = event['organizer']['email']
+ if "attendees" in event:
+ for attendee in event['attendees']:
+ if organizer != attendee["email"] and attendee["email"] not in participant:
+ participant.append(attendee["email"])
+ action_name = event["summary"]
+ self.tableWidget.setItem(row_count, 0, QtWidgets.QTableWidgetItem(action_name))
+ self.tableWidget.setItem(row_count, 1, QtWidgets.QTableWidgetItem(start))
+ if len(participant) == 0:
+ self.tableWidget.setItem(row_count, 2, QtWidgets.QTableWidgetItem(""))
+ else:
+ self.tableWidget.setItem(row_count, 2, QtWidgets.QTableWidgetItem(str(participant[0])))
+ self.tableWidget.setItem(row_count, 3, QtWidgets.QTableWidgetItem(organizer))
+ row_count += 1
+
+ def open_send_mail(self):
+ object_mail = MailSender()
+ summary = self.obj_calendar.events[self.tableWidget.currentRow()]["summary"]
+ start = self.obj_calendar.events[self.tableWidget.currentRow()]["start"]["dateTime"]
+ end = self.obj_calendar.events[self.tableWidget.currentRow()]["end"]["dateTime"]
+ sender_email = self.obj_calendar.events[self.tableWidget.currentRow()]["organizer"]["email"]
+ location = "Google Meet"
+ description = "VIT Appointment"
+ if self.obj_calendar.events[self.tableWidget.currentRow()]["attendees"]:
+ recipient_email = self.obj_calendar.events[self.tableWidget.currentRow()]["attendees"][1]["email"]
+ else:
+ return False
+ object_mail.create_ics_file(summary, start, end, description, location)
+ subject = f"Appointment: {summary}"
+ mail_content = f"""Hello,
+
+ We invite you to "{summary}" event.
+
+ Start: {start}
+ Finish: {end}
+ Location: {location}
+
+ Please accept the invitation and add it to your calendar.
+
+ Kind regards,
+ {sender_email}
+ """
+ if object_mail.send_appointment_email(recipient_email, subject, mail_content):
+ #QMessageBox.information(self, "Information", "Email sent successfully!")
+ self.statusbar.showMessage("Email sent successfully!")
+ #print("Email sent successfully!")
+ else:
+ #QMessageBox.information(self, "Information", "Failed to send email.")
+ #print("Failed to send email.")
+ self.statusbar.showMessage("Failed to send email.")
+
+ def open_preferences(self):
+ app.widgets.resize(600,500)
+ app.widgets.setCurrentIndex(application_widgets_index["MainMenuWindow"])
+
+ def exit_app(self):
+ QtWidgets.QApplication.quit()
+
+
+"""----------------------------------------------------------------------------------------"""
+
+if __name__ == "__main__":
+ app = QtWidgets.QApplication(sys.argv)
+ MainWindow = QtWidgets.QDialog()
+ ui = LoginWindow()
+ ui.setupUi(MainWindow)
+ app.widgets = QtWidgets.QStackedWidget()
+ app.widgets.addWidget(MainWindow)
+ app.widgets.show()
+ sys.exit(app.exec())