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.
103 lines
3.9 KiB
103 lines
3.9 KiB
13 years ago
|
//
|
||
|
// Copyright 2006 Jim Bublitz <jbublitz@nwinternet.com>
|
||
|
// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson
|
||
|
// may also apply
|
||
|
|
||
|
|
||
|
// Generated by preSip
|
||
12 years ago
|
// module tdemdi version KDE 3.5.3
|
||
13 years ago
|
|
||
|
|
||
|
// 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.
|
||
|
|
||
|
|
||
13 years ago
|
class KMdiChildArea : TQFrame
|
||
13 years ago
|
{
|
||
|
%TypeHeaderCode
|
||
12 years ago
|
#include <tdemdichildarea.h>
|
||
13 years ago
|
%End
|
||
|
|
||
|
|
||
|
public:
|
||
13 years ago
|
//ig TQPtrList<KMdiChildFrm>* m_pZ;
|
||
|
TQSize m_defaultChildFrmSize;
|
||
13 years ago
|
|
||
|
protected:
|
||
|
|
||
|
public:
|
||
13 years ago
|
KMdiChildArea (TQWidget*);
|
||
13 years ago
|
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;
|
||
13 years ago
|
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&);
|
||
13 years ago
|
|
||
|
public slots:
|
||
|
void cascadeWindows ();
|
||
|
void cascadeMaximized ();
|
||
|
void expandVertical ();
|
||
|
void expandHorizontal ();
|
||
|
void focusTopChild ();
|
||
|
void tilePragma ();
|
||
|
void tileAnodine ();
|
||
|
void tileVertically ();
|
||
|
void layoutMinimizedChildren ();
|
||
|
|
||
|
protected:
|
||
|
void tileAllInternal (int);
|
||
13 years ago
|
virtual void resizeEvent (TQResizeEvent*);
|
||
|
void mousePressEvent (TQMouseEvent*);
|
||
13 years ago
|
void childMinimized (KMdiChildFrm*, bool);
|
||
|
|
||
|
signals:
|
||
|
void noMaximizedChildFrmLeft (KMdiChildFrm*);
|
||
|
void nowMaximized (bool);
|
||
|
void sysButtonConnectionsMustChange (KMdiChildFrm*, KMdiChildFrm*);
|
||
13 years ago
|
void popupWindowMenu (TQPoint);
|
||
13 years ago
|
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
|
||
|
|