Added abstract class that holds partial window data

This commit is contained in:
amazing-username
2017-07-23 13:07:52 -05:00
parent de5b56e84f
commit 157b18ee8d
3 changed files with 43 additions and 1 deletions
+24
View File
@@ -0,0 +1,24 @@
#ifndef COMMONWINDOW_H_
#define COMMONWINDOW_H_
#include<QHBoxLayout>
#include<QVBoxLayout>
#include<QComboBox>
#include<QPushButton>
#include<memory>
using std::unique_ptr;
class CommonWindow
{
public:
CommonWindow() = default;
~CommonWindow() = default;
protected:
unique_ptr<QComboBox> selectionBox;
unique_ptr<QPushButton> actionButton;
unique_ptr<QHBoxLayout> mainLayout;
unique_ptr<VBoxLayout> subLayoutOne;
unique_ptr<VBoxLayout> subLayoutTwo;
};
#endif