Logo Search packages:      
Sourcecode: lekhonee version File versions  Download package

LekhoneeUI.py

#!/usr/bin/env python
# coding=UTF-8
#
# Generated by pykdeuic4 from ui/Lekhonee.ui on Wed Jul 22 11:25:34 2009
#
# WARNING! All changes to this file will be lost.
from PyKDE4 import kdecore
from PyKDE4 import kdeui
from PyQt4 import QtCore, QtGui

class Ui_Lekhonee(object):
    def setupUi(self, Lekhonee):
        Lekhonee.setObjectName("Lekhonee")
        Lekhonee.resize(1001, 586)
        icon = QtGui.QIcon()
        icon.addPixmap(QtGui.QPixmap(":/pixmaps/lekhonee.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        Lekhonee.setWindowIcon(icon)
        self.centralwidget = QtGui.QWidget(Lekhonee)
        self.centralwidget.setObjectName("centralwidget")
        self.gridLayout_5 = QtGui.QGridLayout(self.centralwidget)
        self.gridLayout_5.setObjectName("gridLayout_5")
        self.verticalLayout = QtGui.QVBoxLayout()
        self.verticalLayout.setObjectName("verticalLayout")
        self.hboxlayout = QtGui.QHBoxLayout()
        self.hboxlayout.setObjectName("hboxlayout")
        self.label = QtGui.QLabel(self.centralwidget)
        self.label.setObjectName("label")
        self.hboxlayout.addWidget(self.label)
        self.titleTxt = QtGui.QLineEdit(self.centralwidget)
        self.titleTxt.setObjectName("titleTxt")
        self.hboxlayout.addWidget(self.titleTxt)
        self.commentCheckBox = QtGui.QCheckBox(self.centralwidget)
        self.commentCheckBox.setChecked(True)
        self.commentCheckBox.setObjectName("commentCheckBox")
        self.hboxlayout.addWidget(self.commentCheckBox)
        self.verticalLayout.addLayout(self.hboxlayout)
        self.hboxlayout1 = QtGui.QHBoxLayout()
        self.hboxlayout1.setObjectName("hboxlayout1")
        self.boldBttn = QtGui.QPushButton(self.centralwidget)
        font = QtGui.QFont()
        font.setWeight(75)
        font.setBold(True)
        self.boldBttn.setFont(font)
        icon1 = QtGui.QIcon()
        icon1.addPixmap(QtGui.QPixmap(":/icons/bold.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.boldBttn.setIcon(icon1)
        self.boldBttn.setIconSize(QtCore.QSize(20, 20))
        self.boldBttn.setObjectName("boldBttn")
        self.hboxlayout1.addWidget(self.boldBttn)
        self.italicBttn = QtGui.QPushButton(self.centralwidget)
        font = QtGui.QFont()
        font.setWeight(50)
        font.setItalic(True)
        font.setBold(False)
        self.italicBttn.setFont(font)
        icon2 = QtGui.QIcon()
        icon2.addPixmap(QtGui.QPixmap(":/icons/italic.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.italicBttn.setIcon(icon2)
        self.italicBttn.setIconSize(QtCore.QSize(20, 20))
        self.italicBttn.setObjectName("italicBttn")
        self.hboxlayout1.addWidget(self.italicBttn)
        self.linkBttn = QtGui.QPushButton(self.centralwidget)
        self.linkBttn.setObjectName("linkBttn")
        self.hboxlayout1.addWidget(self.linkBttn)
        self.imageBttn = QtGui.QPushButton(self.centralwidget)
        icon3 = QtGui.QIcon()
        icon3.addPixmap(QtGui.QPixmap(":/icons/insert-image.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.imageBttn.setIcon(icon3)
        self.imageBttn.setIconSize(QtCore.QSize(20, 20))
        self.imageBttn.setObjectName("imageBttn")
        self.hboxlayout1.addWidget(self.imageBttn)
        spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.hboxlayout1.addItem(spacerItem)
        self.oldPostBttn = QtGui.QPushButton(self.centralwidget)
        self.oldPostBttn.setCheckable(True)
        self.oldPostBttn.setObjectName("oldPostBttn")
        self.hboxlayout1.addWidget(self.oldPostBttn)
        self.stateBttn = QtGui.QPushButton(self.centralwidget)
        self.stateBttn.setObjectName("stateBttn")
        self.hboxlayout1.addWidget(self.stateBttn)
        self.verticalLayout.addLayout(self.hboxlayout1)
        self.stack = QtGui.QStackedWidget(self.centralwidget)
        self.stack.setObjectName("stack")
        self.page = QtGui.QWidget()
        self.page.setObjectName("page")
        self.gridLayout = QtGui.QGridLayout(self.page)
        self.gridLayout.setObjectName("gridLayout")
        self.blogTxt = KTextEdit(self.page)
        self.blogTxt.setObjectName("blogTxt")
        self.gridLayout.addWidget(self.blogTxt, 0, 0, 1, 1)
        self.stack.addWidget(self.page)
        self.page_2 = QtGui.QWidget()
        self.page_2.setObjectName("page_2")
        self.gridLayout_2 = QtGui.QGridLayout(self.page_2)
        self.gridLayout_2.setObjectName("gridLayout_2")
        self.webView = QtWebKit.QWebView(self.page_2)
        self.webView.setUrl(QtCore.QUrl("about:blank"))
        self.webView.setObjectName("webView")
        self.gridLayout_2.addWidget(self.webView, 0, 0, 1, 1)
        self.stack.addWidget(self.page_2)
        self.page_3 = QtGui.QWidget()
        self.page_3.setObjectName("page_3")
        self.gridLayout_4 = QtGui.QGridLayout(self.page_3)
        self.gridLayout_4.setObjectName("gridLayout_4")
        self.entryList = QtGui.QListWidget(self.page_3)
        self.entryList.setObjectName("entryList")
        self.gridLayout_4.addWidget(self.entryList, 0, 0, 1, 1)
        self.stack.addWidget(self.page_3)
        self.verticalLayout.addWidget(self.stack)
        self.uploadframe = QtGui.QFrame(self.centralwidget)
        self.uploadframe.setFrameShape(QtGui.QFrame.StyledPanel)
        self.uploadframe.setFrameShadow(QtGui.QFrame.Plain)
        self.uploadframe.setObjectName("uploadframe")
        self.gridLayout_3 = QtGui.QGridLayout(self.uploadframe)
        self.gridLayout_3.setObjectName("gridLayout_3")
        self.horizontalLayout_3 = QtGui.QHBoxLayout()
        self.horizontalLayout_3.setObjectName("horizontalLayout_3")
        self.fileTxt = QtGui.QLineEdit(self.uploadframe)
        self.fileTxt.setObjectName("fileTxt")
        self.horizontalLayout_3.addWidget(self.fileTxt)
        self.selectUploadBttn = QtGui.QPushButton(self.uploadframe)
        self.selectUploadBttn.setObjectName("selectUploadBttn")
        self.horizontalLayout_3.addWidget(self.selectUploadBttn)
        self.gridLayout_3.addLayout(self.horizontalLayout_3, 0, 0, 1, 1)
        self.horizontalLayout_2 = QtGui.QHBoxLayout()
        self.horizontalLayout_2.setObjectName("horizontalLayout_2")
        self.uploadCancelBttn = QtGui.QPushButton(self.uploadframe)
        self.uploadCancelBttn.setObjectName("uploadCancelBttn")
        self.horizontalLayout_2.addWidget(self.uploadCancelBttn)
        spacerItem1 = QtGui.QSpacerItem(328, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.horizontalLayout_2.addItem(spacerItem1)
        self.uploadBttn = QtGui.QPushButton(self.uploadframe)
        self.uploadBttn.setObjectName("uploadBttn")
        self.horizontalLayout_2.addWidget(self.uploadBttn)
        self.gridLayout_3.addLayout(self.horizontalLayout_2, 1, 0, 1, 1)
        self.verticalLayout.addWidget(self.uploadframe)
        self.horizontalLayout = QtGui.QHBoxLayout()
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.spellCheckBox = QtGui.QCheckBox(self.centralwidget)
        self.spellCheckBox.setObjectName("spellCheckBox")
        self.horizontalLayout.addWidget(self.spellCheckBox)
        self.tagsTxt = QtGui.QLineEdit(self.centralwidget)
        self.tagsTxt.setObjectName("tagsTxt")
        self.horizontalLayout.addWidget(self.tagsTxt)
        spacerItem2 = QtGui.QSpacerItem(38, 28, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.horizontalLayout.addItem(spacerItem2)
        self.draftBttn = QtGui.QPushButton(self.centralwidget)
        icon4 = QtGui.QIcon()
        icon4.addPixmap(QtGui.QPixmap(":/icons/draft.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.draftBttn.setIcon(icon4)
        self.draftBttn.setIconSize(QtCore.QSize(20, 20))
        self.draftBttn.setObjectName("draftBttn")
        self.horizontalLayout.addWidget(self.draftBttn)
        self.publishBttn = QtGui.QPushButton(self.centralwidget)
        icon5 = QtGui.QIcon()
        icon5.addPixmap(QtGui.QPixmap(":/icons/internet.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.publishBttn.setIcon(icon5)
        self.publishBttn.setIconSize(QtCore.QSize(20, 20))
        self.publishBttn.setObjectName("publishBttn")
        self.horizontalLayout.addWidget(self.publishBttn)
        self.verticalLayout.addLayout(self.horizontalLayout)
        self.gridLayout_5.addLayout(self.verticalLayout, 0, 0, 1, 1)
        self.vboxlayout = QtGui.QVBoxLayout()
        self.vboxlayout.setObjectName("vboxlayout")
        spacerItem3 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Fixed)
        self.vboxlayout.addItem(spacerItem3)
        self.label_2 = QtGui.QLabel(self.centralwidget)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label_2.sizePolicy().hasHeightForWidth())
        self.label_2.setSizePolicy(sizePolicy)
        self.label_2.setObjectName("label_2")
        self.vboxlayout.addWidget(self.label_2)
        self.categoryList = QtGui.QListWidget(self.centralwidget)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.categoryList.sizePolicy().hasHeightForWidth())
        self.categoryList.setSizePolicy(sizePolicy)
        self.categoryList.setSelectionMode(QtGui.QAbstractItemView.MultiSelection)
        self.categoryList.setObjectName("categoryList")
        self.vboxlayout.addWidget(self.categoryList)
        self.getCategoriesBttn = QtGui.QPushButton(self.centralwidget)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.getCategoriesBttn.sizePolicy().hasHeightForWidth())
        self.getCategoriesBttn.setSizePolicy(sizePolicy)
        icon6 = QtGui.QIcon()
        icon6.addPixmap(QtGui.QPixmap(":/icons/get-arrow.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.getCategoriesBttn.setIcon(icon6)
        self.getCategoriesBttn.setIconSize(QtCore.QSize(20, 20))
        self.getCategoriesBttn.setObjectName("getCategoriesBttn")
        self.vboxlayout.addWidget(self.getCategoriesBttn)
        self.addCategoryTxt = QtGui.QLineEdit(self.centralwidget)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.addCategoryTxt.sizePolicy().hasHeightForWidth())
        self.addCategoryTxt.setSizePolicy(sizePolicy)
        self.addCategoryTxt.setObjectName("addCategoryTxt")
        self.vboxlayout.addWidget(self.addCategoryTxt)
        self.addCategoryBttn = QtGui.QPushButton(self.centralwidget)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.addCategoryBttn.sizePolicy().hasHeightForWidth())
        self.addCategoryBttn.setSizePolicy(sizePolicy)
        self.addCategoryBttn.setObjectName("addCategoryBttn")
        self.vboxlayout.addWidget(self.addCategoryBttn)
        self.gridLayout_5.addLayout(self.vboxlayout, 0, 1, 1, 1)
        self.serverTabs = QtGui.QTabWidget(self.centralwidget)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.serverTabs.sizePolicy().hasHeightForWidth())
        self.serverTabs.setSizePolicy(sizePolicy)
        self.serverTabs.setObjectName("serverTabs")
        self.tab = QtGui.QWidget()
        self.tab.setObjectName("tab")
        self.gridLayout_6 = QtGui.QGridLayout(self.tab)
        self.gridLayout_6.setObjectName("gridLayout_6")
        self.addPageBttn = QtGui.QPushButton(self.tab)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.addPageBttn.sizePolicy().hasHeightForWidth())
        self.addPageBttn.setSizePolicy(sizePolicy)
        icon7 = QtGui.QIcon()
        icon7.addPixmap(QtGui.QPixmap(":/icons/addpage.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.addPageBttn.setIcon(icon7)
        self.addPageBttn.setIconSize(QtCore.QSize(20, 20))
        self.addPageBttn.setObjectName("addPageBttn")
        self.gridLayout_6.addWidget(self.addPageBttn, 0, 0, 1, 1)
        self.serverTabs.addTab(self.tab, "")
        self.tab_2 = QtGui.QWidget()
        self.tab_2.setObjectName("tab_2")
        self.serverTabs.addTab(self.tab_2, "")
        self.gridLayout_5.addWidget(self.serverTabs, 1, 0, 1, 1)
        Lekhonee.setCentralWidget(self.centralwidget)
        self.menubar = QtGui.QMenuBar(Lekhonee)
        self.menubar.setGeometry(QtCore.QRect(0, 0, 1001, 28))
        self.menubar.setObjectName("menubar")
        self.menu_File = QtGui.QMenu(self.menubar)
        self.menu_File.setObjectName("menu_File")
        self.menu_Edit = QtGui.QMenu(self.menubar)
        self.menu_Edit.setObjectName("menu_Edit")
        self.menuHTML_Tags = QtGui.QMenu(self.menubar)
        self.menuHTML_Tags.setObjectName("menuHTML_Tags")
        Lekhonee.setMenuBar(self.menubar)
        self.statusbar = QtGui.QStatusBar(Lekhonee)
        self.statusbar.setObjectName("statusbar")
        Lekhonee.setStatusBar(self.statusbar)
        self.action_Open = QtGui.QAction(Lekhonee)
        icon8 = QtGui.QIcon()
        icon8.addPixmap(QtGui.QPixmap(":/icons/document-open.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.action_Open.setIcon(icon8)
        self.action_Open.setObjectName("action_Open")
        self.action_Save = QtGui.QAction(Lekhonee)
        icon9 = QtGui.QIcon()
        icon9.addPixmap(QtGui.QPixmap(":/icons/document-save.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.action_Save.setIcon(icon9)
        self.action_Save.setObjectName("action_Save")
        self.actionBold = QtGui.QAction(Lekhonee)
        self.actionBold.setIcon(icon1)
        self.actionBold.setObjectName("actionBold")
        self.actionItalic = QtGui.QAction(Lekhonee)
        self.actionItalic.setIcon(icon2)
        self.actionItalic.setObjectName("actionItalic")
        self.actionUnderline = QtGui.QAction(Lekhonee)
        icon10 = QtGui.QIcon()
        icon10.addPixmap(QtGui.QPixmap(":/icons/underline.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.actionUnderline.setIcon(icon10)
        self.actionUnderline.setObjectName("actionUnderline")
        self.actionSuperscript = QtGui.QAction(Lekhonee)
        icon11 = QtGui.QIcon()
        icon11.addPixmap(QtGui.QPixmap(":/icons/superscript.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.actionSuperscript.setIcon(icon11)
        self.actionSuperscript.setObjectName("actionSuperscript")
        self.actionSubscript = QtGui.QAction(Lekhonee)
        icon12 = QtGui.QIcon()
        icon12.addPixmap(QtGui.QPixmap(":/icons/subscript.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.actionSubscript.setIcon(icon12)
        self.actionSubscript.setObjectName("actionSubscript")
        self.actionInsert_Image = QtGui.QAction(Lekhonee)
        self.actionInsert_Image.setIcon(icon3)
        self.actionInsert_Image.setObjectName("actionInsert_Image")
        self.actionInsert_link = QtGui.QAction(Lekhonee)
        self.actionInsert_link.setObjectName("actionInsert_link")
        self.actionIn_FireFox = QtGui.QAction(Lekhonee)
        self.actionIn_FireFox.setObjectName("actionIn_FireFox")
        self.actionIn_Konqueror = QtGui.QAction(Lekhonee)
        icon13 = QtGui.QIcon()
        icon13.addPixmap(QtGui.QPixmap(":/icons/konqueror.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.actionIn_Konqueror.setIcon(icon13)
        self.actionIn_Konqueror.setObjectName("actionIn_Konqueror")
        self.actionPrevious_Entries = QtGui.QAction(Lekhonee)
        self.actionPrevious_Entries.setEnabled(False)
        self.actionPrevious_Entries.setObjectName("actionPrevious_Entries")
        self.actionPreferences = QtGui.QAction(Lekhonee)
        icon14 = QtGui.QIcon()
        icon14.addPixmap(QtGui.QPixmap(":/icons/configure.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.actionPreferences.setIcon(icon14)
        self.actionPreferences.setObjectName("actionPreferences")
        self.action_Quit = QtGui.QAction(Lekhonee)
        icon15 = QtGui.QIcon()
        icon15.addPixmap(QtGui.QPixmap(":/icons/application-exit.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.action_Quit.setIcon(icon15)
        self.action_Quit.setObjectName("action_Quit")
        self.action_New = QtGui.QAction(Lekhonee)
        icon16 = QtGui.QIcon()
        icon16.addPixmap(QtGui.QPixmap(":/icons/document-new.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.action_New.setIcon(icon16)
        self.action_New.setObjectName("action_New")
        self.action_Help = QtGui.QAction(Lekhonee)
        self.action_Help.setEnabled(False)
        self.action_Help.setObjectName("action_Help")
        self.actionAbout_Chotha = QtGui.QAction(Lekhonee)
        icon17 = QtGui.QIcon()
        icon17.addPixmap(QtGui.QPixmap("../../../../../../usr/share/pixmaps/chotha.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.actionAbout_Chotha.setIcon(icon17)
        self.actionAbout_Chotha.setObjectName("actionAbout_Chotha")
        self.actionLast_Entry = QtGui.QAction(Lekhonee)
        self.actionLast_Entry.setObjectName("actionLast_Entry")
        self.actionLekhonee_msg = QtGui.QAction(Lekhonee)
        self.actionLekhonee_msg.setCheckable(True)
        self.actionLekhonee_msg.setChecked(True)
        self.actionLekhonee_msg.setObjectName("actionLekhonee_msg")
        self.actionOld_Posts = QtGui.QAction(Lekhonee)
        self.actionOld_Posts.setObjectName("actionOld_Posts")
        self.actionUpload_File = QtGui.QAction(Lekhonee)
        self.actionUpload_File.setObjectName("actionUpload_File")
        self.menu_File.addAction(self.action_New)
        self.menu_File.addAction(self.action_Open)
        self.menu_File.addAction(self.action_Save)
        self.menu_File.addAction(self.action_Quit)
        self.menu_Edit.addAction(self.actionLast_Entry)
        self.menu_Edit.addAction(self.actionLekhonee_msg)
        self.menu_Edit.addAction(self.actionUpload_File)
        self.menu_Edit.addAction(self.actionPreferences)
        self.menuHTML_Tags.addAction(self.actionBold)
        self.menuHTML_Tags.addAction(self.actionItalic)
        self.menuHTML_Tags.addAction(self.actionUnderline)
        self.menuHTML_Tags.addSeparator()
        self.menuHTML_Tags.addAction(self.actionSuperscript)
        self.menuHTML_Tags.addAction(self.actionSubscript)
        self.menuHTML_Tags.addSeparator()
        self.menuHTML_Tags.addAction(self.actionInsert_Image)
        self.menuHTML_Tags.addAction(self.actionInsert_link)
        self.menubar.addAction(self.menu_File.menuAction())
        self.menubar.addAction(self.menu_Edit.menuAction())
        self.menubar.addAction(self.menuHTML_Tags.menuAction())

        self.retranslateUi(Lekhonee)
        self.stack.setCurrentIndex(0)
        self.serverTabs.setCurrentIndex(0)
        QtCore.QMetaObject.connectSlotsByName(Lekhonee)
        Lekhonee.setTabOrder(self.titleTxt, self.commentCheckBox)
        Lekhonee.setTabOrder(self.commentCheckBox, self.publishBttn)
        Lekhonee.setTabOrder(self.publishBttn, self.draftBttn)
        Lekhonee.setTabOrder(self.draftBttn, self.boldBttn)
        Lekhonee.setTabOrder(self.boldBttn, self.italicBttn)
        Lekhonee.setTabOrder(self.italicBttn, self.linkBttn)
        Lekhonee.setTabOrder(self.linkBttn, self.stateBttn)
        Lekhonee.setTabOrder(self.stateBttn, self.categoryList)

    def retranslateUi(self, Lekhonee):
        Lekhonee.setWindowTitle(kdecore.i18n("Lekhonee"))
        self.label.setText(kdecore.i18n("Title"))
        self.titleTxt.setToolTip(kdecore.i18n("Title of the blog"))
        self.commentCheckBox.setToolTip(kdecore.i18n("Comments are aloowed in this post or not"))
        self.commentCheckBox.setText(kdecore.i18n("Comment Allowed"))
        self.boldBttn.setToolTip(kdecore.i18n("Bold"))
        self.linkBttn.setToolTip(kdecore.i18n("Insert a link"))
        self.linkBttn.setText(kdecore.i18n("Link"))
        self.imageBttn.setToolTip(kdecore.i18n("Insert the link of an Image"))
        self.oldPostBttn.setText(kdecore.i18n("Old Posts"))
        self.stateBttn.setToolTip(kdecore.i18n("Change the mode"))
        self.stateBttn.setText(kdecore.i18n("Preview"))
        self.selectUploadBttn.setText(kdecore.i18n("Select File to Upload"))
        self.uploadCancelBttn.setText(kdecore.i18n("Cancel"))
        self.uploadBttn.setText(kdecore.i18n("Upload"))
        self.spellCheckBox.setText(kdecore.i18n("Spell Check"))
        self.tagsTxt.setToolTip(kdecore.i18n("Tags separated by commas"))
        self.tagsTxt.setText(kdecore.i18n("Tags"))
        self.draftBttn.setToolTip(kdecore.i18n("Save the blog entry as a draft on the server"))
        self.draftBttn.setText(kdecore.i18n("Draft"))
        self.publishBttn.setToolTip(kdecore.i18n("Publish the blog entry on the server"))
        self.publishBttn.setText(kdecore.i18n("Publish"))
        self.label_2.setText(kdecore.i18n("Categories"))
        self.categoryList.setToolTip(kdecore.i18n("List of categories or tags"))
        self.getCategoriesBttn.setText(kdecore.i18n("Refresh"))
        self.addCategoryBttn.setText(kdecore.i18n("Add Category"))
        self.addPageBttn.setText(kdecore.i18n("Add Page"))
        self.serverTabs.setTabText(self.serverTabs.indexOf(self.tab), kdecore.i18n("Wordpress"))
        self.serverTabs.setTabText(self.serverTabs.indexOf(self.tab_2), kdecore.i18n("Future Work"))
        self.menubar.setWindowTitle(kdecore.i18n("Chotha Beta 1"))
        self.menu_File.setTitle(kdecore.i18n("&File"))
        self.menu_Edit.setTitle(kdecore.i18n("&Edit"))
        self.menuHTML_Tags.setTitle(kdecore.i18n("HTML Tags"))
        self.action_Open.setText(kdecore.i18n("&Open"))
        self.action_Save.setText(kdecore.i18n("&Save"))
        self.actionBold.setText(kdecore.i18n("&Bold"))
        self.actionItalic.setText(kdecore.i18n("&Italic"))
        self.actionUnderline.setText(kdecore.i18n("&Underline"))
        self.actionSuperscript.setText(kdecore.i18n("Super&script"))
        self.actionSubscript.setText(kdecore.i18n("Subs&cript"))
        self.actionInsert_Image.setText(kdecore.i18n("Insert I&mage"))
        self.actionInsert_link.setText(kdecore.i18n("Insert &link"))
        self.actionIn_FireFox.setText(kdecore.i18n("In &FireFox"))
        self.actionIn_Konqueror.setText(kdecore.i18n("In &Konqueror"))
        self.actionPrevious_Entries.setText(kdecore.i18n("Previous &Entries"))
        self.actionPreferences.setText(kdecore.i18n("Preferences"))
        self.action_Quit.setText(kdecore.i18n("&Quit"))
        self.action_New.setText(kdecore.i18n("&New"))
        self.action_Help.setText(kdecore.i18n("&Help"))
        self.actionAbout_Chotha.setText(kdecore.i18n("About Chotha"))
        self.actionLast_Entry.setText(kdecore.i18n("&Last Entry"))
        self.actionLekhonee_msg.setText(kdecore.i18n("Lekhonee msg"))
        self.actionOld_Posts.setText(kdecore.i18n("Old Posts"))
        self.actionUpload_File.setText(kdecore.i18n("Upload File"))

from PyQt4 import QtWebKit
from PyKDE4.kdeui import KTextEdit
import resource_rc

Generated by  Doxygen 1.6.0   Back to index