TR update, first round

上级 7a1ffdec
......@@ -15,7 +15,7 @@ $ source venv/bin/activate
Once you have [PyQt](https://www.riverbankcomputing.com/static/Docs/PyQt5/) installed, you can run the application by executing the following command:
```sh
(venv) $ cd sample_text/
(venv) $ cd sample_editor/
(venv) $ python app.py
```
......@@ -27,4 +27,4 @@ Leodanis Pozo Ramos – [@lpozo78](https://twitter.com/lpozo78) – lpozor78@gma
## License
- The set of icons used in this application are part of the [TurkinOS](https://github.com/llamaret/turkinos-icon) icon theme, which is distributed under the [GPL v3.0 license](https://github.com/llamaret/turkinos-icon/blob/master/LICENSE). See `resources/LICENSE` for details.
The set of icons used in this application are part of the [TurkinOS](https://github.com/llamaret/turkinos-icon) icon theme, which is distributed under the [GPL v3.0 license](https://github.com/llamaret/turkinos-icon/blob/master/LICENSE). See `ui/resources/LICENSE` for details.
\ No newline at end of file
......@@ -45,7 +45,7 @@ class Ui_MainWindow(object):
self.action_New = QtWidgets.QAction(MainWindow)
icon = QtGui.QIcon()
icon.addPixmap(
QtGui.QPixmap("ui/../../resources/file-new.png"),
QtGui.QPixmap("ui/resources/file-new.png"),
QtGui.QIcon.Normal,
QtGui.QIcon.Off,
)
......@@ -54,7 +54,7 @@ class Ui_MainWindow(object):
self.action_Open = QtWidgets.QAction(MainWindow)
icon1 = QtGui.QIcon()
icon1.addPixmap(
QtGui.QPixmap("ui/../resources/file-open.png"),
QtGui.QPixmap("ui/resources/file-open.png"),
QtGui.QIcon.Normal,
QtGui.QIcon.Off,
)
......@@ -63,7 +63,7 @@ class Ui_MainWindow(object):
self.action_Save = QtWidgets.QAction(MainWindow)
icon2 = QtGui.QIcon()
icon2.addPixmap(
QtGui.QPixmap("ui/../resources/file-save.png"),
QtGui.QPixmap("ui/resources/file-save.png"),
QtGui.QIcon.Normal,
QtGui.QIcon.Off,
)
......@@ -72,7 +72,7 @@ class Ui_MainWindow(object):
self.action_Exit = QtWidgets.QAction(MainWindow)
icon3 = QtGui.QIcon()
icon3.addPixmap(
QtGui.QPixmap("ui/../resources/file-exit.png"),
QtGui.QPixmap("ui/resources/file-exit.png"),
QtGui.QIcon.Normal,
QtGui.QIcon.Off,
)
......@@ -81,7 +81,7 @@ class Ui_MainWindow(object):
self.action_Copy = QtWidgets.QAction(MainWindow)
icon4 = QtGui.QIcon()
icon4.addPixmap(
QtGui.QPixmap("ui/../resources/edit-copy.png"),
QtGui.QPixmap("ui/resources/edit-copy.png"),
QtGui.QIcon.Normal,
QtGui.QIcon.Off,
)
......@@ -90,7 +90,7 @@ class Ui_MainWindow(object):
self.action_Paste = QtWidgets.QAction(MainWindow)
icon5 = QtGui.QIcon()
icon5.addPixmap(
QtGui.QPixmap("ui/../resources/edit-paste.png"),
QtGui.QPixmap("ui/resources/edit-paste.png"),
QtGui.QIcon.Normal,
QtGui.QIcon.Off,
)
......@@ -99,7 +99,7 @@ class Ui_MainWindow(object):
self.action_Cut = QtWidgets.QAction(MainWindow)
icon6 = QtGui.QIcon()
icon6.addPixmap(
QtGui.QPixmap("ui/../resources/edit-cut.png"),
QtGui.QPixmap("ui/resources/edit-cut.png"),
QtGui.QIcon.Normal,
QtGui.QIcon.Off,
)
......@@ -110,7 +110,7 @@ class Ui_MainWindow(object):
self.action_About = QtWidgets.QAction(MainWindow)
icon7 = QtGui.QIcon()
icon7.addPixmap(
QtGui.QPixmap("ui/../resources/help-content.png"),
QtGui.QPixmap("ui/resources/help-content.png"),
QtGui.QIcon.Normal,
QtGui.QIcon.Off,
)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册