DlgLineAttSet.h
资源名称:QGIS.rar [点击查看]
上传用户:oybseng
上传日期:2015-04-27
资源大小:7831k
文件大小:2k
源码类别:
GDI/图象编程
开发平台:
Visual C++
- #if !defined(AFX_DLGLINEATTSET_H__B6C3F4CE_73A8_4362_A157_2AC530CA7683__INCLUDED_)
- #define AFX_DLGLINEATTSET_H__B6C3F4CE_73A8_4362_A157_2AC530CA7683__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- // DlgLineAttSet.h : header file
- //
- /////////////////////////////////////////////////////////////////////////////
- // CDlgLineAttSet dialog
- class CQLayerObj;
- class CQLineObj;
- class CDlgLineAttSet : public CDialog
- {
- // Construction
- public:
- CDlgLineAttSet(CWnd* pParent = NULL); // standard constructor
- CDlgLineAttSet(CQLayerObj * pLyrObj,int nOpflag = 2,CQLineObj * pLineObj = NULL,CWnd * pParent = NULL);
- void InitComboBox();
- int GetLineTypeFromCom();
- // Dialog Data
- //{{AFX_DATA(CDlgLineAttSet)
- enum { IDD = IDD_DIALOG_LINE_ATT_SET_QGIS };
- CComboBox m_ctLineStyle;
- double m_fLineWidth;
- BOOL m_bLineShowPt;
- long m_lLineID;
- CString m_szLineLayer;
- double m_fLineLength;
- CString m_szLineName;
- int m_nLineClosed;
- short m_nObjLineType;
- //}}AFX_DATA
- short m_r,m_g,m_b;
- // Overrides
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CDlgLineAttSet)
- protected:
- virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
- //}}AFX_VIRTUAL
- // Implementation
- public:
- int m_nOpFlag; // 1--表示对选中的线属性进行设置
- // 2--表示对图层中的线条属性进行统一设置
- CQLayerObj * m_pLayerObj;
- CQLineObj * m_pLineObj;
- COLORREF m_crLine;
- int m_nLineStyle;
- protected:
- // Generated message map functions
- //{{AFX_MSG(CDlgLineAttSet)
- virtual BOOL OnInitDialog();
- afx_msg void OnStaticColorShowQgis();
- virtual void OnOK();
- afx_msg void OnPaint();
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- };
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
- #endif // !defined(AFX_DLGLINEATTSET_H__B6C3F4CE_73A8_4362_A157_2AC530CA7683__INCLUDED_)