mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
* update dialog when changing lyx display settings.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15715 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
c52014f2ff
commit
555c1e1cde
@ -219,10 +219,8 @@ void QGraphics::update_contents()
|
||||
case graphics::NoDisplay: item = 0; break;
|
||||
}
|
||||
dialog_->showCB->setCurrentIndex(item);
|
||||
dialog_->showCB->setEnabled(igp.display != graphics::NoDisplay && !readOnly());
|
||||
dialog_->displayGB->setChecked(igp.display != graphics::NoDisplay);
|
||||
dialog_->displayscale->setEnabled(igp.display != graphics::NoDisplay && !readOnly());
|
||||
dialog_->displayscale->setText(toqstr(convert<string>(igp.lyxscale)));
|
||||
dialog_->displayGB->setChecked(igp.display != graphics::NoDisplay);
|
||||
|
||||
// the output section (width/height)
|
||||
dialog_->Scale->setText(toqstr(igp.scale));
|
||||
|
@ -57,6 +57,8 @@ QGraphicsDialog::QGraphicsDialog(QGraphics * form)
|
||||
this, SLOT( change_adaptor() ) );
|
||||
connect(clip, SIGNAL( stateChanged(int) ),
|
||||
this, SLOT( change_adaptor() ) );
|
||||
connect(displayGB, SIGNAL( toggled(bool) ),
|
||||
this, SLOT( change_adaptor() ) );
|
||||
connect(showCB, SIGNAL( currentIndexChanged(int) ),
|
||||
this, SLOT( change_adaptor() ) );
|
||||
connect(displayscale, SIGNAL( textChanged(const QString&) ),
|
||||
|
Loading…
Reference in New Issue
Block a user