Skip to content

Commit

Permalink
add files
Browse files Browse the repository at this point in the history
  • Loading branch information
kdrkdrkdr committed Apr 5, 2021
1 parent 92c1d86 commit 8560d66
Show file tree
Hide file tree
Showing 56 changed files with 77,015 additions and 1 deletion.
114 changes: 114 additions & 0 deletions .vscode/.ropeproject/config.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,114 @@
# The default ``config.py``
# flake8: noqa


def set_prefs(prefs):
"""This function is called before opening the project"""

# Specify which files and folders to ignore in the project.
# Changes to ignored resources are not added to the history and
# VCSs. Also they are not returned in `Project.get_files()`.
# Note that ``?`` and ``*`` match all characters but slashes.
# '*.pyc': matches 'test.pyc' and 'pkg/test.pyc'
# 'mod*.pyc': matches 'test/mod1.pyc' but not 'mod/1.pyc'
# '.svn': matches 'pkg/.svn' and all of its children
# 'build/*.o': matches 'build/lib.o' but not 'build/sub/lib.o'
# 'build//*.o': matches 'build/lib.o' and 'build/sub/lib.o'
prefs['ignored_resources'] = ['*.pyc', '*~', '.ropeproject',
'.hg', '.svn', '_svn', '.git', '.tox']

# Specifies which files should be considered python files. It is
# useful when you have scripts inside your project. Only files
# ending with ``.py`` are considered to be python files by
# default.
# prefs['python_files'] = ['*.py']

# Custom source folders: By default rope searches the project
# for finding source folders (folders that should be searched
# for finding modules). You can add paths to that list. Note
# that rope guesses project source folders correctly most of the
# time; use this if you have any problems.
# The folders should be relative to project root and use '/' for
# separating folders regardless of the platform rope is running on.
# 'src/my_source_folder' for instance.
# prefs.add('source_folders', 'src')

# You can extend python path for looking up modules
# prefs.add('python_path', '~/python/')

# Should rope save object information or not.
prefs['save_objectdb'] = True
prefs['compress_objectdb'] = False

# If `True`, rope analyzes each module when it is being saved.
prefs['automatic_soa'] = True
# The depth of calls to follow in static object analysis
prefs['soa_followed_calls'] = 0

# If `False` when running modules or unit tests "dynamic object
# analysis" is turned off. This makes them much faster.
prefs['perform_doa'] = True

# Rope can check the validity of its object DB when running.
prefs['validate_objectdb'] = True

# How many undos to hold?
prefs['max_history_items'] = 32

# Shows whether to save history across sessions.
prefs['save_history'] = True
prefs['compress_history'] = False

# Set the number spaces used for indenting. According to
# :PEP:`8`, it is best to use 4 spaces. Since most of rope's
# unit-tests use 4 spaces it is more reliable, too.
prefs['indent_size'] = 4

# Builtin and c-extension modules that are allowed to be imported
# and inspected by rope.
prefs['extension_modules'] = []

# Add all standard c-extensions to extension_modules list.
prefs['import_dynload_stdmods'] = True

# If `True` modules with syntax errors are considered to be empty.
# The default value is `False`; When `False` syntax errors raise
# `rope.base.exceptions.ModuleSyntaxError` exception.
prefs['ignore_syntax_errors'] = False

# If `True`, rope ignores unresolvable imports. Otherwise, they
# appear in the importing namespace.
prefs['ignore_bad_imports'] = False

# If `True`, rope will insert new module imports as
# `from <package> import <module>` by default.
prefs['prefer_module_from_imports'] = False

# If `True`, rope will transform a comma list of imports into
# multiple separate import statements when organizing
# imports.
prefs['split_imports'] = False

# If `True`, rope will remove all top-level import statements and
# reinsert them at the top of the module when making changes.
prefs['pull_imports_to_top'] = True

# If `True`, rope will sort imports alphabetically by module name instead
# of alphabetically by import statement, with from imports after normal
# imports.
prefs['sort_imports_alphabetically'] = False

