Pyqt5 ile pencere arası geçiş

Arkadaşlar öncelikle herkeze hayırlı çalışmalar diliyorum.
Benim 2 adet mainwindow arayüzüm var;
1- anasayfa(müşteri bilgilerini vs kaydettigim)
2- mailgönderme(sql tabanındaki müşteriyi seçip ilgili kişiye mail attıgım sayfa)

Şimdi benim yapmak istedigim şey 1 sayfamda bir butona tıkladıgımda, 2 sayfamı(mail gönderme) sayfasını açmak istiyorum.

python programlamada acemiyim yardımcı olabilicek arkadaşlar varsa memnun olurum şimdiden teşekkür ederim

####1-sayfamın code bölümü###


#-----------MODÜLDAHİLİ---------#
import sys
from PyQt5 import QtWidgets
from PyQt5.QtWidgets import*
from anasayfa_arayüz import*
from hakkında1 import*

#-------------------------------#

#--------PENCERE OLUŞTURMA------#
uygulama=QApplication(sys.argv)
anapen=QMainWindow()
dosya=kayit()
dosya.setupUi(anapen)
anapen.show()

#--------Hakkında------#

hakkında=QDialog()
dosya1=Ui_HAKKINDA()
dosya1.setupUi(hakkında)



#--------BAĞLANTIVE TABLO SQL OLUŞTURMA------#
import sqlite3
global bağlantı
global işlem

bağlantı=sqlite3.connect("arcelik.db")
işlem=bağlantı.cursor()
sorgutable=("CREATE TABLE IF NOT EXISTS ARCELİK(                 \
             Id INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT,   \
             TCno TEXT NOT NULL UNIQUE,                       \
             MüşteriAdı TEXT NOT NULL,                         \
             MüşteriSoyadı TEXT NOT NULL,                      \
             TelNO TEXT NOT NULL,                          \
             TelNO1  TEXT NOT NULL,                            \
             Adres TEXT NOT NULL,                          \
             Ürünbilgisi TEXT NOT NULL,                           \
             ÜrünFiyatı TEXT NOT NULL,                              \
             TeslimTarihi TEXT NOT NULL)")    

işlem.execute(sorgutable)
bağlantı.commit()


#--------TABLOYA ATAMA------#

def LİSTELE():
    dosya.tableWidget_data .clear()
    dosya.tableWidget_data.setHorizontalHeaderLabels(("NO","TC KimlikNo","Müşteri Adı","Müşteri Soyadı", \
                                                          "TelNo","TelNo1","Adres",\
                                                           "Ürün Bilgisi","Ürün Fiyatı","Teslim Tarihi"))
    dosya.tableWidget_data.horizontalHeader().setSectionResizeMode(QHeaderView.Stretch)
    işlem.execute("SELECT * FROM ARCELİK")
    for Satırındex,Satırveri in enumerate(işlem):
        for Sutunındex,Sutunveri in enumerate(Satırveri):
            dosya.tableWidget_data.setItem(Satırındex,Sutunındex,QTableWidgetItem(str(Sutunveri)))
    
    dosya.lineEdit_TC.clear()
    
    dosya.lineEdit_adi.clear()
    
    dosya.lineEdit_soyadi.clear()
    
    dosya.lineEdit_no.clear()
    
    dosya.lineEdit_no1.clear()
    
    dosya.textEdit_adres_bilgisi.clear()
    
    dosya.textEdit_urun_bilgisi.clear()
    
    dosya.lineEdit_fiyat.clear()
    
LİSTELE()

#------------Müşteri EKLEME FONKSİYONU-----------#
 
def KAYDET():
    try:
        
        tc=dosya.lineEdit_TC.text()
        
        adı=dosya.lineEdit_adi.text()
        
        soyadı=dosya.lineEdit_soyadi.text()
        
        iletişim=dosya.lineEdit_no.text()
        
        iletişim_1=dosya.lineEdit_no1.text()
        
        adres=dosya.textEdit_adres_bilgisi.toPlainText()
        
        urun=dosya.textEdit_urun_bilgisi.toPlainText()
        
        fıyat=dosya.lineEdit_fiyat.text()
        
        tarıh=dosya.calendarWidget_teslim_tarihi.selectedDate().toString(QtCore.Qt.ISODate)
        
        işlem.execute("INSERT INTO ARCELİK(TCno,MüşteriAdı,MüşteriSoyadı,TelNO,TelNO1,Adres,Ürünbilgisi,ÜrünFiyatı,TeslimTarihi)VALUES(?,?,?,?,?,?,?,?,?)",(tc,adı,soyadı,iletişim,iletişim_1,adres,urun,fıyat,tarıh))
        bağlantı.commit()
        LİSTELE()
        dosya.statusbar.showMessage("Araç kaydedildi.",10000)
        
        dosya.lineEdit_TC.clear()
        
        dosya.lineEdit_adi.clear()
        
        dosya.lineEdit_soyadi.clear()
        
        dosya.lineEdit_no.clear()
        
        dosya.lineEdit_no1.clear()
        
        dosya.textEdit_adres_bilgisi.clear()
        
        dosya.textEdit_urun_bilgisi.clear()
        
        dosya.lineEdit_fiyat.clear()
        
    except Exception as hata:
        pass
        # dosya.statusbar.showMessage("HATA:"+str(hata,10000))



#-----------müşteri silme işlemi---------#

def SIL():
    
    cevap=QMessageBox.question(anapen,"SİL","Seçili Müşteri silinecek onay veriyormusunuz?",QMessageBox.Yes | QMessageBox.No)

    try:
    
        if cevap==QMessageBox.Yes:
            
            secili=dosya.tableWidget_data.selectedItems()
            silinecek=secili[1].text()
    
            işlem.execute("DELETE FROM ARCELİK WHERE TCno='%s'" %(silinecek))
            bağlantı.commit()
            
            LİSTELE()
            
            dosya.statusbar.showMessage("Seçili Müşteri Silindi",1000) 
        else:
            
            dosya.statusbar.showMessage("Müşteri Silme İşlemi İptal Edildi.",10000)  
            
    except Exception as Hata:
        pass
    

#---------TABLE WİDGET VERİ AKTARIMI----------#

