#include"PasswordManagementWindow.h" PasswordManagementWindow::PasswordManagementWindow(QWidget* parent) : QDialog(parent) { setupWindow(); } void PasswordManagementWindow::setupWindow() { windowWidth=450; windowHeight=450; elementView=unique_ptr{new QTableView}; selectionBox=unique_ptr{new QComboBox}; actionButton=unique_ptr{new QPushButton{"i3"}}; crypticText=unique_ptr{new QLineEdit}; mainLayout=unique_ptr{new QHBoxLayout}; subLayoutOne=unique_ptr{new QVBoxLayout}; subLayoutTwo=unique_ptr{new QVBoxLayout}; subLayoutOne.get()->addWidget(elementView.get()); subLayoutTwo.get()->addWidget(selectionBox.get()); subLayoutTwo.get()->addWidget(actionButton.get()); subLayoutTwo.get()->addWidget(crypticText.get()); mainLayout.get()->addLayout(subLayoutOne.get()); mainLayout.get()->addLayout(subLayoutTwo.get()); setLayout(mainLayout.get()); setFixedWidth(windowWidth); setFixedHeight(windowHeight); connections(); } void PasswordManagementWindow::connections() { }