first commit
This commit is contained in:
27
project/fm_viewer/ui/rm_layout.h
Normal file
27
project/fm_viewer/ui/rm_layout.h
Normal file
@@ -0,0 +1,27 @@
|
||||
#ifndef RM_LAYOUT_UTILITY_H
|
||||
#define RM_LAYOUT_UTILITY_H
|
||||
|
||||
//#include "rm_include.h"
|
||||
|
||||
#include <QBoxLayout>
|
||||
#include <QLabel>
|
||||
|
||||
class RMLayout : public QObject
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
explicit RMLayout(QObject *parent = 0);
|
||||
|
||||
static QLabel* addLabel(QWidget *parent,QLayout* layout, QString title,const char* objectName);
|
||||
static QSpacerItem* addSpacer(QBoxLayout* layout,int width,int height);
|
||||
|
||||
//! \brief 기본타입 레이블 추가
|
||||
//! \param parent
|
||||
//! \param layout
|
||||
//! \param title
|
||||
//! \param objectName
|
||||
//! \return
|
||||
static QLabel* addThemeLabel(QWidget *parent,QLayout* layout, QString title,const char* objectName);
|
||||
};
|
||||
|
||||
#endif // RM_LAYOUT_UTILITY_H
|
||||
Reference in New Issue
Block a user