If I write "tabWidget->add", is OK, one tab.Qt Code:
MainWindow::MainWindow() { createMenus(); edit = new CodeEditor(); //tabWidget->addTab(edit, "1"); setCentralWidget(tabWidget); }To copy to clipboard, switch view to plain text mode
If not, is empty editor. Its color is white, I prefer gray and don't know, I must change MainWindow background color or empty QTabWidget background color (which is central widget)
Bookmarks