def DOLDUR():
    try:
        secili=dosya.tableWidget_data.selectedItems()
    
        dosya.lineEdit_TC.setText(secili[1].text())
        
        dosya.lineEdit_adi.setText(secili[2].text())
        
        dosya.lineEdit_soyadi.setText(secili[3].text())
        
        dosya.lineEdit_no.setText(secili[4].text())
        
        dosya.lineEdit_no1.setText(secili[5].text())
        
        dosya.textEdit_adres_bilgisi.setText(secili[6].text())
        
        dosya.textEdit_urun_bilgisi.setText(secili[7].text())
        
        dosya.lineEdit_fiyat.setText(secili[8].text())
        
        yıl=int(secili[9].text()[0:4])   #1998.03.11
        ay=int(secili[9].text()[5:7])
        gün=int(secili[9].text()[8:10])
        dosya.calendarWidget_teslim_tarihi.setSelectedDate(QtCore.QDate(yıl,ay,gün))
        
    except Exception as Hata:
        pass

#-----------------Müşteri GÜNCELLEME------------#    
    
def GUNCELLE():
    
    cevap=QMessageBox.question(anapen,"GÜNCELLE","Müşteri güncellenecek onay veriyormusunuz?",   \
                                                        QMessageBox.Yes | QMessageBox.No)
    if cevap==QMessageBox.Yes:
        
        try:
            secili=dosya.tableWidget_data.selectedItems()
            
            Id=int(secili[0].text())
            
            tc=dosya.lineEdit_TC.text()
            
            adı=dosya.lineEdit_adi.text()
            
            soyadı=dosya.lineEdit_soyadi.text()
            
            iletişim=dosya.lineEdit_no.text()
            
            iletişim_1=dosya.lineEdit_no1.text()
            
            adres=dosya.textEdit_adres_bilgisi.toPlainText()
            
            urun=dosya.textEdit_urun_bilgisi.toPlainText()
            
            fıyat=dosya.lineEdit_fiyat.text()
            
            tarıh=dosya.calendarWidget_teslim_tarihi.selectedDate().toString(QtCore.Qt.ISODate)
            
            
            işlem.execute("UPDATE ARCELİK SET TCno=?,MüşteriAdı=?,MüşteriSoyadı=?,TelNO=?,TelNO1=?,Adres=?,Ürünbilgisi=?,ÜrünFiyatı=?,TeslimTarihi=? WHERE Id=?",(tc,adı,soyadı,iletişim,iletişim_1,adres,urun,fıyat,tarıh,Id))
            LİSTELE()
            bağlantı.commit()
            dosya.statusbar.showMessage("Seçili Müşteri Güncellendi.",10000) 
       
           
        except Exception as Hata:
            dosya.statusbar.showMessage("HATA:"+str(Hata))
    else:
        dosya.statusbar.showMessage("Güncelleme İptal Edildi.",1000)



def HAKKINDA():
    hakkında.show()
    

   
    
        

       

#------------Signal-slot button fonksiyonları-----------#
dosya.pushButton_kaydet.clicked.connect(KAYDET)
dosya.pushButton_listele.clicked.connect(LİSTELE)
dosya.pushButton_sil.clicked.connect(SIL)
dosya.tableWidget_data.itemSelectionChanged.connect(DOLDUR)
dosya.pushButton_guncelle.clicked.connect(GUNCELLE) 
dosya.hakkinda.triggered.connect(HAKKINDA)





sys.exit(uygulama.exec_())    



##1-sayfamın ui-to-py codu(qtdesigner ile tasarladıgım arayüz)###


# -*- coding: utf-8 -*-

# Form implementation generated from reading ui file 'm_kayıt.ui'
#
# Created by: PyQt5 UI code generator 5.9.2
#
# WARNING! All changes made in this file will be lost!

from PyQt5 import QtCore, QtGui, QtWidgets



