You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
86 lines
1.1 KiB
C++
86 lines
1.1 KiB
C++
#ifndef COBJECTWINDOW_H
|
|
#define COBJECTWINDOW_H
|
|
|
|
|
|
#include "cobject.h"
|
|
|
|
#include "cmdisubwindow.h"
|
|
#include "cmainwindow.h"
|
|
|
|
#include <QWidget>
|
|
#include <QStandardItemModel>
|
|
|
|
|
|
namespace Ui {
|
|
class cObjectWindow;
|
|
}
|
|
|
|
/*!
|
|
\brief
|
|
|
|
\class cObjectWindow cobjectwindow.h "cobjectwindow.h"
|
|
*/
|
|
class cObjectWindow : public cMDISubWindow
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
/*!
|
|
\brief
|
|
|
|
\fn cObjectWindow
|
|
\param parent
|
|
*/
|
|
explicit cObjectWindow(QWidget *parent = 0);
|
|
/*!
|
|
\brief
|
|
|
|
\fn ~cObjectWindow
|
|
*/
|
|
~cObjectWindow();
|
|
|
|
/*!
|
|
\brief
|
|
|
|
\fn setObject
|
|
\param lpObject
|
|
*/
|
|
void setObject(cObject* lpObject);
|
|
/*!
|
|
\brief
|
|
|
|
\fn object
|
|
\return cObject
|
|
*/
|
|
cObject* object();
|
|
|
|
private slots:
|
|
/*!
|
|
\brief
|
|
|
|
\fn onNameChanged
|
|
\param szName
|
|
*/
|
|
void onNameChanged(const QString& szName);
|
|
/*!
|
|
\brief
|
|
|
|
\fn onTypeChanged
|
|
\param szName
|
|
*/
|
|
void onTypeChanged(const QString& szName);
|
|
/*!
|
|
\brief
|
|
|
|
\fn onDescriptionChanged
|
|
*/
|
|
void onDescriptionChanged();
|
|
|
|
private:
|
|
Ui::cObjectWindow* ui; /*!< TODO: describe */
|
|
cMainWindow* m_lpMainWindow; /*!< TODO: describe */
|
|
cObject* m_lpObject; /*!< TODO: describe */
|
|
};
|
|
|
|
#endif // COBJECTWINDOW_H
|