# Location of implementation of
# rope.base.oi.type_hinting.interfaces.ITypeHintingFactory In general
# case, you don't have to change this value, unless you're an rope expert.
# Change this value to inject you own implementations of interfaces
# listed in module rope.base.oi.type_hinting.providers.interfaces
# For example, you can add you own providers for Django Models, or disable
# the search type-hinting in a class hierarchy, etc.
prefs['type_hinting_factory'] = (
'rope.base.oi.type_hinting.factory.default_type_hinting_factory')


def project_opened(project):
"""This function is called after opening the project"""
# Do whatever you like here!
Binary file added .vscode/.ropeproject/objectdb
Binary file not shown.
10 changes: 10 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"python.pythonPath": "C:\\Users\\power\\AppData\\Local\\Programs\\Python\\Python37-32\\python.exe",
"python.linting.pylintEnabled": true,
"python.linting.pylintArgs": [
"--disable=all",
"--enable=E",
"--extension-pkg-whitelist=PySide2"
]

}
Binary file added 89/chromedriver.exe
Binary file not shown.
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -671,4 +671,4 @@ into proprietary programs. If your program is a subroutine library, you
may consider it more useful to permit linking proprietary applications with
the library. If this is what you want to do, use the GNU Lesser General
Public License instead of this License. But first, please read
<https://www.gnu.org/licenses/why-not-lgpl.html>.
<https://www.gnu.org/licenses/why-not-lgpl.html>.
76 changes: 76 additions & 0 deletions UI_MAIN.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
# -*- coding: utf-8 -*-

################################################################################
## Form generated from reading UI file 'UI_MAIN.ui'
##
## Created by: Qt User Interface Compiler version 5.15.2
##
## WARNING! All changes made in this file will be lost when recompiling UI file!
################################################################################

from PySide2.QtCore import *
from PySide2.QtGui import *
from PySide2.QtWidgets import *


class Ui_MainWindow(object):
def setupUi(self, MainWindow):
if not MainWindow.objectName():
MainWindow.setObjectName(u"MainWindow")
MainWindow.setEnabled(True)
MainWindow.resize(268, 167)
MainWindow.setMinimumSize(QSize(268, 167))
MainWindow.setMaximumSize(QSize(268, 174))
self.centralwidget = QWidget(MainWindow)
self.centralwidget.setObjectName(u"centralwidget")
self.trans_time = QLabel(self.centralwidget)
self.trans_time.setObjectName(u"trans_time")
self.trans_time.setGeometry(QRect(24, 117, 61, 31))
self.sec = QLabel(self.centralwidget)
self.sec.setObjectName(u"sec")
self.sec.setGeometry(QRect(83, 117, 91, 31))
self.dev_info = QLabel(self.centralwidget)
self.dev_info.setObjectName(u"dev_info")
self.dev_info.setGeometry(QRect(183, 117, 71, 31))
self.btnFrame = QFrame(self.centralwidget)
self.btnFrame.setObjectName(u"btnFrame")
self.btnFrame.setGeometry(QRect(9, 10, 251, 101))
self.btnFrame.setFrameShape(QFrame.StyledPanel)
self.btnFrame.setFrameShadow(QFrame.Raised)
self.go_dev_page = QPushButton(self.btnFrame)
self.go_dev_page.setObjectName(u"go_dev_page")
self.go_dev_page.setGeometry(QRect(163, 10, 75, 81))
self.show_ori_btn = QPushButton(self.btnFrame)
self.show_ori_btn.setObjectName(u"show_ori_btn")
self.show_ori_btn.setGeometry(QRect(13, 60, 131, 31))
font = QFont()
font.setFamily(u"Consolas")
font.setPointSize(11)
font.setBold(False)
font.setWeight(50)
self.show_ori_btn.setFont(font)
self.show_trans_btn = QPushButton(self.btnFrame)
self.show_trans_btn.setObjectName(u"show_trans_btn")
self.show_trans_btn.setGeometry(QRect(13, 10, 131, 31))
self.show_trans_btn.setFont(font)
MainWindow.setCentralWidget(self.centralwidget)
self.statusbar = QStatusBar(MainWindow)
self.statusbar.setObjectName(u"statusbar")
MainWindow.setStatusBar(self.statusbar)

self.retranslateUi(MainWindow)

QMetaObject.connectSlotsByName(MainWindow)
# setupUi

