mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-07 12:32:26 +00:00
Correct naming
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29230 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
a9ffac3052
commit
0f77509d23
@ -679,7 +679,7 @@ GuiDocument::GuiDocument(GuiView & lv)
|
|||||||
this, SLOT(change_adaptor()));
|
this, SLOT(change_adaptor()));
|
||||||
connect(pageLayoutModule->pagestyleCO, SIGNAL(activated(int)),
|
connect(pageLayoutModule->pagestyleCO, SIGNAL(activated(int)),
|
||||||
this, SLOT(change_adaptor()));
|
this, SLOT(change_adaptor()));
|
||||||
connect(pageLayoutModule->backgroundTB, SIGNAL(clicked()),
|
connect(pageLayoutModule->backgroundPB, SIGNAL(clicked()),
|
||||||
this, SLOT(changeBackgroundColor()));
|
this, SLOT(changeBackgroundColor()));
|
||||||
connect(pageLayoutModule->delbackgroundTB, SIGNAL(clicked()),
|
connect(pageLayoutModule->delbackgroundTB, SIGNAL(clicked()),
|
||||||
this, SLOT(deleteBackgroundColor()));
|
this, SLOT(deleteBackgroundColor()));
|
||||||
@ -1194,7 +1194,7 @@ void GuiDocument::changeBackgroundColor()
|
|||||||
if (!newColor.isValid())
|
if (!newColor.isValid())
|
||||||
return;
|
return;
|
||||||
// set the button color
|
// set the button color
|
||||||
pageLayoutModule->backgroundTB->setStyleSheet(
|
pageLayoutModule->backgroundPB->setStyleSheet(
|
||||||
colorButtonStyleSheet(newColor));
|
colorButtonStyleSheet(newColor));
|
||||||
// save color
|
// save color
|
||||||
set_backgroundcolor = rgbFromHexName(fromqstr(newColor.name()));
|
set_backgroundcolor = rgbFromHexName(fromqstr(newColor.name()));
|
||||||
@ -1205,7 +1205,7 @@ void GuiDocument::changeBackgroundColor()
|
|||||||
void GuiDocument::deleteBackgroundColor()
|
void GuiDocument::deleteBackgroundColor()
|
||||||
{
|
{
|
||||||
// set the button color back to white
|
// set the button color back to white
|
||||||
pageLayoutModule->backgroundTB->setStyleSheet(
|
pageLayoutModule->backgroundPB->setStyleSheet(
|
||||||
colorButtonStyleSheet(QColor(Qt::white)));
|
colorButtonStyleSheet(QColor(Qt::white)));
|
||||||
// save white as the set color
|
// save white as the set color
|
||||||
set_backgroundcolor = rgbFromHexName("#ffffff");
|
set_backgroundcolor = rgbFromHexName("#ffffff");
|
||||||
@ -2316,7 +2316,7 @@ void GuiDocument::paramsToDialog()
|
|||||||
pageLayoutModule->facingPagesCB->setChecked(
|
pageLayoutModule->facingPagesCB->setChecked(
|
||||||
bp_.sides == TwoSides);
|
bp_.sides == TwoSides);
|
||||||
|
|
||||||
pageLayoutModule->backgroundTB->setStyleSheet(
|
pageLayoutModule->backgroundPB->setStyleSheet(
|
||||||
colorButtonStyleSheet(rgb2qcolor(bp_.backgroundcolor)));
|
colorButtonStyleSheet(rgb2qcolor(bp_.backgroundcolor)));
|
||||||
set_backgroundcolor = bp_.backgroundcolor;
|
set_backgroundcolor = bp_.backgroundcolor;
|
||||||
|
|
||||||
|
@ -281,7 +281,7 @@
|
|||||||
<item row="9" column="5" colspan="2" >
|
<item row="9" column="5" colspan="2" >
|
||||||
<layout class="QHBoxLayout" name="horizontalLayout_2" >
|
<layout class="QHBoxLayout" name="horizontalLayout_2" >
|
||||||
<item>
|
<item>
|
||||||
<widget class="QPushButton" name="backgroundTB" >
|
<widget class="QPushButton" name="backgroundPB" >
|
||||||
<property name="text" >
|
<property name="text" >
|
||||||
<string/>
|
<string/>
|
||||||
</property>
|
</property>
|
||||||
|
Loading…
Reference in New Issue
Block a user