Я бы хотел иметь кнопку "новая вкладка", как у Chrome или Firefox для моего QMdiArea
.
Я могу сделать кнопку или пункт меню где-то, что добавляет новый субдокумент в MDI, но как я могу сделать его привлекательной привлекательной вкладкой с меткой "+"? В качестве альтернативы, я был бы достаточно счастлив с помощью QTabWidget
с такой кнопкой.