(child: QWidget<any>)
| 64 | } |
| 65 | } |
| 66 | removeChild(child: QWidget<any>): void { |
| 67 | if (!this.layout()) { |
| 68 | console.warn("parent has no layout to remove child from"); |
| 69 | return; |
| 70 | } |
| 71 | this.layout()!.removeWidget(child); |
| 72 | child.close(); |
| 73 | } |
| 74 | static tagName = "dialog"; |
| 75 | } |