class kayit(object):
    def setupUi(self, MainWindow):
        MainWindow.setObjectName("MainWindow")
        MainWindow.resize(1337, 759)
        MainWindow.setStyleSheet("")
        self.centralwidget = QtWidgets.QWidget(MainWindow)
        self.centralwidget.setObjectName("centralwidget")
        self.groupBox = QtWidgets.QGroupBox(self.centralwidget)
        self.groupBox.setGeometry(QtCore.QRect(950, 40, 371, 421)) 
        self.groupBox.setObjectName("groupBox")
        self.layoutWidget = QtWidgets.QWidget(self.groupBox)
        self.layoutWidget.setGeometry(QtCore.QRect(30, 20, 331, 381))
        self.layoutWidget.setObjectName("layoutWidget")
        self.verticalLayout = QtWidgets.QVBoxLayout(self.layoutWidget)
        self.verticalLayout.setContentsMargins(14, 0, 14, 25)
        self.verticalLayout.setSpacing(16)
        self.verticalLayout.setObjectName("verticalLayout")
        self.pushButton_kaydet = QtWidgets.QPushButton(self.layoutWidget)
        self.pushButton_kaydet.setObjectName("pushButton_kaydet")
        self.verticalLayout.addWidget(self.pushButton_kaydet)
        self.pushButton_guncelle = QtWidgets.QPushButton(self.layoutWidget)
        self.pushButton_guncelle.setObjectName("pushButton_guncelle")
        self.verticalLayout.addWidget(self.pushButton_guncelle)
        self.pushButton_listele = QtWidgets.QPushButton(self.layoutWidget)
        self.pushButton_listele.setObjectName("pushButton_listele")
        self.verticalLayout.addWidget(self.pushButton_listele)
        self.pushButton_sil = QtWidgets.QPushButton(self.layoutWidget)
        font = QtGui.QFont()
        font.setPointSize(8)
        self.pushButton_sil.setFont(font)
        self.pushButton_sil.setAutoRepeatDelay(300)
        self.pushButton_sil.setAutoRepeatInterval(100)
        self.pushButton_sil.setObjectName("pushButton_sil")
        self.verticalLayout.addWidget(self.pushButton_sil)
        self.groupBox_2 = QtWidgets.QGroupBox(self.centralwidget)
        self.groupBox_2.setGeometry(QtCore.QRect(479, 40, 451, 421))
        self.groupBox_2.setObjectName("groupBox_2")
        self.formLayoutWidget_3 = QtWidgets.QWidget(self.groupBox_2)
        self.formLayoutWidget_3.setGeometry(QtCore.QRect(10, 20, 433, 391))
        self.formLayoutWidget_3.setObjectName("formLayoutWidget_3")
        self.formLayout_3 = QtWidgets.QFormLayout(self.formLayoutWidget_3)
        self.formLayout_3.setContentsMargins(8, 23, 13, 13)
        self.formLayout_3.setHorizontalSpacing(6)
        self.formLayout_3.setVerticalSpacing(20)
        self.formLayout_3.setObjectName("formLayout_3")
        self.label_7 = QtWidgets.QLabel(self.formLayoutWidget_3)
        self.label_7.setObjectName("label_7")
        self.formLayout_3.setWidget(0, QtWidgets.QFormLayout.LabelRole, self.label_7)
        self.textEdit_urun_bilgisi = QtWidgets.QTextEdit(self.formLayoutWidget_3)
        self.textEdit_urun_bilgisi.setObjectName("textEdit_urun_bilgisi")
        self.formLayout_3.setWidget(0, QtWidgets.QFormLayout.FieldRole, self.textEdit_urun_bilgisi)
        self.label_8 = QtWidgets.QLabel(self.formLayoutWidget_3)
        self.label_8.setObjectName("label_8")
        self.formLayout_3.setWidget(1, QtWidgets.QFormLayout.LabelRole, self.label_8)
        self.lineEdit_fiyat = QtWidgets.QLineEdit(self.formLayoutWidget_3)
        self.lineEdit_fiyat.setText("")
        self.lineEdit_fiyat.setCursorPosition(0)
        self.lineEdit_fiyat.setObjectName("lineEdit_fiyat")
        self.formLayout_3.setWidget(1, QtWidgets.QFormLayout.FieldRole, self.lineEdit_fiyat)
        self.label_9 = QtWidgets.QLabel(self.formLayoutWidget_3)
        self.label_9.setObjectName("label_9")
        self.formLayout_3.setWidget(2, QtWidgets.QFormLayout.LabelRole, self.label_9)
        self.calendarWidget_teslim_tarihi = QtWidgets.QCalendarWidget(self.formLayoutWidget_3)
        self.calendarWidget_teslim_tarihi.setStyleSheet("")
        self.calendarWidget_teslim_tarihi.setObjectName("calendarWidget_teslim_tarihi")
        self.formLayout_3.setWidget(2, QtWidgets.QFormLayout.FieldRole, self.calendarWidget_teslim_tarihi)
        self.groupBox_3 = QtWidgets.QGroupBox(self.centralwidget)
        self.groupBox_3.setGeometry(QtCore.QRect(10, 40, 451, 421))
        self.groupBox_3.setObjectName("groupBox_3")
        self.formLayoutWidget = QtWidgets.QWidget(self.groupBox_3)
        self.formLayoutWidget.setGeometry(QtCore.QRect(10, 20, 421, 391))
        self.formLayoutWidget.setObjectName("formLayoutWidget")
        self.formLayout = QtWidgets.QFormLayout(self.formLayoutWidget)
        self.formLayout.setContentsMargins(4, 26, 16, 11)
        self.formLayout.setHorizontalSpacing(2)
        self.formLayout.setVerticalSpacing(20)
        self.formLayout.setObjectName("formLayout")
        self.label = QtWidgets.QLabel(self.formLayoutWidget)
        self.label.setObjectName("label")
        self.formLayout.setWidget(0, QtWidgets.QFormLayout.LabelRole, self.label)
        self.lineEdit_TC = QtWidgets.QLineEdit(self.formLayoutWidget)
        self.lineEdit_TC.setMaxLength(11)
        self.lineEdit_TC.setClearButtonEnabled(True)
        self.lineEdit_TC.setObjectName("lineEdit_TC")
        self.formLayout.setWidget(0, QtWidgets.QFormLayout.FieldRole, self.lineEdit_TC)
        self.label_2 = QtWidgets.QLabel(self.formLayoutWidget)
        self.label_2.setObjectName("label_2")
        self.formLayout.setWidget(1, QtWidgets.QFormLayout.LabelRole, self.label_2)
        self.lineEdit_adi = QtWidgets.QLineEdit(self.formLayoutWidget)
        self.lineEdit_adi.setClearButtonEnabled(True)
        self.lineEdit_adi.setObjectName("lineEdit_adi")
        self.formLayout.setWidget(1, QtWidgets.QFormLayout.FieldRole, self.lineEdit_adi)
        self.label_3 = QtWidgets.QLabel(self.formLayoutWidget)
        self.label_3.setObjectName("label_3")
        self.formLayout.setWidget(2, QtWidgets.QFormLayout.LabelRole, self.label_3)
        self.lineEdit_soyadi = QtWidgets.QLineEdit(self.formLayoutWidget)
        self.lineEdit_soyadi.setClearButtonEnabled(True)
        self.lineEdit_soyadi.setObjectName("lineEdit_soyadi")
        self.formLayout.setWidget(2, QtWidgets.QFormLayout.FieldRole, self.lineEdit_soyadi)
        self.label_4 = QtWidgets.QLabel(self.formLayoutWidget)
        self.label_4.setObjectName("label_4")
        self.formLayout.setWidget(3, QtWidgets.QFormLayout.LabelRole, self.label_4)
        self.lineEdit_no = QtWidgets.QLineEdit(self.formLayoutWidget)
        self.lineEdit_no.setObjectName("lineEdit_no")
        self.formLayout.setWidget(3, QtWidgets.QFormLayout.FieldRole, self.lineEdit_no)
        self.label_5 = QtWidgets.QLabel(self.formLayoutWidget)
        self.label_5.setObjectName("label_5")
        self.formLayout.setWidget(4, QtWidgets.QFormLayout.LabelRole, self.label_5)
        self.lineEdit_no1 = QtWidgets.QLineEdit(self.formLayoutWidget)
        self.lineEdit_no1.setObjectName("lineEdit_no1")
        self.formLayout.setWidget(4, QtWidgets.QFormLayout.FieldRole, self.lineEdit_no1)
        self.label_6 = QtWidgets.QLabel(self.formLayoutWidget)
        self.label_6.setObjectName("label_6")
        self.formLayout.setWidget(5, QtWidgets.QFormLayout.LabelRole, self.label_6)
        self.textEdit_adres_bilgisi = QtWidgets.QTextEdit(self.formLayoutWidget)
        self.textEdit_adres_bilgisi.setObjectName("textEdit_adres_bilgisi")
        self.formLayout.setWidget(5, QtWidgets.QFormLayout.FieldRole, self.textEdit_adres_bilgisi)
        self.groupBox_4 = QtWidgets.QGroupBox(self.centralwidget)
        self.groupBox_4.setGeometry(QtCore.QRect(299, 490, 841, 201))
        self.groupBox_4.setObjectName("groupBox_4")
        self.tableWidget_data = QtWidgets.QTableWidget(self.groupBox_4)
        self.tableWidget_data.setGeometry(QtCore.QRect(20, 20, 801, 171))
        self.tableWidget_data.setRowCount(100)
        self.tableWidget_data.setColumnCount(10)
        self.tableWidget_data.setObjectName("tableWidget_data")
        MainWindow.setCentralWidget(self.centralwidget)
        self.menubar = QtWidgets.QMenuBar(MainWindow)
        self.menubar.setGeometry(QtCore.QRect(0, 0, 1337, 21))
        self.menubar.setObjectName("menubar")
        self.menuSERV_S_TESL_M = QtWidgets.QMenu(self.menubar)
        self.menuSERV_S_TESL_M.setObjectName("menuSERV_S_TESL_M")
        self.menuYard_m = QtWidgets.QMenu(self.menubar)
        self.menuYard_m.setObjectName("menuYard_m")
        MainWindow.setMenuBar(self.menubar)
        self.statusbar = QtWidgets.QStatusBar(MainWindow)
        self.statusbar.setObjectName("statusbar")
        MainWindow.setStatusBar(self.statusbar)
        self.mail_gonder = QtWidgets.QAction(MainWindow)
        self.mail_gonder.setObjectName("mail_gonder")
        self.hakkinda = QtWidgets.QAction(MainWindow)
        self.hakkinda.setObjectName("hakkinda")
        self.menuSERV_S_TESL_M.addAction(self.mail_gonder)
        self.menuYard_m.addAction(self.hakkinda)
        self.menubar.addAction(self.menuSERV_S_TESL_M.menuAction())
        self.menubar.addAction(self.menuYard_m.menuAction())

        self.retranslateUi(MainWindow)
        QtCore.QMetaObject.connectSlotsByName(MainWindow)

    def retranslateUi(self, MainWindow):
        _translate = QtCore.QCoreApplication.translate
        MainWindow.setWindowTitle(_translate("MainWindow", "MainWindow"))
        self.groupBox.setTitle(_translate("MainWindow", "İşlemler:"))
        self.pushButton_kaydet.setText(_translate("MainWindow", "MÜŞTERİ KAYDET"))
        self.pushButton_guncelle.setText(_translate("MainWindow", "MÜŞTERİ GÜNCELLE"))
        self.pushButton_listele.setText(_translate("MainWindow", "MÜŞTERİLERİ LİSTELE"))
        self.pushButton_sil.setText(_translate("MainWindow", "MÜŞTERİ SİL"))
        self.groupBox_2.setTitle(_translate("MainWindow", "Seçilen Ürün Bilgisi:"))
        self.label_7.setText(_translate("MainWindow", "Ürün Bilgileri:"))
        self.label_8.setText(_translate("MainWindow", "Ürün Toplam  Fiyat:"))
        self.label_9.setText(_translate("MainWindow", "Teslim Tarihi:"))
        self.groupBox_3.setTitle(_translate("MainWindow", "Müşteri Bilgisi:"))
        self.label.setText(_translate("MainWindow", "Müşteri Tc:"))
        self.label_2.setText(_translate("MainWindow", "Müşteri Adı:"))
        self.label_3.setText(_translate("MainWindow", "Müşteri Soyadı:"))
        self.label_4.setText(_translate("MainWindow", "İletişim No:"))
        self.lineEdit_no.setInputMask(_translate("MainWindow", "(999) 999 99 99"))
        self.label_5.setText(_translate("MainWindow", "İletişim No(1):"))
        self.lineEdit_no1.setInputMask(_translate("MainWindow", "(999) 999 99 99"))
        self.label_6.setText(_translate("MainWindow", "Adres Bilgileri:"))
        self.groupBox_4.setTitle(_translate("MainWindow", "Kayıtlı Müşteriler:"))
        self.menuSERV_S_TESL_M.setTitle(_translate("MainWindow", "Teslimat"))
        self.menuYard_m.setTitle(_translate("MainWindow", "Yardım"))
        self.mail_gonder.setText(_translate("MainWindow", "Mail Gönder"))
        self.hakkinda.setText(_translate("MainWindow", "Hakkında"))


