Code cleanup

This commit is contained in:
amazing-username
2018-02-26 22:01:00 -06:00
commit cec1e0bbb6
39 changed files with 3268 additions and 0 deletions
+27
View File
@@ -0,0 +1,27 @@
#ifndef COMMONWINDOW_H_
#define COMMONWINDOW_H_
#include<QDialog>
#include<QHBoxLayout>
#include<QVBoxLayout>
#include<QComboBox>
#include<QPushButton>
#include<memory>
using std::unique_ptr;
class CommonWindow
{
public:
CommonWindow() = default;
~CommonWindow() = default;
protected:
virtual void connections()=0;
unique_ptr<QComboBox> selectionBox;
unique_ptr<QPushButton> actionButton;
unique_ptr<QHBoxLayout> mainLayout;
unique_ptr<QVBoxLayout> subLayoutOne;
unique_ptr<QVBoxLayout> subLayoutTwo;
int windowHeight, windowWidth;
};
#endif