Commit history was lost in the git to svn merge for trunk, so this reflect work done in two GSOC projects and/or by several authors. Lines changed by each user was the main metric used to ack major contributions. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@77497 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
		
			
				
	
	
		
			44 lines
		
	
	
		
			1.3 KiB
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			44 lines
		
	
	
		
			1.3 KiB
		
	
	
	
		
			C++
		
	
	
	
	
	
| /////////////////////////////////////////////////////////////////////////////
 | |
| // Name:        wx/qt/spinbutt.h
 | |
| // Author:      Peter Most, Mariano Reingart
 | |
| // Copyright:   (c) 2010 wxWidgets dev team
 | |
| // Licence:     wxWindows licence
 | |
| /////////////////////////////////////////////////////////////////////////////
 | |
| 
 | |
| #ifndef _WX_QT_SPINBUTT_H_
 | |
| #define _WX_QT_SPINBUTT_H_
 | |
| 
 | |
| #include "wx/spinbutt.h"
 | |
| #include <QtWidgets/QSpinBox>
 | |
| 
 | |
| class WXDLLIMPEXP_CORE wxSpinButton : public wxSpinButtonBase
 | |
| {
 | |
| public:
 | |
|     wxSpinButton();
 | |
|     wxSpinButton(wxWindow *parent,
 | |
|                  wxWindowID id = -1,
 | |
|                  const wxPoint& pos = wxDefaultPosition,
 | |
|                  const wxSize& size = wxDefaultSize,
 | |
|                  long style = wxSP_VERTICAL,
 | |
|                  const wxString& name = wxSPIN_BUTTON_NAME);
 | |
| 
 | |
|     bool Create(wxWindow *parent,
 | |
|                 wxWindowID id = -1,
 | |
|                 const wxPoint& pos = wxDefaultPosition,
 | |
|                 const wxSize& size = wxDefaultSize,
 | |
|                 long style = wxSP_VERTICAL,
 | |
|                 const wxString& name = wxSPIN_BUTTON_NAME);
 | |
| 
 | |
|     virtual int GetValue() const;
 | |
|     virtual void SetValue(int val);
 | |
| 
 | |
|     virtual QSpinBox *GetHandle() const;
 | |
| 
 | |
| private:
 | |
|     QSpinBox *m_qtSpinBox;
 | |
| 
 | |
|     wxDECLARE_DYNAMIC_CLASS( wxSpinButton );
 | |
| };
 | |
| 
 | |
| #endif // _WX_QT_SPINBUTT_H_
 |