|
|
@ -71,7 +71,7 @@ public:
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
static TQWidget *create( int id, TQWidget *parent, const char *name = 0, bool init = TRUE,
|
|
|
|
static TQWidget *create( int id, TQWidget *parent, const char *name = 0, bool init = TRUE,
|
|
|
|
const TQRect *rect = 0, Qt::Orientation orient = Qt::Horizontal );
|
|
|
|
const TQRect *rect = 0, Orientation orient = TQt::Horizontal );
|
|
|
|
static TQLayout *createLayout( TQWidget *widget, TQLayout* layout, LayoutType type );
|
|
|
|
static TQLayout *createLayout( TQWidget *widget, TQLayout* layout, LayoutType type );
|
|
|
|
static void deleteLayout( TQWidget *widget );
|
|
|
|
static void deleteLayout( TQWidget *widget );
|
|
|
|
|
|
|
|
|
|
|
@ -102,7 +102,7 @@ public:
|
|
|
|
|
|
|
|
|
|
|
|
private:
|
|
|
|
private:
|
|
|
|
static TQWidget *createWidget( const TQString &className, TQWidget *parent, const char *name, bool init,
|
|
|
|
static TQWidget *createWidget( const TQString &className, TQWidget *parent, const char *name, bool init,
|
|
|
|
const TQRect *r = 0, Qt::Orientation orient = Qt::Horizontal );
|
|
|
|
const TQRect *r = 0, Orientation orient = TQt::Horizontal );
|
|
|
|
static TQWidget *createCustomWidget( TQWidget *parent, const char *name, MetaDataBase::CustomWidget *w );
|
|
|
|
static TQWidget *createCustomWidget( TQWidget *parent, const char *name, MetaDataBase::CustomWidget *w );
|
|
|
|
|
|
|
|
|
|
|
|
};
|
|
|
|
};
|
|
|
@ -281,7 +281,7 @@ class Line : public TQFrame
|
|
|
|
Q_OBJECT
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
TQ_PROPERTY( Qt::Orientation orientation READ orientation WRITE setOrientation )
|
|
|
|
TQ_PROPERTY( Orientation orientation READ orientation WRITE setOrientation )
|
|
|
|
TQ_OVERRIDE( int frameWidth DESIGNABLE false )
|
|
|
|
TQ_OVERRIDE( int frameWidth DESIGNABLE false )
|
|
|
|
TQ_OVERRIDE( Shape frameShape DESIGNABLE false )
|
|
|
|
TQ_OVERRIDE( Shape frameShape DESIGNABLE false )
|
|
|
|
TQ_OVERRIDE( TQRect frameRect DESIGNABLE false )
|
|
|
|
TQ_OVERRIDE( TQRect frameRect DESIGNABLE false )
|
|
|
@ -292,14 +292,14 @@ public:
|
|
|
|
setFrameStyle( HLine | Sunken );
|
|
|
|
setFrameStyle( HLine | Sunken );
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
void setOrientation( Qt::Orientation orient ) {
|
|
|
|
void setOrientation( Orientation orient ) {
|
|
|
|
if ( orient ==Qt::Horizontal )
|
|
|
|
if ( orient ==TQt::Horizontal )
|
|
|
|
setFrameShape( HLine );
|
|
|
|
setFrameShape( HLine );
|
|
|
|
else
|
|
|
|
else
|
|
|
|
setFrameShape( VLine );
|
|
|
|
setFrameShape( VLine );
|
|
|
|
}
|
|
|
|
}
|
|
|
|
Qt::Orientation orientation() const {
|
|
|
|
Orientation orientation() const {
|
|
|
|
return frameShape() == HLine ?Qt::Horizontal :Qt::Vertical;
|
|
|
|
return frameShape() == HLine ?TQt::Horizontal :TQt::Vertical;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|