def retranslateUi(self, MainWindow):
MainWindow.setWindowTitle(QCoreApplication.translate("MainWindow", u"Ehnd \uc6f9 \ubc88\uc5ed", None))
self.trans_time.setText(QCoreApplication.translate("MainWindow", u"\ubc88\uc5ed \uc2dc\uac04:", None))
self.sec.setText("")
self.dev_info.setText(QCoreApplication.translate("MainWindow", u"\uc81c\uc791\uc790: kdr", None))
self.go_dev_page.setText(QCoreApplication.translate("MainWindow", u"\uc81c\uc791\uc790\n"
"\ud648\ud398\uc774\uc9c0", None))
self.show_ori_btn.setText(QCoreApplication.translate("MainWindow", u"\uc6d0\ubcf8 \ubcf4\uae30", None))
self.show_trans_btn.setText(QCoreApplication.translate("MainWindow", u"\ubc88\uc5ed\ubcf8 \ubcf4\uae30", None))
# retranslateUi

148 changes: 148 additions & 0 deletions UI_MAIN.ui
Original file line number Diff line number Diff line change
@@ -0,0 +1,148 @@
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>MainWindow</class>
<widget class="QMainWindow" name="MainWindow">
<property name="enabled">
<bool>true</bool>
</property>
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>268</width>
<height>167</height>
</rect>
</property>
<property name="minimumSize">
<size>
<width>268</width>
<height>167</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>268</width>
<height>174</height>
</size>
</property>
<property name="windowTitle">
<string>Ehnd 웹 번역</string>
</property>
<widget class="QWidget" name="centralwidget">
<widget class="QLabel" name="trans_time">
<property name="geometry">
<rect>
<x>24</x>
<y>117</y>
<width>61</width>
<height>31</height>
</rect>
</property>
<property name="text">
<string>번역 시간:</string>
</property>
</widget>
<widget class="QLabel" name="sec">
<property name="geometry">
<rect>
<x>83</x>
<y>117</y>
<width>91</width>
<height>31</height>
</rect>
</property>
<property name="text">
<string/>
</property>
</widget>
<widget class="QLabel" name="dev_info">
<property name="geometry">
<rect>
<x>183</x>
<y>117</y>
<width>71</width>
<height>31</height>
</rect>
</property>
<property name="text">
<string>제작자: kdr</string>
</property>
</widget>
<widget class="QFrame" name="btnFrame">
<property name="geometry">
<rect>
<x>9</x>
<y>10</y>
<width>251</width>
<height>101</height>
</rect>
</property>
<property name="frameShape">
<enum>QFrame::StyledPanel</enum>
</property>
<property name="frameShadow">
<enum>QFrame::Raised</enum>
</property>
<widget class="QPushButton" name="go_dev_page">
<property name="geometry">
<rect>
<x>163</x>
<y>10</y>
<width>75</width>
<height>81</height>
</rect>
</property>
<property name="text">
<string>제작자
홈페이지</string>
</property>
</widget>
<widget class="QPushButton" name="show_ori_btn">
<property name="geometry">
<rect>
<x>13</x>
<y>60</y>
<width>131</width>
<height>31</height>
</rect>
</property>
<property name="font">
<font>
<family>Consolas</family>
<pointsize>11</pointsize>
<weight>50</weight>
<bold>false</bold>
</font>
</property>
<property name="text">
<string>원본 보기</string>
</property>
</widget>
<widget class="QPushButton" name="show_trans_btn">
<property name="geometry">
<rect>
<x>13</x>
<y>10</y>
<width>131</width>
<height>31</height>
</rect>
</property>
<property name="font">
<font>
<family>Consolas</family>
<pointsize>11</pointsize>
<weight>50</weight>
<bold>false</bold>
</font>
</property>
<property name="text">
<string>번역본 보기</string>
</property>
</widget>
</widget>
</widget>
<widget class="QStatusBar" name="statusbar"/>
</widget>
<resources/>
<connections/>
</ui>
Binary file added __pycache__/UI_MAIN.cpython-37.pyc
Binary file not shown.
Binary file added __pycache__/return_transed_html.cpython-37.pyc
Binary file not shown.
Binary file added __pycache__/translate_j2k.cpython-37.pyc
Binary file not shown.
Loading

0 comments on commit 8560d66

Please sign in to comment.