def __init__(self,parent = None): QtGui.QDialog.__init__(self) self.koneksiDatabase() myDB.tampilan() self.setupUi(self) self.setWindowTitle('Login Administrator') self.lineEditNIK.setFocus() self.aksi() self.sukses =0
def __init__(self,parent = None): QtGui.QMainWindow.__init__(self) self.koneksiDatabase() self.setupUi(self) myDB.tampilan() self.setWindowTitle('Kode Pos Indonesia') self.aksi() self.formNormal() self.comboProvinsi()
def __init__(self, parent=None): QtGui.QMainWindow.__init__(self) self.koneksiDatabase() self.setupUi(self) myDB.tampilan() self.setWindowTitle('menu Shift') self.onShow() self.aksi() self.formNormal()
def __init__(self,parent = None): QtGui.QMainWindow.__init__(self) self.koneksiDatabase() self.setupUi(self) myDB.tampilan() self.setWindowTitle('menu Absensi') self.aksi() self.Normal() self.status = 0
def __init__(self, parent=None): self.folder_tgl = '\\data\\Laporan\\' self.judul = "Report Absensi" QtGui.QDialog.__init__(self) self.koneksiDatabase() myDB.tampilan() self.setupUi(self) self.setWindowTitle('Export Periode') self.aksi() self.dateEditAwal.setDate(QtCore.QDate.currentDate()) self.dateEditAkhir.setDate(QtCore.QDate.currentDate())
def __init__(self, parent=None): QtGui.QMainWindow.__init__(self) self.judul = "Report Absensi" self.folder_tgl = '\\data\\Laporan\\' self.simpan = os.getcwd() + self.folder_tgl + "reportAbsensi" self.koneksiDatabase() self.setupUi(self) myDB.tampilan() self.setWindowTitle(self.judul) self.formNormal() self.aksi() self.onShow()
def __init__(self, parent=None, NIK=None): QtGui.QDialog.__init__(self) self.koneksiDatabase() self.setupUi(self) myDB.tampilan() self.setWindowTitle('Data Pengguna') self.comboShift() self.aksi() if NIK == None: self.lineEditNIK.setEnabled(True) self.lineEditNIK.setFocus() else: self.lineEditNIK.setText(NIK) self.onNIKEnter()
def __init__(self, parent=None): QtGui.QMainWindow.__init__(self) try: QtGui.QApplication.setStyle('Plastique') except: pass self.koneksiDatabase() self.setupUi(self) myDB.tampilan() self.setWindowTitle('Absensi Manual') timer = QtCore.QTimer(self) timer.timeout.connect(self.Time) # Reduced update time to fasten the change from w/ secs to w/o secs timer.start(10) self.showFullScreen() self.onAbsensi() self.aksi()
def __init__(self, parent=None, kdpengguna=None, nama=None, status=None): self.kdpengguna = kdpengguna self.nama = nama self.status = status QtGui.QMainWindow.__init__(self) self.cariSQL = "" self.judul = "Laporan Realisasi Sales Per Periode" self.folder_tgl = '\\data\\Laporan\\' + time.strftime( "%Y") + '\\' + time.strftime("%m") + '\\' + time.strftime( "%d") + '\\' self.simpan = os.getcwd( ) + self.folder_tgl + "LaporanRealisasiSalesDetail" self.koneksiDatabase() self.setupUi(self) self.actionKeluar.deleteLater() self.labelTipe.hide() self.comboBox.hide() myDB.tampilan() self.setWindowTitle(self.judul) self.comboBoxSearch.addItems(h) self.aksi() self.formNormal()