Krita 5.2 Manualdocumentation. Krita’s API LibKis API Overview [https://api.kde.org/krita/html/index.html] Krita class documentation [https://api.kde.org/krita/html/annotated.html] Those pages may look like a lot of Let’s see how this stuff works in more detail. Let’s take a look at the second link, the Krita class reference [https://api.kde.org/krita/html/classKrita.html#aa55507903d088013ced2df8c74f28a6 3]. There and look at the function, documents() we’ll see there’s actually a clickable link on the ‘Document’ class. If you follow that link [https://api.kde.org/krita/html/classDocument.html], you’ll see that the0 码力 | 1502 页 | 79.07 MB | 1 年前3
Krita 5.2 브로셔documentation. Krita’s API LibKis API Overview [https://api.kde.org/krita/html/index.html] Krita class documentation [https://api.kde.org/krita/html/annotated.html] Those pages may look like a lot of Let’s see how this stuff works in more detail. Let’s take a look at the second link, the Krita class reference [https://api.kde.org/krita/html/classKrita.html#aa55507903d088013ced2df8c74f28a6 3]. There and look at the function, documents() we’ll see there’s actually a clickable link on the ‘Document’ class. If you follow that link [https://api.kde.org/krita/html/classDocument.html], you’ll see that the0 码力 | 1531 页 | 79.11 MB | 1 年前3
Krita 5.2 中文手册html] 是随 Krita 一起启动 的简单 Python 脚本。它们通过 Extension (扩展) 程序类进行编写。一个最简单 的扩展程序代码如下: from krita import * class MyExtension(Extension): def __init__(self, parent): # This is initialising the parent 扩展程序的做法差不多,面板在某些方面更容易编写,但需要用到更多的窗口 部件。一个最简单的工具面板代码如下: from PyQt5.QtWidgets import * from krita import * class MyDocker(DockWidget): def __init__(self): super().__init__() self.setWindowTitle("My myFunction). 与之类似,要创建自定义 PyQt 信号,可以如下进行: # signal name is added to the member variables of the class signal_name = pyqtSignal(bool, name='signalName') def emitMySignal(self): # And this is how you0 码力 | 1594 页 | 79.20 MB | 1 年前3
Krita 5.2 官方文档中文版 2023-12-08Ahtml] 是随 Krita 一起启动的简单 Python 脚本。它们通过 Extension (扩展) 程序类 进行编写。一个最简单的扩展程序代码如下: from krita import * class MyExtension(Extension): def _�init_�(self, parent): # This is initialising the parent, 创建一个扩展程序的做法差不多,面板在某些方面更容易编写,但 需要用到更多的窗口部件。一个最简单的工具面板代码如下: from PyQt5.QtWidgets import * from krita import * class MyDocker(DockWidget): def _�init_�(self): super()._�init_�() self.setWindowTitle("My myFunction). 与之类似,要创建自定义 PyQt 信号,可以如下进行: # signal name is added to the member variables of the class signal_name = pyqtSignal(bool, name='signalName') def emitMySignal(self): # And this is how you0 码力 | 1685 页 | 91.87 MB | 1 年前3
Krita 5.2 官方文档中文版 2023-12-08Ahtml] 是随 Krita 一起启动的简单 Python 脚本。它们通过 Extension (扩展) 程序类进行编写。一个最简单的扩展 程序代码如下: from krita import * class MyExtension(Extension): def __init__(self, parent): # This is initialising the parent, 法差不多,面板在某些方面更容易编写,但需要用到更多的窗口部件。一个最 简单的工具面板代码如下: from PyQt5.QtWidgets import * from krita import * class MyDocker(DockWidget): def __init__(self): super().__init__() self.setWindowTitle("My myFunction). 与之类似,要创建自定义 PyQt 信号,可以如下进行: # signal name is added to the member variables of the class signal_name = pyqtSignal(bool, name='signalName') def emitMySignal(self): # And this is how you0 码力 | 1562 页 | 79.19 MB | 1 年前3
Krita 5.1 官方文档中文版 2023-05-26Ahtml] 是随 Krita 一起启动的简单 Python 脚本。它们通过 Extension (扩展) 程序类进行编写。一个最简单的扩展 程序代码如下: from krita import * class MyExtension(Extension): def __init__(self, parent): # This is initialising the parent, 法差不多,面板在某些方面更容易编写,但需要用到更多的窗口部件。一个最 简单的工具面板代码如下: from PyQt5.QtWidgets import * from krita import * class MyDocker(DockWidget): def __init__(self): super().__init__() self.setWindowTitle("My myFunction). 与之类似,要创建自定义 PyQt 信号,可以如下进行: # signal name is added to the member variables of the class signal_name = pyqtSignal(bool, name='signalName') def emitMySignal(self): # And this is how you0 码力 | 1547 页 | 78.22 MB | 1 年前3
Krita 5.2 マニュアル
リファレンスドキュメ ントに行きます。 Krita の API LibKis API Overview [https://api.kde.org/krita/html/index.html] Krita class documentation [https://api.kde.org/krita/html/annotated.html] これらのページは最初はちんぷんかんぷんに見えるかもしれません。なぜ なら krita を行い、関数を呼び出したときに、ドキュメントに書か れている C++ メソッドを実際に使うようになります。 これがどうなっているかもう少し詳しく見てみましょう。二つ目のリン ク、Krita class reference [https://api.kde.org/krita/html/classKrita.html#aa55507903d088013ced2df8c74f28a6 3] を見てください。Krita に実行される、比較的小さな Python スクリプトです。これらは Extension クラスによって作成されます。最小の拡張機能はこのような感じです: from krita import * class MyExtension(Extension): def __init__(self, parent): # これは親クラスを初期化します。サブクラス化の際に重要です。0 码力 | 1591 页 | 79.16 MB | 1 年前3
Krita 4.x 官方文档中文版 2021-08-06Ahtml] 是随 Krita ⼀起启动 的简单 Python 脚本。它们通过 Extension (扩展) 程序类进⾏编 写。⼀个最简单的扩展程序代码如下: from krita import * class MyExtension(Extension): def __init__(self, parent): # This is initialising the parent 序的做法差不多,⼯具⾯板在某些⽅⾯更容易编写,但需要⽤到更 多的窗⼝部件。⼀个最简单的⼯具⾯板代码如下: from PyQt5.QtWidgets import * from krita import * class MyDocker(DockWidget): def __init__(self): super().__init__() self.setWindowTitle("My myFunction). 与之类似,要创建⾃定义 PyQt 信号,可以如下进⾏: # signal name is added to the member variables of the class signal_name = pyqtSignal(bool, name='signalName') def emitMySignal(self): # And this is how0 码力 | 1594 页 | 110.95 MB | 1 年前3
Krita 4.x 官方文档中文版 2021-08-06Ahtml] 是 随 Krita 一起启动的简单 Python 脚本。它们通过 Extension (扩展) 程序类进行 编写。一个最简单的扩展程序代码如下: from krita import * class MyExtension(Extension): def __init__(self, parent): # This is initialising the parent, 和创建一个扩展程序的做法差不多,工具 面板在某些方面更容易编写,但需要用到更多的窗口部件。一个最简单的工具 面板代码如下: from PyQt5.QtWidgets import * from krita import * class MyDocker(DockWidget): def __init__(self): super().__init__() self.setWindowTitle("My myFunction). 与之类似,要创建自定义 PyQt 信号,可以如下进行: # signal name is added to the member variables of the class signal_name = pyqtSignal(bool, name='signalName') def emitMySignal(self): # And this is how you0 码力 | 1373 页 | 74.74 MB | 1 年前3
共 9 条
- 1













