| 542 | } |
| 543 | |
| 544 | Py::Object TaskDialogPy::getDialogContent(const Py::Tuple& args) |
| 545 | { |
| 546 | if (!PyArg_ParseTuple(args.ptr(), "")) { |
| 547 | throw Py::Exception(); |
| 548 | } |
| 549 | |
| 550 | PythonWrapper wrap; |
| 551 | wrap.loadWidgetsModule(); |
| 552 | |
| 553 | Py::List list; |
| 554 | auto widgets = dialog->getDialogContent(); |
| 555 | for (auto it : widgets) { |
| 556 | list.append(wrap.fromQWidget(it)); |
| 557 | } |
| 558 | |
| 559 | return list; |
| 560 | } |
| 561 | |
| 562 | Py::Object TaskDialogPy::getStandardButtons(const Py::Tuple& args) |
| 563 | { |
no test coverage detected