You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
pytde/sip/tdemdi/tdemdichildarea.sip

103 lines
3.9 KiB

//
// Copyright 2006 Jim Bublitz <jbublitz@nwinternet.com>
// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson
// may also apply
// Generated by preSip
// module tdemdi version KDE 3.5.3
// This software is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public License as
// published by the Free Software Foundation; either version 2 of
// the License, or (at your option) any later version.
//
// This software is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public
// License along with this library; see the file COPYING.
// If not, write to the Free Software Foundation, Inc.,
// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
class KMdiChildArea : TQFrame
{
%TypeHeaderCode
#include <tdemdichildarea.h>
%End
public:
//ig TQPtrList<KMdiChildFrm>* m_pZ;
TQSize m_defaultChildFrmSize;
protected:
public:
KMdiChildArea (TQWidget*);
void manageChild (KMdiChildFrm*, bool = 1, bool = 1);
void destroyChild (KMdiChildFrm*, bool = 1);
void destroyChildButNotItsView (KMdiChildFrm*, bool = 1);
void setTopChild (KMdiChildFrm*, bool = 0);
KMdiChildFrm* topChild () const;
int getVisibleChildCount () const;
TQPoint getCascadePoint (int = -1);
void setMdiCaptionFont (const TQFont&);
void setMdiCaptionActiveForeColor (const TQColor&);
void setMdiCaptionActiveBackColor (const TQColor&);
void setMdiCaptionInactiveForeColor (const TQColor&);
void setMdiCaptionInactiveBackColor (const TQColor&);
static void getCaptionColors (const TQPalette&, TQColor&, TQColor&, TQColor&, TQColor&);
public slots:
void cascadeWindows ();
void cascadeMaximized ();
void expandVertical ();
void expandHorizontal ();
void focusTopChild ();
void tilePragma ();
void tileAnodine ();
void tileVertically ();
void layoutMinimizedChildren ();
protected:
void tileAllInternal (int);
virtual void resizeEvent (TQResizeEvent*);
void mousePressEvent (TQMouseEvent*);
void childMinimized (KMdiChildFrm*, bool);
signals:
void noMaximizedChildFrmLeft (KMdiChildFrm*);
void nowMaximized (bool);
void sysButtonConnectionsMustChange (KMdiChildFrm*, KMdiChildFrm*);
void popupWindowMenu (TQPoint);
void lastChildFrmClosed ();
//force
%ConvertToSubClassCode
// The table of Python class objects indexed by their names. The table
// must be sorted by name.
static sipStringTypeClassMap map[] = {
{sipName_KMdiChildArea, &sipClass_KMdiChildArea},
{sipName_KMdiChildFrm, &sipClass_KMdiChildFrm},
{sipName_KMdiChildView, &sipClass_KMdiChildView},
{sipName_KMdiChildFrmCaption, &sipClass_KMdiChildFrmCaption},
{sipName_KMdiMainFrm, &sipClass_KMdiMainFrm},
{sipName_KMdiTaskBar, &sipClass_KMdiTaskBar},
{sipName_KMdiTaskBarButton, &sipClass_KMdiTaskBarButton},
{sipName_KMdiToolViewAccessor, &sipClass_KMdiToolViewAccessor},
{sipName_KMdiWin32IconButton, &sipClass_KMdiWin32IconButton},
};
sipClass = sipMapStringToClass(sipCpp -> className(),map,sizeof (map)/sizeof (map[0]));
%End
//end
}; // class KMdiChildArea