|
|
@ -69,21 +69,21 @@ DetailDialog::DetailDialog(View* v, TQWidget *parent, const char *name) :
|
|
|
|
TQHBoxLayout* l1 = new TQHBoxLayout(0, 0, 5);
|
|
|
|
TQHBoxLayout* l1 = new TQHBoxLayout(0, 0, 5);
|
|
|
|
|
|
|
|
|
|
|
|
icon=new TQLabel(widget);
|
|
|
|
icon=new TQLabel(widget);
|
|
|
|
//icon->tqsetSizePolicy( TQSizePolicy( TQSizePolicy::Minimum, TQSizePolicy::Minimum ) );
|
|
|
|
//icon->setSizePolicy( TQSizePolicy( TQSizePolicy::Minimum, TQSizePolicy::Minimum ) );
|
|
|
|
l1->addWidget(icon, 0, TQt::AlignVCenter);
|
|
|
|
l1->addWidget(icon, 0, TQt::AlignVCenter);
|
|
|
|
|
|
|
|
|
|
|
|
//header=new KActiveLabel(widget, "header");
|
|
|
|
//header=new KActiveLabel(widget, "header");
|
|
|
|
header=new TQLabel(widget, "header");
|
|
|
|
header=new TQLabel(widget, "header");
|
|
|
|
//header->tqsetSizePolicy( TQSizePolicy( TQSizePolicy::Maximum, TQSizePolicy::Minimum) );
|
|
|
|
//header->setSizePolicy( TQSizePolicy( TQSizePolicy::Maximum, TQSizePolicy::Minimum) );
|
|
|
|
//header->tqsetSizePolicy( TQSizePolicy( TQSizePolicy::MinimumExpanding, TQSizePolicy::Minimum ) );
|
|
|
|
//header->setSizePolicy( TQSizePolicy( TQSizePolicy::MinimumExpanding, TQSizePolicy::Minimum ) );
|
|
|
|
l1->addWidget(header, 0, TQt::AlignVCenter || TQt::AlignHCenter);
|
|
|
|
l1->addWidget(header, 0, TQt::AlignVCenter || TQt::AlignHCenter);
|
|
|
|
|
|
|
|
|
|
|
|
mainLayout->addLayout(l1);
|
|
|
|
mainLayout->addLayout(l1);
|
|
|
|
|
|
|
|
|
|
|
|
message=new TQTextEdit(widget);
|
|
|
|
message=new TQTextEdit(widget);
|
|
|
|
message->setReadOnly(true);
|
|
|
|
message->setReadOnly(true);
|
|
|
|
//message->tqsetSizePolicy( TQSizePolicy( TQSizePolicy::Minimum, TQSizePolicy::Minimum) );
|
|
|
|
//message->setSizePolicy( TQSizePolicy( TQSizePolicy::Minimum, TQSizePolicy::Minimum) );
|
|
|
|
//message->tqsetSizePolicy( TQSizePolicy( TQSizePolicy::MinimumExpanding, TQSizePolicy::MinimumExpanding ) );
|
|
|
|
//message->setSizePolicy( TQSizePolicy( TQSizePolicy::MinimumExpanding, TQSizePolicy::MinimumExpanding ) );
|
|
|
|
//message->setMinimumHeight(40);
|
|
|
|
//message->setMinimumHeight(40);
|
|
|
|
//message->setMinimumHeight(60);
|
|
|
|
//message->setMinimumHeight(60);
|
|
|
|
//message->setMinimumWidth(400);
|
|
|
|
//message->setMinimumWidth(400);
|
|
|
|