Krita 5.2 Manualkrita import *. This allows us to talk to Krita through Krita.instance(). Let’s try to double our coding abilities with Python. from krita import * Krita.instance().action('python_scripter').trigger() We can do that easily with Window.createAction() [https://api.kde.org/krita/html/classWindow.html#a72ec58e53844076c1461966c34a9 115c]. Krita will call createActions for every Window that is created and pass to this docker code, how do we allow the user to activate it? First, we’ll need to do some Qt GUI coding: Let’s add a button! By default, Krita uses PyQt, but its documentation is pretty bad, mostly because0 码力 | 1502 页 | 79.07 MB | 1 年前3
Krita 5.2 브로셔krita import *. This allows us to talk to Krita through Krita.instance(). Let’s try to double our coding abilities with Python. from krita import * Krita.instance().action('python_scripter').trigger() We can do that easily with Window.createAction() [https://api.kde.org/krita/html/classWindow.html#a72ec58e53844076c1461966c34a9 115c]. Krita will call createActions for every Window that is created and pass to this docker code, how do we allow the user to activate it? First, we’ll need to do some Qt GUI coding: Let’s add a button! By default, Krita uses PyQt, but its documentation is pretty bad, mostly because0 码力 | 1531 页 | 79.11 MB | 1 年前3
Krita 4.x 官方文档中文版 2021-08-06A[https://api.kde.org/extragear- api/graphics- apidocs/krita/libs/libkis/html/classWindow.html#a72ec58e53844076c146 1966c34a9115c] 来实现它。Krita 会为它创建的每个窗⼝调⽤ createActions ,并把需要使⽤的窗⼝对象传递过去。 ⽰例如下: def libraries, which makes it easier to focus on new features instead of reinventing the wheel. And it makes coding fun! To work on Krita, you have to use C++ and Qt. It’s a good way to learn both, actually! KDE often, the communication goes awry, leaving both users with bright ideas and developers with itchy coding fingers unsatisfied. This post is all about how to work, first together with other artists, then0 码力 | 1594 页 | 110.95 MB | 1 年前3
Krita 4.x 官方文档中文版 2021-08-06AcreateAction() [https://api.kde.org/extragear-api/graphics- apidocs/krita/libs/libkis/html/classWindow.html#a72ec58e53844076c1461966c34a9115c] 来实现它。 Krita 会为它创建的每个窗口调用 createActions ,并把需要使用的窗口对象传 递过去。 示例如下: def libraries, which makes it easier to focus on new features instead of reinventing the wheel. And it makes coding fun! To work on Krita, you have to use C++ and Qt. It’s a good way to learn both, actually! KDE often, the communication goes awry, leaving both users with bright ideas and developers with itchy coding fingers unsatisfied. This post is all about how to work, first together with other artists, then0 码力 | 1373 页 | 74.74 MB | 1 年前3
Krita 5.2 中文手册org/krita/html/classAction.html] 。我 们可以用 Window.createAction() [https://api.kde.org/krita/html/classWindow.html#a72ec58e53844076c1461966c34a9 115c] 来实现它。Krita 会为它创建的每个窗口调用 createActions ,并把需要使 用的窗口对象传递过去。 示例如下: def 高效率图像文件格式的维基百科文章 [https://en.wikipedia.org/wiki/High_Efficiency_Image_File_Format] [ituh273] (1,2,3,4) H.273 : Coding-independent code points for video signal type identification [https://www.itu.int/rec/T-REC-H.273/en] libraries, which makes it easier to focus on new features instead of reinventing the wheel. And it makes coding fun! To work on Krita, you have to use C++ and Qt. It’s a good way to learn both, actually! KDE0 码力 | 1594 页 | 79.20 MB | 1 年前3
Krita 5.2 官方文档中文版 2023-12-08Aorg/krita/html/classAction.html] 。我们可以用 Window.createAction() [https://api.kde.org/krita/html/classWindow.html#a72ec58e53844076c1 461966c34a9115c] 来实现它。Krita 会为它创建的每个窗口调用 createActions ,并把需要使用的窗口对象传递过去。 示例如下: def createActions(self 高效率图像文件格式的维基百科文章 [https://en.wikipedia.org/wiki/High_Efficiency_Image_File_Format] [ituh273] (1,2,3,4) H.273 : Coding-independent code points for video signal type identification [https://www.itu.int/rec/T-REC-H.273/en] libraries, which makes it easier to focus on new features instead of reinventing the wheel. And it makes coding fun! To work on Krita, you have to use C++ and Qt. Itʼs a good way to learn both, actually! KDE0 码力 | 1685 页 | 91.87 MB | 1 年前3
Krita 5.2 官方文档中文版 2023-12-08Aorg/krita/html/classAction.html] 。我们可以用 Window.createAction() [https://api.kde.org/krita/html/classWindow.html#a72ec58e53844076c1461966c34a9115c] 来实现它。 Krita 会为它创建的每个窗口调用 createActions ,并把需要使用的窗口对象传 递过去。 示例如下: def [https://en.wikipedia.org/wiki/High_Efficiency_Image_File_Format] [ituh273] (1,2,3,4) H.273 : Coding-independent code points for video signal type identification [https://www.itu.int/rec/T-REC-H.273/en] libraries, which makes it easier to focus on new features instead of reinventing the wheel. And it makes coding fun! To work on Krita, you have to use C++ and Qt. It’s a good way to learn both, actually! KDE0 码力 | 1562 页 | 79.19 MB | 1 年前3
Krita 5.1 官方文档中文版 2023-05-26Aorg/krita/html/classAction.html] 。我们可以用 Window.createAction() [https://api.kde.org/krita/html/classWindow.html#a72ec58e53844076c1461966c34a9115c] 来实现它。 Krita 会为它创建的每个窗口调用 createActions ,并把需要使用的窗口对象传 递过去。 示例如下: def [https://en.wikipedia.org/wiki/High_Efficiency_Image_File_Format] [ituh273] (1,2,3,4) H.273 : Coding-independent code points for video signal type identification [https://www.itu.int/rec/T-REC-H.273/en] libraries, which makes it easier to focus on new features instead of reinventing the wheel. And it makes coding fun! To work on Krita, you have to use C++ and Qt. It’s a good way to learn both, actually! KDE0 码力 | 1547 页 | 78.22 MB | 1 年前3
Krita 5.2 マニュアル
ction.html] を作りましょ う。これは、Window.createAction() [https://api.kde.org/krita/html/classWindow.html#a72ec58e53844076c1461966c34a9 115c] を使うことで簡単にできます。Krita は生成されるすべての Window に 対して createActions を呼び出し、私達が使う必要がある正しい Wikipedia [https://en.wikipedia.org/wiki/High_Efficiency_Image_File_Format] [ituh273] (1,2,3,4) H.273 : Coding-independent code points for video signal type identification [https://www.itu.int/rec/T-REC-H.273/en] libraries, which makes it easier to focus on new features instead of reinventing the wheel. And it makes coding fun! To work on Krita, you have to use C++ and Qt. It's a good way to learn both, actually! KDE0 码力 | 1591 页 | 79.16 MB | 1 年前3
共 9 条
- 1













