[PyKDE] qt 2.1 qhbox

Pete Ware ware at cis.ohio-state.edu
Wed Jun 7 19:04:42 BST 2000


2000-06-07  Pete Ware  <ware at cis.ohio-state.edu>

	* qt 2.1 added qt.QHBox.setStretchFactor()  Assumes QT_21x is
	available as a version (previous patch).

diff -c PyQt-0.13pre1/sip/qhbox.sip sip/qhbox.sip 
*** PyQt-0.13pre1/sip/qhbox.sip	Wed May 24 04:34:47 2000
--- sip/qhbox.sip	Wed Jun  7 12:48:37 2000
***************
*** 24,29 ****
--- 24,32 ----
  	QHBox(QWidget * /TransferThis/ = 0,const char * = 0,WFlags = 0,bool = 1);
  
  	void setSpacing(int);
+ %If Version(QT_21x)
+ 	bool setStretchFactor (QWidget *, int);
+ %End
  
  protected:
  	QHBox(bool,QWidget * /TransferThis/ = 0,const char * = 0,WFlags = 0,




More information about the PyQt mailing list