# -*- coding: utf-8 -*- # Form implementation generated from reading ui file 'yazman.ui' # # Created: Fri Jul 25 20:48:50 2008 # by: PyQt4 UI code generator 4.4.2 # # WARNING! All changes made in this file will be lost! from PyQt4 import QtCore, QtGui class Ui_notepad(object): def setupUi(self, notepad): notepad.setObjectName("notepad") notepad.resize(560,408) icon = QtGui.QIcon() icon.addPixmap(QtGui.QPixmap("yazman.gif"),QtGui.QIcon.Normal,QtGui.QIcon.Off) notepad.setWindowIcon(icon) self.centralwidget = QtGui.QWidget(notepad) self.centralwidget.setGeometry(QtCore.QRect(0,30,560,355)) self.centralwidget.setObjectName("centralwidget") self.gridlayout = QtGui.QGridLayout(self.centralwidget) self.gridlayout.setMargin(9) self.gridlayout.setSpacing(6) self.gridlayout.setObjectName("gridlayout") self.button_save = QtGui.QPushButton(self.centralwidget) self.button_save.setEnabled(False) self.button_save.setObjectName("button_save") self.gridlayout.addWidget(self.button_save,0,1,1,1) self.button_open = QtGui.QPushButton(self.centralwidget) self.button_open.setObjectName("button_open") self.gridlayout.addWidget(self.button_open,0,0,1,1) self.editor_window = QtGui.QTextEdit(self.centralwidget) self.editor_window.setObjectName("editor_window") self.gridlayout.addWidget(self.editor_window,2,0,1,3) self.button_close = QtGui.QPushButton(self.centralwidget) self.button_close.setObjectName("button_close") self.gridlayout.addWidget(self.button_close,0,2,1,1) self.label = QtGui.QLabel(self.centralwidget) font = QtGui.QFont() font.setFamily("Liberation Sans") font.setWeight(75) font.setItalic(False) font.setStrikeOut(False) font.setBold(True) self.label.setFont(font) self.label.setObjectName("label") self.gridlayout.addWidget(self.label,3,0,1,1) notepad.setCentralWidget(self.centralwidget) self.menubar = QtGui.QMenuBar(notepad) self.menubar.setGeometry(QtCore.QRect(0,0,560,30)) self.menubar.setObjectName("menubar") notepad.setMenuBar(self.menubar) self.statusbar = QtGui.QStatusBar(notepad) self.statusbar.setGeometry(QtCore.QRect(0,385,560,23)) self.statusbar.setObjectName("statusbar") notepad.setStatusBar(self.statusbar) self.retranslateUi(notepad) QtCore.QObject.connect(self.button_close,QtCore.SIGNAL("clicked()"),notepad.close) QtCore.QMetaObject.connectSlotsByName(notepad) def retranslateUi(self, notepad): notepad.setWindowTitle(QtGui.QApplication.translate("notepad", "Yazman", None, QtGui.QApplication.UnicodeUTF8)) self.button_save.setText(QtGui.QApplication.translate("notepad", "Kaydet", None, QtGui.QApplication.UnicodeUTF8)) self.button_open.setText(QtGui.QApplication.translate("notepad", "Dosya AƧ", None, QtGui.QApplication.UnicodeUTF8)) self.button_close.setText(QtGui.QApplication.translate("notepad", "Kapat", None, QtGui.QApplication.UnicodeUTF8)) self.label.setText(QtGui.QApplication.translate("notepad", "http://yazman.googlecode.com", None, QtGui.QApplication.UnicodeUTF8))