Working on simple window hierarchy

This commit is contained in:
amazing-username
2017-07-25 12:06:05 -05:00
parent 062b9338f0
commit 41c53fe8e9
3 changed files with 13 additions and 0 deletions
+25
View File
@@ -0,0 +1,25 @@
#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;
int height, width;
};
#endif