int main(int argc, char** argv) { QApplication app(argc, argv); Tp::registerTypes(); AccountWindow *main = new AccountWindow; main->resize(500, 500); main->show(); app.exec(); }
void GeneralMenu::openAccountWindow(CppConsUI::Button& /*activator*/) { AccountWindow *win = new AccountWindow; win->show(); close(); }