new version
This commit is contained in:
parent
e78c7f41a0
commit
2b78252fc3
|
@ -119,7 +119,7 @@ class MainWindow(KMainWindow, Ui_MainWindow):
|
||||||
self.preview_font_action = None
|
self.preview_font_action = None
|
||||||
self.live_font_action = None
|
self.live_font_action = None
|
||||||
self.preview_size_action = None
|
self.preview_size_action = None
|
||||||
self.default_size = 48
|
self.default_size = 28
|
||||||
self.default_align_text = "format_align_center"
|
self.default_align_text = "format_align_center"
|
||||||
self.preview_actions = list()
|
self.preview_actions = list()
|
||||||
self.live_actions = list()
|
self.live_actions = list()
|
||||||
|
@ -378,8 +378,8 @@ class MainWindow(KMainWindow, Ui_MainWindow):
|
||||||
def start_streaming(self):
|
def start_streaming(self):
|
||||||
public_rect = self.live_text.geometry()
|
public_rect = self.live_text.geometry()
|
||||||
global_rect = QtCore.QRect(self.mapToGlobal(public_rect.topLeft()), self.mapToGlobal(public_rect.bottomRight()))
|
global_rect = QtCore.QRect(self.mapToGlobal(public_rect.topLeft()), self.mapToGlobal(public_rect.bottomRight()))
|
||||||
self.ffserver = subprocess.Popen("/usr/bin/ffserver -f /etc/ffserver.conf", shell=True, close_fds=True)
|
self.ffserver = subprocess.Popen("ffserver -f /etc/ffserver.conf", shell=True, close_fds=True)
|
||||||
self.ffmpeg = subprocess.Popen("/usr/bin/ffmpeg -f x11grab -s 768x576 -r 25 -i :0.0+%d,%d -vcodec mjpeg -pix_fmt yuvj422p -r 25 -aspect 4:3 http://localhost:8090/webcam.ffm" % (global_rect.x(), global_rect.y()), shell=True, close_fds=True)
|
self.ffmpeg = subprocess.Popen("ffmpeg -f x11grab -s 768x576 -r 25 -i :0.0+%d,%d -vcodec mjpeg -pix_fmt yuvj422p -r 25 -aspect 4:3 http://localhost:8090/webcam.ffm" % (global_rect.x()+1, global_rect.y()+1), shell=True, close_fds=True)
|
||||||
self.is_streaming = True
|
self.is_streaming = True
|
||||||
|
|
||||||
def focusChanged(self, old, new):
|
def focusChanged(self, old, new):
|
||||||
|
|
|
@ -89,19 +89,37 @@
|
||||||
<widget class="KRichTextWidget" name="live_text">
|
<widget class="KRichTextWidget" name="live_text">
|
||||||
<property name="minimumSize">
|
<property name="minimumSize">
|
||||||
<size>
|
<size>
|
||||||
<width>769</width>
|
<width>775</width>
|
||||||
<height>577</height>
|
<height>578</height>
|
||||||
</size>
|
</size>
|
||||||
</property>
|
</property>
|
||||||
<property name="maximumSize">
|
<property name="maximumSize">
|
||||||
<size>
|
<size>
|
||||||
<width>769</width>
|
<width>775</width>
|
||||||
<height>577</height>
|
<height>578</height>
|
||||||
</size>
|
</size>
|
||||||
</property>
|
</property>
|
||||||
<property name="palette">
|
<property name="palette">
|
||||||
<palette>
|
<palette>
|
||||||
<active>
|
<active>
|
||||||
|
<colorrole role="Base">
|
||||||
|
<brush brushstyle="SolidPattern">
|
||||||
|
<color alpha="255">
|
||||||
|
<red>0</red>
|
||||||
|
<green>0</green>
|
||||||
|
<blue>0</blue>
|
||||||
|
</color>
|
||||||
|
</brush>
|
||||||
|
</colorrole>
|
||||||
|
<colorrole role="Window">
|
||||||
|
<brush brushstyle="SolidPattern">
|
||||||
|
<color alpha="255">
|
||||||
|
<red>0</red>
|
||||||
|
<green>0</green>
|
||||||
|
<blue>0</blue>
|
||||||
|
</color>
|
||||||
|
</brush>
|
||||||
|
</colorrole>
|
||||||
<colorrole role="Highlight">
|
<colorrole role="Highlight">
|
||||||
<brush brushstyle="SolidPattern">
|
<brush brushstyle="SolidPattern">
|
||||||
<color alpha="255">
|
<color alpha="255">
|
||||||
|
@ -122,6 +140,24 @@
|
||||||
</colorrole>
|
</colorrole>
|
||||||
</active>
|
</active>
|
||||||
<inactive>
|
<inactive>
|
||||||
|
<colorrole role="Base">
|
||||||
|
<brush brushstyle="SolidPattern">
|
||||||
|
<color alpha="255">
|
||||||
|
<red>0</red>
|
||||||
|
<green>0</green>
|
||||||
|
<blue>0</blue>
|
||||||
|
</color>
|
||||||
|
</brush>
|
||||||
|
</colorrole>
|
||||||
|
<colorrole role="Window">
|
||||||
|
<brush brushstyle="SolidPattern">
|
||||||
|
<color alpha="255">
|
||||||
|
<red>0</red>
|
||||||
|
<green>0</green>
|
||||||
|
<blue>0</blue>
|
||||||
|
</color>
|
||||||
|
</brush>
|
||||||
|
</colorrole>
|
||||||
<colorrole role="Highlight">
|
<colorrole role="Highlight">
|
||||||
<brush brushstyle="SolidPattern">
|
<brush brushstyle="SolidPattern">
|
||||||
<color alpha="255">
|
<color alpha="255">
|
||||||
|
@ -142,6 +178,24 @@
|
||||||
</colorrole>
|
</colorrole>
|
||||||
</inactive>
|
</inactive>
|
||||||
<disabled>
|
<disabled>
|
||||||
|
<colorrole role="Base">
|
||||||
|
<brush brushstyle="SolidPattern">
|
||||||
|
<color alpha="255">
|
||||||
|
<red>0</red>
|
||||||
|
<green>0</green>
|
||||||
|
<blue>0</blue>
|
||||||
|
</color>
|
||||||
|
</brush>
|
||||||
|
</colorrole>
|
||||||
|
<colorrole role="Window">
|
||||||
|
<brush brushstyle="SolidPattern">
|
||||||
|
<color alpha="255">
|
||||||
|
<red>0</red>
|
||||||
|
<green>0</green>
|
||||||
|
<blue>0</blue>
|
||||||
|
</color>
|
||||||
|
</brush>
|
||||||
|
</colorrole>
|
||||||
<colorrole role="Highlight">
|
<colorrole role="Highlight">
|
||||||
<brush brushstyle="SolidPattern">
|
<brush brushstyle="SolidPattern">
|
||||||
<color alpha="255">
|
<color alpha="255">
|
||||||
|
@ -167,7 +221,13 @@
|
||||||
<cursorShape>BlankCursor</cursorShape>
|
<cursorShape>BlankCursor</cursorShape>
|
||||||
</property>
|
</property>
|
||||||
<property name="autoFillBackground">
|
<property name="autoFillBackground">
|
||||||
<bool>false</bool>
|
<bool>true</bool>
|
||||||
|
</property>
|
||||||
|
<property name="verticalScrollBarPolicy">
|
||||||
|
<enum>Qt::ScrollBarAlwaysOff</enum>
|
||||||
|
</property>
|
||||||
|
<property name="horizontalScrollBarPolicy">
|
||||||
|
<enum>Qt::ScrollBarAlwaysOff</enum>
|
||||||
</property>
|
</property>
|
||||||
<property name="acceptRichText">
|
<property name="acceptRichText">
|
||||||
<bool>true</bool>
|
<bool>true</bool>
|
||||||
|
@ -200,6 +260,70 @@
|
||||||
<height>577</height>
|
<height>577</height>
|
||||||
</size>
|
</size>
|
||||||
</property>
|
</property>
|
||||||
|
<property name="palette">
|
||||||
|
<palette>
|
||||||
|
<active>
|
||||||
|
<colorrole role="Base">
|
||||||
|
<brush brushstyle="SolidPattern">
|
||||||
|
<color alpha="255">
|
||||||
|
<red>0</red>
|
||||||
|
<green>0</green>
|
||||||
|
<blue>0</blue>
|
||||||
|
</color>
|
||||||
|
</brush>
|
||||||
|
</colorrole>
|
||||||
|
<colorrole role="Window">
|
||||||
|
<brush brushstyle="SolidPattern">
|
||||||
|
<color alpha="255">
|
||||||
|
<red>0</red>
|
||||||
|
<green>0</green>
|
||||||
|
<blue>0</blue>
|
||||||
|
</color>
|
||||||
|
</brush>
|
||||||
|
</colorrole>
|
||||||
|
</active>
|
||||||
|
<inactive>
|
||||||
|
<colorrole role="Base">
|
||||||
|
<brush brushstyle="SolidPattern">
|
||||||
|
<color alpha="255">
|
||||||
|
<red>0</red>
|
||||||
|
<green>0</green>
|
||||||
|
<blue>0</blue>
|
||||||
|
</color>
|
||||||
|
</brush>
|
||||||
|
</colorrole>
|
||||||
|
<colorrole role="Window">
|
||||||
|
<brush brushstyle="SolidPattern">
|
||||||
|
<color alpha="255">
|
||||||
|
<red>0</red>
|
||||||
|
<green>0</green>
|
||||||
|
<blue>0</blue>
|
||||||
|
</color>
|
||||||
|
</brush>
|
||||||
|
</colorrole>
|
||||||
|
</inactive>
|
||||||
|
<disabled>
|
||||||
|
<colorrole role="Base">
|
||||||
|
<brush brushstyle="SolidPattern">
|
||||||
|
<color alpha="255">
|
||||||
|
<red>0</red>
|
||||||
|
<green>0</green>
|
||||||
|
<blue>0</blue>
|
||||||
|
</color>
|
||||||
|
</brush>
|
||||||
|
</colorrole>
|
||||||
|
<colorrole role="Window">
|
||||||
|
<brush brushstyle="SolidPattern">
|
||||||
|
<color alpha="255">
|
||||||
|
<red>0</red>
|
||||||
|
<green>0</green>
|
||||||
|
<blue>0</blue>
|
||||||
|
</color>
|
||||||
|
</brush>
|
||||||
|
</colorrole>
|
||||||
|
</disabled>
|
||||||
|
</palette>
|
||||||
|
</property>
|
||||||
<property name="contextMenuPolicy">
|
<property name="contextMenuPolicy">
|
||||||
<enum>Qt::ActionsContextMenu</enum>
|
<enum>Qt::ActionsContextMenu</enum>
|
||||||
</property>
|
</property>
|
||||||
|
@ -207,7 +331,7 @@
|
||||||
<string>preview text</string>
|
<string>preview text</string>
|
||||||
</property>
|
</property>
|
||||||
<property name="autoFillBackground">
|
<property name="autoFillBackground">
|
||||||
<bool>false</bool>
|
<bool>true</bool>
|
||||||
</property>
|
</property>
|
||||||
<property name="frameShape">
|
<property name="frameShape">
|
||||||
<enum>QFrame::StyledPanel</enum>
|
<enum>QFrame::StyledPanel</enum>
|
||||||
|
|
|
@ -1,11 +1,12 @@
|
||||||
#!/usr/bin/env python
|
# -*- coding: utf-8 -*-
|
||||||
# coding=UTF-8
|
|
||||||
|
# Form implementation generated from reading ui file 'texter3.ui'
|
||||||
#
|
#
|
||||||
# Generated by pykdeuic4 from texter3.ui on Wed Apr 16 00:07:33 2014
|
# Created: Wed Apr 16 20:48:51 2014
|
||||||
|
# by: PyQt4 UI code generator 4.10.3
|
||||||
#
|
#
|
||||||
# WARNING! All changes to this file will be lost.
|
# WARNING! All changes made in this file will be lost!
|
||||||
from PyKDE4 import kdecore
|
|
||||||
from PyKDE4 import kdeui
|
|
||||||
from PyQt4 import QtCore, QtGui
|
from PyQt4 import QtCore, QtGui
|
||||||
|
|
||||||
try:
|
try:
|
||||||
|
@ -56,30 +57,50 @@ class Ui_MainWindow(object):
|
||||||
self.horizontalLayout = QtGui.QHBoxLayout()
|
self.horizontalLayout = QtGui.QHBoxLayout()
|
||||||
self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
|
self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
|
||||||
self.live_text = KRichTextWidget(self.centralwidget)
|
self.live_text = KRichTextWidget(self.centralwidget)
|
||||||
self.live_text.setMinimumSize(QtCore.QSize(769, 577))
|
self.live_text.setMinimumSize(QtCore.QSize(772,580))
|
||||||
self.live_text.setMaximumSize(QtCore.QSize(769, 577))
|
self.live_text.setMaximumSize(QtCore.QSize(772,580))
|
||||||
palette = QtGui.QPalette()
|
palette = QtGui.QPalette()
|
||||||
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
|
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
|
||||||
brush.setStyle(QtCore.Qt.SolidPattern)
|
brush.setStyle(QtCore.Qt.SolidPattern)
|
||||||
|
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Base, brush)
|
||||||
|
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
|
||||||
|
brush.setStyle(QtCore.Qt.SolidPattern)
|
||||||
|
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Window, brush)
|
||||||
|
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
|
||||||
|
brush.setStyle(QtCore.Qt.SolidPattern)
|
||||||
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Highlight, brush)
|
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Highlight, brush)
|
||||||
brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
|
brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
|
||||||
brush.setStyle(QtCore.Qt.SolidPattern)
|
brush.setStyle(QtCore.Qt.SolidPattern)
|
||||||
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Link, brush)
|
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Link, brush)
|
||||||
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
|
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
|
||||||
brush.setStyle(QtCore.Qt.SolidPattern)
|
brush.setStyle(QtCore.Qt.SolidPattern)
|
||||||
|
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Base, brush)
|
||||||
|
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
|
||||||
|
brush.setStyle(QtCore.Qt.SolidPattern)
|
||||||
|
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Window, brush)
|
||||||
|
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
|
||||||
|
brush.setStyle(QtCore.Qt.SolidPattern)
|
||||||
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Highlight, brush)
|
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Highlight, brush)
|
||||||
brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
|
brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
|
||||||
brush.setStyle(QtCore.Qt.SolidPattern)
|
brush.setStyle(QtCore.Qt.SolidPattern)
|
||||||
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Link, brush)
|
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Link, brush)
|
||||||
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
|
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
|
||||||
brush.setStyle(QtCore.Qt.SolidPattern)
|
brush.setStyle(QtCore.Qt.SolidPattern)
|
||||||
|
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Base, brush)
|
||||||
|
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
|
||||||
|
brush.setStyle(QtCore.Qt.SolidPattern)
|
||||||
|
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Window, brush)
|
||||||
|
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
|
||||||
|
brush.setStyle(QtCore.Qt.SolidPattern)
|
||||||
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Highlight, brush)
|
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Highlight, brush)
|
||||||
brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
|
brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
|
||||||
brush.setStyle(QtCore.Qt.SolidPattern)
|
brush.setStyle(QtCore.Qt.SolidPattern)
|
||||||
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Link, brush)
|
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Link, brush)
|
||||||
self.live_text.setPalette(palette)
|
self.live_text.setPalette(palette)
|
||||||
self.live_text.viewport().setProperty("cursor", QtGui.QCursor(QtCore.Qt.BlankCursor))
|
self.live_text.viewport().setProperty("cursor", QtGui.QCursor(QtCore.Qt.BlankCursor))
|
||||||
self.live_text.setAutoFillBackground(False)
|
self.live_text.setAutoFillBackground(True)
|
||||||
|
self.live_text.setVerticalScrollBarPolicy(QtCore.Qt.ScrollBarAlwaysOff)
|
||||||
|
self.live_text.setHorizontalScrollBarPolicy(QtCore.Qt.ScrollBarAlwaysOff)
|
||||||
self.live_text.setAcceptRichText(True)
|
self.live_text.setAcceptRichText(True)
|
||||||
self.live_text.setTextInteractionFlags(QtCore.Qt.LinksAccessibleByKeyboard|QtCore.Qt.LinksAccessibleByMouse|QtCore.Qt.TextBrowserInteraction|QtCore.Qt.TextEditable|QtCore.Qt.TextEditorInteraction|QtCore.Qt.TextSelectableByKeyboard|QtCore.Qt.TextSelectableByMouse)
|
self.live_text.setTextInteractionFlags(QtCore.Qt.LinksAccessibleByKeyboard|QtCore.Qt.LinksAccessibleByMouse|QtCore.Qt.TextBrowserInteraction|QtCore.Qt.TextEditable|QtCore.Qt.TextEditorInteraction|QtCore.Qt.TextSelectableByKeyboard|QtCore.Qt.TextSelectableByMouse)
|
||||||
self.live_text.setRichTextSupport(KRichTextWidget.RichTextSupportValues(KRichTextWidget.SupportAlignment|KRichTextWidget.SupportChangeListStyle|KRichTextWidget.SupportFontFamily|KRichTextWidget.SupportFontSize|KRichTextWidget.SupportTextForegroundColor))
|
self.live_text.setRichTextSupport(KRichTextWidget.RichTextSupportValues(KRichTextWidget.SupportAlignment|KRichTextWidget.SupportChangeListStyle|KRichTextWidget.SupportFontFamily|KRichTextWidget.SupportFontSize|KRichTextWidget.SupportTextForegroundColor))
|
||||||
|
@ -92,9 +113,29 @@ class Ui_MainWindow(object):
|
||||||
sizePolicy.setHeightForWidth(self.preview_text.sizePolicy().hasHeightForWidth())
|
sizePolicy.setHeightForWidth(self.preview_text.sizePolicy().hasHeightForWidth())
|
||||||
self.preview_text.setSizePolicy(sizePolicy)
|
self.preview_text.setSizePolicy(sizePolicy)
|
||||||
self.preview_text.setMinimumSize(QtCore.QSize(300, 577))
|
self.preview_text.setMinimumSize(QtCore.QSize(300, 577))
|
||||||
self.preview_text.setMaximumSize(QtCore.QSize(769, 577))
|
self.preview_text.setMaximumSize(QtCore.QSize(772,580))
|
||||||
|
palette = QtGui.QPalette()
|
||||||
|
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
|
||||||
|
brush.setStyle(QtCore.Qt.SolidPattern)
|
||||||
|
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Base, brush)
|
||||||
|
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
|
||||||
|
brush.setStyle(QtCore.Qt.SolidPattern)
|
||||||
|
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Window, brush)
|
||||||
|
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
|
||||||
|
brush.setStyle(QtCore.Qt.SolidPattern)
|
||||||
|
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Base, brush)
|
||||||
|
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
|
||||||
|
brush.setStyle(QtCore.Qt.SolidPattern)
|
||||||
|
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Window, brush)
|
||||||
|
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
|
||||||
|
brush.setStyle(QtCore.Qt.SolidPattern)
|
||||||
|
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Base, brush)
|
||||||
|
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
|
||||||
|
brush.setStyle(QtCore.Qt.SolidPattern)
|
||||||
|
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Window, brush)
|
||||||
|
self.preview_text.setPalette(palette)
|
||||||
self.preview_text.setContextMenuPolicy(QtCore.Qt.ActionsContextMenu)
|
self.preview_text.setContextMenuPolicy(QtCore.Qt.ActionsContextMenu)
|
||||||
self.preview_text.setAutoFillBackground(False)
|
self.preview_text.setAutoFillBackground(True)
|
||||||
self.preview_text.setFrameShape(QtGui.QFrame.StyledPanel)
|
self.preview_text.setFrameShape(QtGui.QFrame.StyledPanel)
|
||||||
self.preview_text.setAcceptRichText(True)
|
self.preview_text.setAcceptRichText(True)
|
||||||
self.preview_text.setTextInteractionFlags(QtCore.Qt.LinksAccessibleByKeyboard|QtCore.Qt.LinksAccessibleByMouse|QtCore.Qt.TextBrowserInteraction|QtCore.Qt.TextEditable|QtCore.Qt.TextEditorInteraction|QtCore.Qt.TextSelectableByKeyboard|QtCore.Qt.TextSelectableByMouse)
|
self.preview_text.setTextInteractionFlags(QtCore.Qt.LinksAccessibleByKeyboard|QtCore.Qt.LinksAccessibleByMouse|QtCore.Qt.TextBrowserInteraction|QtCore.Qt.TextEditable|QtCore.Qt.TextEditorInteraction|QtCore.Qt.TextSelectableByKeyboard|QtCore.Qt.TextSelectableByMouse)
|
||||||
|
@ -113,8 +154,8 @@ class Ui_MainWindow(object):
|
||||||
MainWindow.setTabOrder(self.live_text, self.preview_text)
|
MainWindow.setTabOrder(self.live_text, self.preview_text)
|
||||||
|
|
||||||
def retranslateUi(self, MainWindow):
|
def retranslateUi(self, MainWindow):
|
||||||
MainWindow.setWindowTitle(kdecore.i18n(_fromUtf8("4.48 Texter")))
|
MainWindow.setWindowTitle(_translate("MainWindow", "4.48 Texter", None))
|
||||||
self.preview_text.setToolTip(kdecore.i18n(_fromUtf8("preview text")))
|
self.preview_text.setToolTip(_translate("MainWindow", "preview text", None))
|
||||||
|
|
||||||
from PyKDE4.kdeui import KRichTextWidget
|
from PyKDE4.kdeui import KRichTextWidget
|
||||||
import texter
|
import texter_rc
|
||||||
|
|
Loading…
Reference in New Issue