1- sayfamın arayüzü görüntüsü (kırmızı bölüm eklemek istedigim buton)

##2-sayfam yani mail gönderme arayüzümün cod bölümü###

#-----------MODÜLDAHİLİ---------#
import sys
from smtplib import SMTP
from PyQt5 import QtWidgets
from PyQt5.QtWidgets import*
from mail_arayüz import* 

#-------------------------------#

#--------PENCERE OLUŞTURMA------#

uygulama=QApplication(sys.argv) 
anapen=QMainWindow()
dosya=Ui_MainWindow()
dosya.setupUi(anapen)
anapen.show()

#--------BAĞLANTIVE TABLO SQL OLUŞTURMA------#
import sqlite3
global bağlantı
global işlem

bağlantı=sqlite3.connect("arcelik.db")
işlem=bağlantı.cursor()
sorgutable=("CREATE TABLE IF NOT EXISTS ARCELİK(                 \
             Id INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT,   \
             TCno TEXT NOT NULL UNIQUE,                       \
             MüşteriAdı TEXT NOT NULL,                         \
             MüşteriSoyadı TEXT NOT NULL,                      \
             TelNO TEXT NOT NULL,                          \
             TelNO1  TEXT NOT NULL,                            \
             Adres TEXT NOT NULL,                          \
             Ürünbilgisi TEXT NOT NULL,                           \
             ÜrünFiyatı TEXT NOT NULL,                              \
             TeslimTarihi TEXT NOT NULL)")    

işlem.execute(sorgutable)
bağlantı.commit()


#--------TABLOYA ATAMA------#

def LİSTELE():
    dosya.musteri_bilgisi.clear()
    dosya.musteri_bilgisi.setHorizontalHeaderLabels(("NO","TC KimlikNo","Müşteri Adı","Müşteri Soyadı", \
                                                          "TelNo","TelNo1","Adres",\
                                                           "Ürün Bilgisi","Ürün Fiyatı","Teslim Tarihi"))
    dosya.musteri_bilgisi.horizontalHeader().setSectionResizeMode(QHeaderView.Stretch)
    işlem.execute("SELECT * FROM ARCELİK")
    for Satırındex,Satırveri in enumerate(işlem):
        for Sutunındex,Sutunveri in enumerate(Satırveri):
            dosya.musteri_bilgisi.setItem(Satırındex,Sutunındex,QTableWidgetItem(str(Sutunveri)))
            
    dosya.lne_adi.clear()
    dosya.lne_soyadi.clear()
    dosya.lne_tc.clear()
    dosya.textEdit.clear()
LİSTELE()


#--------TABLE WİDGET İÇİNDEKİ DEGERLERİMİZİ LİNE EDİT VS İÇİNE GÖNDEREME------# 

def DOLDUR():
    try:
        row = dosya.musteri_bilgisi.currentRow()#tablonun sutununu ifade
        
        if row !=-1:
        
            col_Count = dosya.musteri_bilgisi.columnCount()# sutun sayısını ifade eder
            
            veriler="" 
            for x in range( col_Count ): #sutun sayısında gezin 
                veriler += dosya.musteri_bilgisi.item(row, x).text() + "\n"   ""
                dosya.textEdit.setText( veriler )

    
        
        
    except AttributeError: 
        dosya.statusbar.showMessage("Uyarı:Lütfen bir kayıt seçiniz.",2000)
        dosya.statusbar.setStyleSheet("color:rgb(0,0,0)")    
        
        
