 Krita 5.2 Manualour coding abilities with Python. from krita import * Krita.instance().action('python_scripter').trigger() You should see a second scripter window open. Pretty neat! Here is a slightly more advanced example signal_name = pyqtSignal(bool, name='signalName') def emitMySignal(self): # And this is how you trigger the signal to be emitted. self.signal_name.emit(True) And use the right import: from PyQt5 crash handler was creating the stack trace before being closed manually. In this case, try to re-trigger the crash and wait longer until the crash dialog appears. Filters Filters are little scripts or0 码力 | 1502 页 | 79.07 MB | 1 年前3 Krita 5.2 Manualour coding abilities with Python. from krita import * Krita.instance().action('python_scripter').trigger() You should see a second scripter window open. Pretty neat! Here is a slightly more advanced example signal_name = pyqtSignal(bool, name='signalName') def emitMySignal(self): # And this is how you trigger the signal to be emitted. self.signal_name.emit(True) And use the right import: from PyQt5 crash handler was creating the stack trace before being closed manually. In this case, try to re-trigger the crash and wait longer until the crash dialog appears. Filters Filters are little scripts or0 码力 | 1502 页 | 79.07 MB | 1 年前3
 Krita 5.2 브로셔our coding abilities with Python. from krita import * Krita.instance().action('python_scripter').trigger() You should see a second scripter window open. Pretty neat! Here is a slightly more advanced example signal_name = pyqtSignal(bool, name='signalName') def emitMySignal(self): # And this is how you trigger the signal to be emitted. self.signal_name.emit(True) And use the right import: from PyQt5 crash handler was creating the stack trace before being closed manually. In this case, try to re-trigger the crash and wait longer until the crash dialog appears. 필터 Filters are little scripts or operations0 码力 | 1531 页 | 79.11 MB | 1 年前3 Krita 5.2 브로셔our coding abilities with Python. from krita import * Krita.instance().action('python_scripter').trigger() You should see a second scripter window open. Pretty neat! Here is a slightly more advanced example signal_name = pyqtSignal(bool, name='signalName') def emitMySignal(self): # And this is how you trigger the signal to be emitted. self.signal_name.emit(True) And use the right import: from PyQt5 crash handler was creating the stack trace before being closed manually. In this case, try to re-trigger the crash and wait longer until the crash dialog appears. 필터 Filters are little scripts or operations0 码力 | 1531 页 | 79.11 MB | 1 年前3
 Krita 4.x 官方文档中文版 2021-08-06A现在我们可以⽤ Python 执⾏ Krita 的操作了。 from krita import * Krita.instance().action('python_scripter').trigger() 上述代码执⾏后会打开另⼀个脚本⼯具窗⼝。是不是很有意思?接 下来让我们尝试⼀组更加复杂的代码。 from krita import * d = Krita.instance().createDocument(512 signal_name = pyqtSignal(bool, name='signalName') def emitMySignal(self): # And this is how you trigger the signal to be emitted. self.signal_name.emit(True) 记得指定合适的 import 功能: from PyQt5.QtCore0 码力 | 1594 页 | 110.95 MB | 1 年前3 Krita 4.x 官方文档中文版 2021-08-06A现在我们可以⽤ Python 执⾏ Krita 的操作了。 from krita import * Krita.instance().action('python_scripter').trigger() 上述代码执⾏后会打开另⼀个脚本⼯具窗⼝。是不是很有意思?接 下来让我们尝试⼀组更加复杂的代码。 from krita import * d = Krita.instance().createDocument(512 signal_name = pyqtSignal(bool, name='signalName') def emitMySignal(self): # And this is how you trigger the signal to be emitted. self.signal_name.emit(True) 记得指定合适的 import 功能: from PyQt5.QtCore0 码力 | 1594 页 | 110.95 MB | 1 年前3
 Krita 4.x 官方文档中文版 2021-08-06A建立联系。现在我们 可以用 Python 执行 Krita 的操作了。 from krita import * Krita.instance().action('python_scripter').trigger() 上述代码执行后会打开另一个脚本工具窗口。是不是很有意思?接下来让我们 尝试一组更加复杂的代码。 from krita import * d = Krita.instance().createDocument(512 signal_name = pyqtSignal(bool, name='signalName') def emitMySignal(self): # And this is how you trigger the signal to be emitted. self.signal_name.emit(True) 记得指定合适的 import 功能: from PyQt5.QtCore import0 码力 | 1373 页 | 74.74 MB | 1 年前3 Krita 4.x 官方文档中文版 2021-08-06A建立联系。现在我们 可以用 Python 执行 Krita 的操作了。 from krita import * Krita.instance().action('python_scripter').trigger() 上述代码执行后会打开另一个脚本工具窗口。是不是很有意思?接下来让我们 尝试一组更加复杂的代码。 from krita import * d = Krita.instance().createDocument(512 signal_name = pyqtSignal(bool, name='signalName') def emitMySignal(self): # And this is how you trigger the signal to be emitted. self.signal_name.emit(True) 记得指定合适的 import 功能: from PyQt5.QtCore import0 码力 | 1373 页 | 74.74 MB | 1 年前3
 Krita 5.2 中文手册建立联系。现在我们 可以用 Python 执行 Krita 的操作了。 from krita import * Krita.instance().action('python_scripter').trigger() 上述代码执行后会打开另一个脚本工具窗口。是不是很有意思?接下来让我们 尝试一组更加复杂的代码。 from krita import * d = Krita.instance().createDocument(512 signal_name = pyqtSignal(bool, name='signalName') def emitMySignal(self): # And this is how you trigger the signal to be emitted. self.signal_name.emit(True) 记得指定合适的 import 功能: from PyQt5.QtCore0 码力 | 1594 页 | 79.20 MB | 1 年前3 Krita 5.2 中文手册建立联系。现在我们 可以用 Python 执行 Krita 的操作了。 from krita import * Krita.instance().action('python_scripter').trigger() 上述代码执行后会打开另一个脚本工具窗口。是不是很有意思?接下来让我们 尝试一组更加复杂的代码。 from krita import * d = Krita.instance().createDocument(512 signal_name = pyqtSignal(bool, name='signalName') def emitMySignal(self): # And this is how you trigger the signal to be emitted. self.signal_name.emit(True) 记得指定合适的 import 功能: from PyQt5.QtCore0 码力 | 1594 页 | 79.20 MB | 1 年前3
 Krita 5.2 官方文档中文版 2023-12-08A建立联系。 现在我们可以用 Python 执行 Krita 的操作了。 from krita import * Krita.instance().action('python_scripter').trigger() 上述代码执行后会打开另一个脚本工具窗口。是不是很有意思?接 下来让我们尝试一组更加复杂的代码。 from krita import * d = Krita.instance().createDocument(512 signal_name = pyqtSignal(bool, name='signalName') def emitMySignal(self): # And this is how you trigger the signal to be emitted. self.signal_name.emit(True) 记得指定合适的 import 功能: from PyQt5.QtCore import0 码力 | 1685 页 | 91.87 MB | 1 年前3 Krita 5.2 官方文档中文版 2023-12-08A建立联系。 现在我们可以用 Python 执行 Krita 的操作了。 from krita import * Krita.instance().action('python_scripter').trigger() 上述代码执行后会打开另一个脚本工具窗口。是不是很有意思?接 下来让我们尝试一组更加复杂的代码。 from krita import * d = Krita.instance().createDocument(512 signal_name = pyqtSignal(bool, name='signalName') def emitMySignal(self): # And this is how you trigger the signal to be emitted. self.signal_name.emit(True) 记得指定合适的 import 功能: from PyQt5.QtCore import0 码力 | 1685 页 | 91.87 MB | 1 年前3
 Krita 5.2 官方文档中文版 2023-12-08A建立联系。现在我们 可以用 Python 执行 Krita 的操作了。 from krita import * Krita.instance().action('python_scripter').trigger() 上述代码执行后会打开另一个脚本工具窗口。是不是很有意思?接下来让我们 尝试一组更加复杂的代码。 from krita import * d = Krita.instance().createDocument(512 signal_name = pyqtSignal(bool, name='signalName') def emitMySignal(self): # And this is how you trigger the signal to be emitted. self.signal_name.emit(True) 记得指定合适的 import 功能: from PyQt5.QtCore import0 码力 | 1562 页 | 79.19 MB | 1 年前3 Krita 5.2 官方文档中文版 2023-12-08A建立联系。现在我们 可以用 Python 执行 Krita 的操作了。 from krita import * Krita.instance().action('python_scripter').trigger() 上述代码执行后会打开另一个脚本工具窗口。是不是很有意思?接下来让我们 尝试一组更加复杂的代码。 from krita import * d = Krita.instance().createDocument(512 signal_name = pyqtSignal(bool, name='signalName') def emitMySignal(self): # And this is how you trigger the signal to be emitted. self.signal_name.emit(True) 记得指定合适的 import 功能: from PyQt5.QtCore import0 码力 | 1562 页 | 79.19 MB | 1 年前3
 Krita 5.1 官方文档中文版 2023-05-26A建立联系。现在我们 可以用 Python 执行 Krita 的操作了。 from krita import * Krita.instance().action('python_scripter').trigger() 上述代码执行后会打开另一个脚本工具窗口。是不是很有意思?接下来让我们 尝试一组更加复杂的代码。 from krita import * d = Krita.instance().createDocument(512 signal_name = pyqtSignal(bool, name='signalName') def emitMySignal(self): # And this is how you trigger the signal to be emitted. self.signal_name.emit(True) 记得指定合适的 import 功能: from PyQt5.QtCore import0 码力 | 1547 页 | 78.22 MB | 1 年前3 Krita 5.1 官方文档中文版 2023-05-26A建立联系。现在我们 可以用 Python 执行 Krita 的操作了。 from krita import * Krita.instance().action('python_scripter').trigger() 上述代码执行后会打开另一个脚本工具窗口。是不是很有意思?接下来让我们 尝试一组更加复杂的代码。 from krita import * d = Krita.instance().createDocument(512 signal_name = pyqtSignal(bool, name='signalName') def emitMySignal(self): # And this is how you trigger the signal to be emitted. self.signal_name.emit(True) 记得指定合适的 import 功能: from PyQt5.QtCore import0 码力 | 1547 页 | 78.22 MB | 1 年前3
 Krita 5.2 マニュアル
とやりとりすることができます。 Python でのプログラミング能力を2倍にしましょう。 from krita import * Krita.instance().action('python_scripter').trigger() 2つ目の Scripter ウィンドウが開くのが見えるはずです。良いでしょう!こ れがより発展的な例です。 from krita import * d = Krita.instance() crash handler was creating the stack trace before being closed manually. In this case, try to re-trigger the crash and wait longer until the crash dialog appears. Filters Filters are little scripts or0 码力 | 1591 页 | 79.16 MB | 1 年前3 Krita 5.2 マニュアル
とやりとりすることができます。 Python でのプログラミング能力を2倍にしましょう。 from krita import * Krita.instance().action('python_scripter').trigger() 2つ目の Scripter ウィンドウが開くのが見えるはずです。良いでしょう!こ れがより発展的な例です。 from krita import * d = Krita.instance() crash handler was creating the stack trace before being closed manually. In this case, try to re-trigger the crash and wait longer until the crash dialog appears. Filters Filters are little scripts or0 码力 | 1591 页 | 79.16 MB | 1 年前3
共 9 条
- 1














