mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-12 11:32:21 +00:00
Fix some small Tabular UI glitches
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27604 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
6192345f60
commit
4c1c676e35
@ -91,7 +91,7 @@ GuiTabular::GuiTabular(GuiView & lv)
|
|||||||
connect(lastfooterBorderBelowCB, SIGNAL(clicked()), this, SLOT(ltLastFooterBorderBelow_clicked()));
|
connect(lastfooterBorderBelowCB, SIGNAL(clicked()), this, SLOT(ltLastFooterBorderBelow_clicked()));
|
||||||
connect(lastfooterNoContentsCB, SIGNAL(clicked()), this, SLOT(ltLastFooterEmpty_clicked()));
|
connect(lastfooterNoContentsCB, SIGNAL(clicked()), this, SLOT(ltLastFooterEmpty_clicked()));
|
||||||
connect(specialAlignmentED, SIGNAL(returnPressed()), this, SLOT(specialAlignment_changed()));
|
connect(specialAlignmentED, SIGNAL(returnPressed()), this, SLOT(specialAlignment_changed()));
|
||||||
connect(widthED, SIGNAL(returnPressed()), this, SLOT(width_changed()));
|
connect(widthED, SIGNAL(editingFinished()), this, SLOT(width_changed()));
|
||||||
connect(widthUnit, SIGNAL(selectionChanged(lyx::Length::UNIT)), this, SLOT(width_changed()));
|
connect(widthUnit, SIGNAL(selectionChanged(lyx::Length::UNIT)), this, SLOT(width_changed()));
|
||||||
connect(closePB, SIGNAL(clicked()), this, SLOT(close_clicked()));
|
connect(closePB, SIGNAL(clicked()), this, SLOT(close_clicked()));
|
||||||
connect(borders, SIGNAL(topSet(bool)), this, SLOT(topBorder_changed()));
|
connect(borders, SIGNAL(topSet(bool)), this, SLOT(topBorder_changed()));
|
||||||
@ -102,9 +102,8 @@ GuiTabular::GuiTabular(GuiView & lv)
|
|||||||
connect(rotateCellCB, SIGNAL(clicked()), this, SLOT(rotateCell()));
|
connect(rotateCellCB, SIGNAL(clicked()), this, SLOT(rotateCell()));
|
||||||
connect(longTabularCB, SIGNAL(clicked()), this, SLOT(longTabular()));
|
connect(longTabularCB, SIGNAL(clicked()), this, SLOT(longTabular()));
|
||||||
|
|
||||||
bc().setPolicy(ButtonPolicy::NoRepeatedApplyReadOnlyPolicy);
|
bc().setPolicy(ButtonPolicy::IgnorantPolicy);
|
||||||
bc().setCancel(closePB);
|
|
||||||
|
|
||||||
bc().addReadOnly(topspaceED);
|
bc().addReadOnly(topspaceED);
|
||||||
bc().addReadOnly(topspaceUnit);
|
bc().addReadOnly(topspaceUnit);
|
||||||
bc().addReadOnly(topspaceCO);
|
bc().addReadOnly(topspaceCO);
|
||||||
@ -751,11 +750,11 @@ void GuiTabular::updateContents()
|
|||||||
valign = 2;
|
valign = 2;
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
valign = 1;
|
valign = 0;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
if (pwidth.zero())
|
if (pwidth.zero())
|
||||||
valign = 1;
|
valign = 0;
|
||||||
vAlignCB->setCurrentIndex(valign);
|
vAlignCB->setCurrentIndex(valign);
|
||||||
|
|
||||||
hAlignCB->setEnabled(true);
|
hAlignCB->setEnabled(true);
|
||||||
|
Loading…
Reference in New Issue
Block a user