#------------SMS GÖNDERME VE TEXT EDİTDEN BİLGİ ALMA--------#
 
def GONDER():
    
    textall= dosya.textEdit.toPlainText()
      
    try:  
        # Mail Mesaj Bilgisi 
        subcjet = "!!!Yapılması Gereken Teslimat Bilgisi !!!"
        message=(textall)
        text="Lütfen Ürün Teslimi Gerçekleştiğinde İlgili Personelle İrtibata Geçiniz.\n\t\t\t\tKOLAY GELSİN"
        content = "Subject: {0}\n\n{1}\n\n{2}".format(subcjet,message,text)
        
    
        # Hesap Bilgileri 
        myMailAdress = "berkc3651@gmail.com"
        password = "berkcan365178"
    
        # Kime Gönderilecek Bilgisi
        sendTo = "rgndz52@gmail.com"
    
        mail = SMTP("smtp.gmail.com", 587)
        mail.ehlo()
        mail.starttls()
        mail.login(myMailAdress,password)
        mail.sendmail(myMailAdress, sendTo, content.encode("utf-8"))
        dosya.statusbar.showMessage("Servis Personeline Mesaj Gönderildi.",3000)
        dosya.statusbar.setStyleSheet("color:rgb(0,0,0)")
        dosya.textEdit.clear()
    except TypeError:
        dosya.statusbar.showMessage("HATA:Mesaj Gönderilemedi.",2000)
        dosya.statusbar.setStyleSheet("color:rgb(0,0,0)")
        
    
#--------KAYIT ARAMA FONKSİYONU------#

def ARA():
    try:
        
        arama1=dosya.lne_adi.text()
        arama2=dosya.lne_soyadi.text()
        arama3=dosya.lne_tc.text()
        
        işlem.execute("SELECT * FROM  ARCELİK WHERE MüşteriAdı=? OR  MüşteriSoyadı=? OR  TCno=? OR (MüşteriAdı=? AND MüşteriSoyadı=?)",(arama1,arama2,arama3,arama1,arama2))
        bağlantı.commit()
        dosya.musteri_bilgisi.clear()
        for Satırındex,Satırveri in enumerate(işlem):
            for Sutunındex,Sutunveri in enumerate(Satırveri):
                dosya.musteri_bilgisi.setItem(Satırındex,Sutunındex,QTableWidgetItem(str(Sutunveri)))
    
    except Exception as hata:
        dosya.statusbar.showMessage("hata:",str(hata),1000)


    
    
#------Sıgnal_sloat bağlantısı-------#
dosya.btn_musteriyazdir.clicked.connect(DOLDUR)
dosya.btn_mailgonder.clicked.connect(GONDER)
dosya.btn_musteriara.clicked.connect(ARA)
dosya.btn_listele.clicked.connect(LİSTELE)
sys.exit(uygulama.exec_())    
       
##2- yani mail gönderme arayüzüm (qtdesigner ile tasarlanmış olan)


# -*- coding: utf-8 -*-

# Form implementation generated from reading ui file 'untitled.ui'
#
# Created by: PyQt5 UI code generator 5.9.2
#
# WARNING! All changes made in this file will be lost!

from PyQt5 import QtCore, QtGui, QtWidgets

