This repository has been archived on 2026-07-02. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
PasswordEncryption/PasswordManagementWindow.cpp
T
2017-07-29 16:18:50 -05:00

42 lines
1.1 KiB
C++

#include"PasswordManagementWindow.h"
PasswordManagementWindow::PasswordManagementWindow(QWidget* parent) : QDialog(parent)
{
setupWindow();
}
void PasswordManagementWindow::setupWindow()
{
windowWidth=450;
windowHeight=450;
elementView=unique_ptr<QTableView>{new QTableView};
selectionBox=unique_ptr<QComboBox>{new QComboBox};
actionButton=unique_ptr<QPushButton>{new QPushButton{"i3"}};
crypticText=unique_ptr<QLineEdit>{new QLineEdit};
mainLayout=unique_ptr<QHBoxLayout>{new QHBoxLayout};
subLayoutOne=unique_ptr<QVBoxLayout>{new QVBoxLayout};
subLayoutTwo=unique_ptr<QVBoxLayout>{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()
{
}