|
|
@ -83,17 +83,6 @@ public:
|
|
|
|
TQCOORD getSizer( Qt::Orientation orient );
|
|
|
|
TQCOORD getSizer( Qt::Orientation orient );
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
TQCOORD TQSplitterLayoutStruct::getSizer( Qt::Orientation orient )
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
if ( sizer == -1 ) {
|
|
|
|
|
|
|
|
TQSize s = wid->tqsizeHint();
|
|
|
|
|
|
|
|
if ( !s.isValid() || wid->testWState(WState_Resized) )
|
|
|
|
|
|
|
|
s = wid->size();
|
|
|
|
|
|
|
|
sizer = ( orient == Qt::Horizontal ) ? s.width() : s.height();
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
return sizer;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class TQ_EXPORT TQSplitter : public TQFrame
|
|
|
|
class TQ_EXPORT TQSplitter : public TQFrame
|
|
|
|
{
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
Q_OBJECT
|
|
|
|