class Ui_MainWindow(object):
    def setupUi(self, MainWindow):
        MainWindow.setObjectName("MainWindow")
        MainWindow.resize(800, 600)
        MainWindow.setStyleSheet("\n"
"background-color: rgb(76, 83, 108);")
        self.centralwidget = QtWidgets.QWidget(MainWindow)
        self.centralwidget.setObjectName("centralwidget")
        self.groupBox = QtWidgets.QGroupBox(self.centralwidget)
        self.groupBox.setGeometry(QtCore.QRect(10, 280, 371, 261))
        font = QtGui.QFont()
        font.setPointSize(8)
        font.setBold(True)
        font.setUnderline(True)
        font.setWeight(75)
        font.setStrikeOut(False)
        self.groupBox.setFont(font)
 
        self.groupBox.setObjectName("groupBox")
        self.formLayoutWidget = QtWidgets.QWidget(self.groupBox)
        self.formLayoutWidget.setGeometry(QtCore.QRect(10, 20, 341, 151))
        self.formLayoutWidget.setObjectName("formLayoutWidget")
        self.formLayout = QtWidgets.QFormLayout(self.formLayoutWidget)
        self.formLayout.setContentsMargins(8, 16, 5, 0)
        self.formLayout.setHorizontalSpacing(1)
        self.formLayout.setVerticalSpacing(18)
        self.formLayout.setObjectName("formLayout")
        self.label = QtWidgets.QLabel(self.formLayoutWidget)
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setBold(True)
        font.setWeight(75)
        self.label.setFont(font)
        self.label.setObjectName("label")
        self.formLayout.setWidget(0, QtWidgets.QFormLayout.LabelRole, self.label)
        self.lne_adi = QtWidgets.QLineEdit(self.formLayoutWidget)
        font = QtGui.QFont()
        font.setPointSize(10)
        self.lne_adi.setFont(font)
        self.lne_adi.setClearButtonEnabled(True)
        self.lne_adi.setObjectName("lne_adi")
        self.formLayout.setWidget(0, QtWidgets.QFormLayout.FieldRole, self.lne_adi)
        self.label_2 = QtWidgets.QLabel(self.formLayoutWidget)
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setBold(True)
        font.setWeight(75)
        self.label_2.setFont(font)
        self.label_2.setObjectName("label_2")
        self.formLayout.setWidget(1, QtWidgets.QFormLayout.LabelRole, self.label_2)
        self.lne_soyadi = QtWidgets.QLineEdit(self.formLayoutWidget)
        font = QtGui.QFont()
        font.setPointSize(10)
        self.lne_soyadi.setFont(font)
        self.lne_soyadi.setClearButtonEnabled(True)
        self.lne_soyadi.setObjectName("lne_soyadi")
        self.formLayout.setWidget(1, QtWidgets.QFormLayout.FieldRole, self.lne_soyadi)
        self.label_3 = QtWidgets.QLabel(self.formLayoutWidget)
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setBold(True)
        font.setWeight(75)
        self.label_3.setFont(font)
        self.label_3.setObjectName("label_3")
        self.formLayout.setWidget(2, QtWidgets.QFormLayout.LabelRole, self.label_3)
        self.lne_tc = QtWidgets.QLineEdit(self.formLayoutWidget)
        font = QtGui.QFont()
        font.setPointSize(10)
        self.lne_tc.setFont(font)
        self.lne_tc.setMaxLength(11)
        self.lne_tc.setClearButtonEnabled(True)
        self.lne_tc.setObjectName("lne_tc")
        self.formLayout.setWidget(2, QtWidgets.QFormLayout.FieldRole, self.lne_tc)
        self.btn_listele = QtWidgets.QPushButton(self.groupBox)
        self.btn_listele.setGeometry(QtCore.QRect(200, 180, 161, 61))
        font = QtGui.QFont()
        font.setPointSize(11)
        font.setBold(True)
        font.setWeight(75)
        self.btn_listele.setFont(font)
        self.btn_listele.setObjectName("btn_listele")
        self.btn_musteriara = QtWidgets.QPushButton(self.groupBox)
        self.btn_musteriara.setGeometry(QtCore.QRect(10, 180, 171, 61))
        font = QtGui.QFont()
        font.setPointSize(11)
        font.setBold(True)
        font.setWeight(75)
        self.btn_musteriara.setFont(font)
        self.btn_musteriara.setObjectName("btn_musteriara")
        self.groupBox_2 = QtWidgets.QGroupBox(self.centralwidget)
        self.groupBox_2.setGeometry(QtCore.QRect(390, 280, 391, 261))
        font = QtGui.QFont()
        font.setPointSize(9)
        font.setBold(True)
        font.setUnderline(True)
        font.setWeight(75)
        self.groupBox_2.setFont(font)
        self.groupBox_2.setStyleSheet("QWidget#frmLogin,QWidget#frmPopup,QWidget#frmHostInfo,QWidget#frmLogout,QWidget#frmConfig,QWidget#frmData,QWidget#frmDefence,QWidget#frmHost,QWidget#frmMain,QWidget#frmPwd,QWidget#frmSelect,QWidget#frmMessageBox{\n"
"    border:1px solid #1B89CA;\n"
"    border-radius:0px;    \n"
"}\n"
"\n"
".QFrame{\n"
"    border:1px solid #5CACEE;\n"
"    border-radius:5px;\n"
"}\n"
"\n"
"QWidget#widget_title{\n"
"    background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 #1B89CA, stop:1 #1077B5);\n"
"}\n"
"\n"
"QLabel#lab_Ico,QLabel#lab_Title{\n"
"    border-radius:0px;\n"
"    color: #F0F0F0;\n"
"    background-color:rgba(0,0,0,0);\n"
"    border-style:none;\n"
"}\n"
"\n"
"QLineEdit {\n"
"    border: 1px solid #5CACEE;\n"
"    border-radius: 5px;\n"
"    padding: 2px;\n"
"    background: none;\n"
"    selection-background-color: #1B89CA;\n"
"}\n"
"\n"
"QLineEdit[echoMode=\"2\"] { \n"
"    lineedit-password-character: 9679; \n"
"}\n"
"\n"
".QGroupBox{\n"
"    border: 1px solid #5CACEE;\n"
"    border-radius: 5px;\n"
"}\n"
"\n"
".QPushButton{\n"
"    border-style: none;\n"
"    border: 0px;\n"
"    color: #F0F0F0;\n"
"    padding: 5px;    \n"
"    min-height: 20px;\n"
"    border-radius:5px;\n"
"    background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 #1B89CA, stop:1 #1077B5); \n"
"}\n"
"\n"
".QPushButton[focusPolicy=\"0\"] {\n"
"    border-style: none;\n"
"    border: 0px;\n"
"    color: #F0F0F0;\n"
"    padding: 0px;    \n"
"    min-height: 10px;\n"
"    border-radius:3px;\n"
"    background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 #1B89CA, stop:1 #1077B5); \n"
"}\n"
"\n"
".QPushButton:hover{ \n"
"    background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 #5CACEE, stop:1 #4F94CD);\n"
"}\n"
"\n"
".QPushButton:pressed{ \n"
"    background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 #1B89CA, stop:1 #1077B5);\n"
"}\n"
"\n"
"QPushButton#btnMenu,QPushButton#btnMenu_Min,QPushButton#btnMenu_Max,QPushButton#btnMenu_Close{\n"
"    border-radius:0px;\n"
"    color: #F0F0F0;\n"
"    background-color:rgba(0,0,0,0);\n"
"    border-style:none;\n"
"}\n"
"\n"
"QPushButton#btnMenu:hover,QPushButton#btnMenu_Min:hover,QPushButton#btnMenu_Max:hover{\n"
"    background-color: qlineargradient(spread:pad, x1:0, y1:1, x2:0, y2:0, stop:0 rgba(25, 134, 199, 0), stop:1 #5CACEE);\n"
"}\n"
"\n"
"QPushButton#btnMenu_Close:hover{\n"
"    background-color: qlineargradient(spread:pad, x1:0, y1:1, x2:0, y2:0, stop:0 rgba(238, 0, 0, 128), stop:1 rgba(238, 44, 44, 255));\n"
"}\n"
"\n"
"QCheckBox {\n"
"    spacing: 2px; \n"
"}\n"
"\n"
"QCheckBox::indicator {\n"
"    width: 20px;\n"
"    height: 20px;\n"
"}\n"
"\n"
"QCheckBox::indicator:unchecked {\n"
"    image: url(:/qss_icons/img_rc/checkbox_unchecked.png);\n"
"}\n"
"\n"
"QCheckBox::indicator:checked {\n"
"    image: url(:/qss_icons/img_rc/checkbox_checked.png); \n"
"}\n"
"\n"
"QRadioButton {\n"
"    spacing: 2px;\n"
"}\n"
"\n"
"QRadioButton::indicator {\n"
"    width: 15px; \n"
"    height: 15px; \n"
"}\n"
"\n"
"QRadioButton::indicator::unchecked {\n"
"    image: url(:/qss_icons/img_rc/radio_normal.png); \n"
"}\n"
"\n"
"QRadioButton::indicator::checked {\n"
"    image: url(:/qss_icons/img_rc/radio_selected.png); \n"
"}\n"
"\n"
"QComboBox,QDateEdit{\n"
"    border-radius: 3px;\n"
"    padding: 1px 10px 1px 5px;\n"
"    border: 1px solid #5CACEE;\n"
"}\n"
"\n"
"QComboBox::drop-down,QDateEdit::drop-down {\n"
"    subcontrol-origin: padding;\n"
"    subcontrol-position: top right;\n"
"    width: 15px; \n"
"    border-left-width: 1px;\n"
"    border-left-style: solid;\n"
"    border-top-right-radius: 3px;\n"
"    border-bottom-right-radius: 3px;\n"
"    border-left-color: #5CACEE;\n"
"}\n"
"\n"
"QComboBox::down-arrow,QDateEdit::down-arrow {\n"
"    image: url(:/qss_icons/img_rc/array_down.png); \n"
"}\n"
"\n"
"QMenu {\n"
"    background-color:#F0F0F0;\n"
"    margin: 2px;\n"
"}\n"
"\n"
"QMenu::item {    \n"
"    padding: 2px 12px 2px 12px;\n"
"}\n"
"\n"
"QMenu::indicator {\n"
"    width: 13px;\n"
"    height: 13px;\n"
"}\n"
"\n"
"QMenu::item:selected {\n"
"    color: #FFFFFF;\n"
"    background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 #1B89CA, stop:1 #1077B5); \n"
"}\n"
"\n"
"QMenu::separator {\n"
"    height: 1px;\n"
"    background: #5CACEE;\n"
"}\n"
"\n"
"QProgressBar {\n"
"    border-radius: 5px;\n"
"    text-align: center;\n"
"    border: 1px solid #5CACEE;\n"
"}\n"
"\n"
"QProgressBar::chunk {\n"
"    width: 5px; \n"
"    margin: 0.5px;\n"
"    background-color: #1B89CA;\n"
"}\n"
"\n"
"QSlider::groove:horizontal,QSlider::add-page:horizontal { \n"
"    background: #808080; \n"
"    height: 8px; \n"
"    border-radius: 3px; \n"
"}\n"
"\n"
"QSlider::sub-page:horizontal {\n"
"    height: 8px; \n"
"    border-radius: 3px;\n"
"    background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 #1B89CA, stop:1 #1077B5); \n"
"}\n"
"\n"
"QSlider::handle:horizontal {\n"
"    width: 13px; \n"
"    margin-top: -3px; \n"
"    margin-bottom: -3px; \n"
"    border-radius: 6px;\n"
"    background: qradialgradient(spread:pad, cx:0.5, cy:0.5, radius:0.5, fx:0.5, fy:0.5,stop:0.6 #F0F0F0, stop:0.778409 #5CACEE);\n"
"}\n"
"\n"
"QSlider::handle:horizontal:hover {\n"
"    background: qradialgradient(spread: pad, cx: 0.5, cy: 0.5, radius: 0.5, fx: 0.5, fy: 0.5, stop: 0.6 #F0F0F0,stop:0.778409 #1B89CA);\n"
"}\n"
"\n"
"QSlider::groove:vertical,QSlider::sub-page:vertical {\n"
"    background:#808080; \n"
"    width: 8px; \n"
"    border-radius: 3px;\n"
"}\n"
"\n"
"QSlider::add-page:vertical {\n"
"    width: 8px;\n"
"    border-radius: 3px;\n"
"    background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 #1B89CA, stop:1 #1077B5); \n"
"}\n"
"\n"
"QSlider::handle:vertical {\n"
"    height: 14px; \n"
"    margin-left: -3px;\n"
"    margin-right: -3px;\n"
"    border-radius: 6px;\n"
"    background: qradialgradient(spread: pad, cx: 0.5, cy: 0.5, radius: 0.5, fx: 0.5, fy: 0.5, stop: 0.6 #F0F0F0, stop:0.778409 #5CACEE);\n"
"}\n"
"\n"
"QSlider::handle:vertical:hover {\n"
"    background: qradialgradient(spread: pad, cx: 0.5, cy: 0.5, radius: 0.5, fx: 0.5, fy: 0.5, stop: 0.6 #F0F0F0,stop:0.778409 #1B89CA);\n"
"}\n"
"\n"
"QScrollBar:vertical {\n"
"    width:10px; \n"
"    background-color:rgba(0,0,0,0%); \n"
"    padding-top:10px; \n"
"    padding-bottom:10px;\n"
"}\n"
"\n"
"QScrollBar:horizontal {\n"
"    height:10px; \n"
"    background-color:rgba(0,0,0,0%); \n"
"    padding-left:10px; padding-right:10px;\n"
"}\n"
"\n"
"QScrollBar::handle:vertical {\n"
"    width:10px;\n"
"    background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 #5CACEE, stop:1 #4F94CD); \n"
"}\n"
"\n"
"QScrollBar::handle:horizontal {\n"
"    height:10px;\n"
"    background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 #5CACEE, stop:1 #4F94CD); \n"
"}\n"
"\n"
"QScrollBar::handle:vertical:hover {\n"
"    width:10px;\n"
"    background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 #1B89CA, stop:1 #1077B5); \n"
"}\n"
"\n"
"QScrollBar::handle:horizontal:hover {\n"
"    height:10px;\n"
"    background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 #1B89CA, stop:1 #1077B5); \n"
"}\n"
"\n"
"QScrollBar::add-line:vertical {\n"
"    height:10px;\n"
"    width:10px;\n"
"    subcontrol-position: bottom; \n"
"    subcontrol-origin: margin;\n"
"    border-image:url(:/qss_icons/img_rc/add-line_vertical.png);\n"
"}\n"
"\n"
"QScrollBar::add-line:horizontal {\n"
"    height:10px;\n"
"    width:10px;\n"
"    subcontrol-position: right;\n"
"    subcontrol-origin: margin;\n"
"    border-image:url(:/qss_icons/img_rc/add-line_horizontal.png);\n"
"}\n"
"\n"
"QScrollBar::sub-line:vertical {\n"
"    height:10px;\n"
"    width:10px;\n"
"    subcontrol-position: top; \n"
"    subcontrol-origin: margin;\n"
"    border-image:url(:/qss_icons/img_rc/sub-line_vertical.png);\n"
"}\n"
"\n"
"QScrollBar::sub-line:horizontal {\n"
"    height:10px;\n"
"    width:10px;\n"
"    subcontrol-position: left;\n"
"    subcontrol-origin: margin;\n"
"    border-image:url(:/qss_icons/img_rc/sub-line_horizontal.png);\n"
"}\n"
"\n"
"QScrollBar::add-page:vertical,QScrollBar::sub-page:vertical {\n"
"    width:10px;\n"
"    background: #C0C0C0;\n"
"}\n"
"\n"
"QScrollBar::add-page:horizontal,QScrollBar::sub-page:horizontal {\n"
"    height:10px;\n"
"    background: #C0C0C0;\n"
"}\n"
"\n"
"QScrollArea {\n"
"    border: 0px ; \n"
"}\n"
"\n"
"QTreeView,QListView,QTableView{\n"
"    border: 1px solid #5CACEE; \n"
"    selection-background-color: #1B89CA;\n"
"    selection-color: #F0F0F0;\n"
"}\n"
"\n"
"QTableView::item:selected, QListView::item:selected, QTreeView::item:selected {\n"
"    color: #F0F0F0;\n"
"    background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 #1B89CA, stop:1 #1077B5); \n"
"}\n"
"\n"
"QTableView::item:hover, QListView::item:hover, QTreeView::item:hover {\n"
"    color: #F0F0F0;\n"
"    background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 #5CACEE, stop:1 #4F94CD); \n"
"}\n"
"\n"
"QTableView::item, QListView::item, QTreeView::item {\n"
"    padding: 5px; \n"
"    margin: 0px; \n"
"}\n"
"\n"
"QHeaderView::section {\n"
"    padding:3px;\n"
"    margin:0px;\n"
"    color:#F0F0F0;\n"
"    border: 1px solid #F0F0F0;\n"
"    background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 #5CACEE, stop:1 #4F94CD);\n"
"}\n"
"\n"
"QTabBar::tab {\n"
"    border-bottom-left-radius:0px;\n"
"    border-bottom-right-radius:0px;\n"
"    color: #F0F0F0;\n"
"    min-width: 60px;\n"
"    min-height: 20px;\n"
"    padding: 3px 8px 3px 8px;\n"
"    margin:1px;\n"
"    background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 #5CACEE, stop:1 #4F94CD); \n"
"}\n"
"\n"
"QTabBar::tab:selected, QTabBar::tab:hover {\n"
"    background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 #1B89CA, stop:1 #1077B5); \n"
"}\n"
"\n"
"QStatusBar::item {\n"
"     border: 1px solid #5CACEE;\n"
"     border-radius: 3px;\n"
"}")
        self.groupBox_2.setObjectName("groupBox_2")
        self.textEdit = QtWidgets.QTextEdit(self.groupBox_2)
        self.textEdit.setGeometry(QtCore.QRect(20, 20, 341, 181))
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setBold(True)
        font.setWeight(75)
        self.textEdit.setFont(font)
        self.textEdit.setStyleSheet("background-color: rgb(255, 255, 255);\n"
"color: rgb(0, 0, 0);")
        self.textEdit.setTabChangesFocus(False)
        self.textEdit.setObjectName("textEdit")
        self.btn_musteriyazdir = QtWidgets.QPushButton(self.groupBox_2)
        self.btn_musteriyazdir.setGeometry(QtCore.QRect(20, 210, 161, 31))
        font = QtGui.QFont()
        font.setPointSize(9)
        font.setBold(True)
        font.setWeight(75)
        self.btn_musteriyazdir.setFont(font)
        self.btn_musteriyazdir.setObjectName("btn_musteriyazdir")
        self.btn_mailgonder = QtWidgets.QPushButton(self.groupBox_2)
        self.btn_mailgonder.setGeometry(QtCore.QRect(210, 210, 151, 31))
        font = QtGui.QFont()
        font.setPointSize(9)
        font.setBold(True)
        font.setWeight(75)
        self.btn_mailgonder.setFont(font)
        self.btn_mailgonder.setObjectName("btn_mailgonder")
        self.groupBox_3 = QtWidgets.QGroupBox(self.centralwidget)
        self.groupBox_3.setGeometry(QtCore.QRect(10, 10, 781, 251))
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setBold(True)
        font.setItalic(False)
        font.setUnderline(True)
        font.setWeight(75)
        self.groupBox_3.setFont(font)
        self.groupBox_3.setStyleSheet("")
        self.groupBox_3.setObjectName("groupBox_3")
        self.musteri_bilgisi = QtWidgets.QTableWidget(self.groupBox_3)
        self.musteri_bilgisi.setGeometry(QtCore.QRect(10, 30, 761, 211))
        self.musteri_bilgisi.setStyleSheet("History {\n"
"    background-color: qlineargradient(spread:pad, x1:0, y1:0, x2:1, y2:0, stop:0 black, stop:1 gray);\n"
"}\n"
"\n"
"* {\n"
"    font: \"Cantarell\";\n"
"    color: rgba( 255, 255, 200);\n"
"}\n"
"\n"
"QTableWidget {\n"
"    background-color: qlineargradient(spread:pad, x1:0, y1:0, x2:1, y2:0, stop:0 black, stop:1 blue);\n"
"}\n"
"\n"
"QTableWidget::item {\n"
"    hborder: 5px solid rgba(68, 119, 170, 100);\n"
"    background-color:rgba(100, 119, 170, 150);\n"
"}\n"
"\n"
"QHeaderView, QHeaderView::section {\n"
"    background-color: rgba(128, 128, 128, 128);\n"
"}")
        self.musteri_bilgisi.setRowCount(100)
        self.musteri_bilgisi.setColumnCount(10)
        self.musteri_bilgisi.setObjectName("musteri_bilgisi")
        MainWindow.setCentralWidget(self.centralwidget)
        self.statusbar = QtWidgets.QStatusBar(MainWindow)
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setBold(True)
        font.setItalic(True)
        font.setUnderline(False)
        font.setWeight(75)
        self.statusbar.setFont(font)
        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", "MainWindow"))
        self.groupBox.setTitle(_translate("MainWindow", "Müşteri Ara"))
        self.label.setText(_translate("MainWindow", "Müşteri Adı:"))
        self.label_2.setText(_translate("MainWindow", "Müşteri Soyadı:"))
        self.label_3.setText(_translate("MainWindow", "Müşteri TC:"))
        self.btn_listele.setText(_translate("MainWindow", "Müşterileri Listele"))
        self.btn_musteriara.setText(_translate("MainWindow", "Müşteri Ara"))
        self.groupBox_2.setTitle(_translate("MainWindow", "Müşteri Bilgileri"))
        self.textEdit.setHtml(_translate("MainWindow", "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\" \"http://www.w3.org/TR/REC-html40/strict.dtd\">\n"
"<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
"p, li { white-space: pre-wrap; }\n"
"</style></head><body style=\" font-family:\'MS Shell Dlg 2\'; font-size:10pt; font-weight:600; font-style:normal;\">\n"
"<p align=\"justify\" style=\"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:8.25pt; font-weight:400;\"><br /></p></body></html>"))
        self.btn_musteriyazdir.setText(_translate("MainWindow", "Müşteri Bilgilerini Yazdır"))
        self.btn_mailgonder.setText(_translate("MainWindow", "Teslimat Bilgisi Gönder"))
        self.groupBox_3.setTitle(_translate("MainWindow", "Kayıtlı Müşteri Listesi"))

#mailgönderme sayfamın ekran görüntüsü