|
|
|
@ -197,7 +197,7 @@ void TabCellFrame::drawContents(TQPainter *p)
|
|
|
|
|
|
|
|
|
|
void TabCellFrame::mousePressEvent(TQMouseEvent *event)
|
|
|
|
|
{
|
|
|
|
|
if ( event->button() != Qt::LeftButton )
|
|
|
|
|
if ( event->button() != TQt::LeftButton )
|
|
|
|
|
return;
|
|
|
|
|
|
|
|
|
|
int x = event->x();
|
|
|
|
@ -260,7 +260,7 @@ TabCellDialog::TabCellDialog(TQWidget *parent, TabularCell::Data *data,
|
|
|
|
|
|
|
|
|
|
// font group
|
|
|
|
|
TQGroupBox *fontgroup = new TQGroupBox( i18n("Font"),page);
|
|
|
|
|
fontgroup->setColumnLayout(0, Qt::Vertical );
|
|
|
|
|
fontgroup->setColumnLayout(0, TQt::Vertical );
|
|
|
|
|
fontgroup->layout()->setSpacing( 6 );
|
|
|
|
|
fontgroup->layout()->setMargin( 11 );
|
|
|
|
|
|
|
|
|
@ -274,7 +274,7 @@ TabCellDialog::TabCellDialog(TQWidget *parent, TabularCell::Data *data,
|
|
|
|
|
|
|
|
|
|
// color group
|
|
|
|
|
TQGroupBox *colorgroup = new TQGroupBox( i18n("Color"),page);
|
|
|
|
|
colorgroup->setColumnLayout(0, Qt::Vertical );
|
|
|
|
|
colorgroup->setColumnLayout(0, TQt::Vertical );
|
|
|
|
|
colorgroup->layout()->setSpacing( 6 );
|
|
|
|
|
colorgroup->layout()->setMargin( 11 );
|
|
|
|
|
|
|
|
|
@ -292,7 +292,7 @@ TabCellDialog::TabCellDialog(TQWidget *parent, TabularCell::Data *data,
|
|
|
|
|
|
|
|
|
|
// alignment group
|
|
|
|
|
TQButtonGroup *aligngroup = new TQButtonGroup( i18n("Alignment"),page);
|
|
|
|
|
aligngroup->setColumnLayout(0, Qt::Vertical );
|
|
|
|
|
aligngroup->setColumnLayout(0, TQt::Vertical );
|
|
|
|
|
aligngroup->layout()->setSpacing( 6 );
|
|
|
|
|
aligngroup->layout()->setMargin( 11 );
|
|
|
|
|
|
|
|
|
@ -308,7 +308,7 @@ TabCellDialog::TabCellDialog(TQWidget *parent, TabularCell::Data *data,
|
|
|
|
|
|
|
|
|
|
// frame group
|
|
|
|
|
TQGroupBox *framegroup = new TQGroupBox( i18n("Frame"),page);
|
|
|
|
|
framegroup->setColumnLayout(0, Qt::Vertical );
|
|
|
|
|
framegroup->setColumnLayout(0, TQt::Vertical );
|
|
|
|
|
framegroup->layout()->setSpacing( 6 );
|
|
|
|
|
framegroup->layout()->setMargin( 11 );
|
|
|
|
|
|
|
|
|
@ -349,7 +349,7 @@ TabCellDialog::TabCellDialog(TQWidget *parent, TabularCell::Data *data,
|
|
|
|
|
|
|
|
|
|
// preamble group
|
|
|
|
|
TQGroupBox *preamblegroup = new TQGroupBox( i18n("Preamble"),page);
|
|
|
|
|
preamblegroup->setColumnLayout(0, Qt::Vertical );
|
|
|
|
|
preamblegroup->setColumnLayout(0, TQt::Vertical );
|
|
|
|
|
preamblegroup->layout()->setSpacing( 6 );
|
|
|
|
|
preamblegroup->layout()->setMargin( 11 );
|
|
|
|
|
|
|
|
|
@ -367,7 +367,7 @@ TabCellDialog::TabCellDialog(TQWidget *parent, TabularCell::Data *data,
|
|
|
|
|
|
|
|
|
|
// header group
|
|
|
|
|
TQGroupBox *headergroup = new TQGroupBox( i18n("Alignment"),page);
|
|
|
|
|
headergroup->setColumnLayout(0, Qt::Vertical );
|
|
|
|
|
headergroup->setColumnLayout(0, TQt::Vertical );
|
|
|
|
|
headergroup->layout()->setSpacing( 6 );
|
|
|
|
|
headergroup->layout()->setMargin( 11 );
|
|
|
|
|
|
|
|
|
@ -742,7 +742,7 @@ bool TabularTable::eventFilter(TQObject *o, TQEvent *e)
|
|
|
|
|
if ( e->type() == TQEvent::MouseButtonPress )
|
|
|
|
|
{
|
|
|
|
|
TQMouseEvent *me = TQT_TQMOUSEEVENT(e);
|
|
|
|
|
if ( me->button() == Qt::RightButton )
|
|
|
|
|
if ( me->button() == TQt::RightButton )
|
|
|
|
|
{
|
|
|
|
|
if ( o == horizontalHeader() )
|
|
|
|
|
{
|
|
|
|
@ -1849,7 +1849,7 @@ TabularDialog::TabularDialog(TQWidget *parent, TDEConfig *config, KileDocument::
|
|
|
|
|
|
|
|
|
|
// environment group
|
|
|
|
|
TQButtonGroup *group = new TQButtonGroup( i18n("Environment"),page);
|
|
|
|
|
group->setColumnLayout(0, Qt::Vertical );
|
|
|
|
|
group->setColumnLayout(0, TQt::Vertical );
|
|
|
|
|
group->layout()->setSpacing( 4 );
|
|
|
|
|
group->layout()->setMargin( 11 );
|
|
|
|
|
|
|
|
|
|