Edwin Leuven <e.leuven@uva.nl>

* entries in the combobox in the toolbar are not legible
* same for entries in the listview in the preferences dialog
* the color is not updated after changing it (i always change the murky pink color of lyx's background to white)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13387 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Abdelrazak Younes 2006-03-16 11:23:23 +00:00
parent 371dc18f22
commit e16b61096d
4 changed files with 12 additions and 8 deletions

View File

@ -1,3 +1,10 @@
2006-03-16 Edwin Leuven <e.leuven@uva.nl>
* entries in the combobox in the toolbar are not legible
* same for entries in the listview in the preferences dialog
* the color is not updated after changing it (i always change the
murky pink color of lyx's background to white)
2006-03-16 Abdelrazak Younes <younes.a@free.fr>
* fixed inset button grey colors.

View File

@ -80,16 +80,11 @@ Qt::ToolBarArea getToolBarPosition(ToolbarBackend::Flags const & flags)
QLayoutBox::QLayoutBox(QToolBar * toolbar, QtView & owner)
: owner_(owner)
{
QSizePolicy p(QSizePolicy::Minimum, QSizePolicy::Fixed);
combo_ = new QComboBox;
combo_->setSizePolicy(p);
combo_->setSizeAdjustPolicy(QComboBox::AdjustToContents);
combo_->setFocusPolicy(Qt::ClickFocus);
combo_->setMinimumWidth(combo_->sizeHint().width());
// QAction * action = new QAction(combo_, tr("Layout"), this);
// action->setToolTip(toqstr(tooltip));
// action->setStatusTip(toqstr(tooltip));
QObject::connect(combo_, SIGNAL(activated(const QString &)),
this, SLOT(selected(const QString &)));

View File

@ -895,7 +895,7 @@ void QPrefsDialog::change_color()
QColor c(QColorDialog::getColor(ci->color(), qApp->focusWidget() ? qApp->focusWidget() : qApp->mainWidget()));
if (c.isValid()) {
ci->color(c);
lb->update();
lb->triggerUpdate(false);
change_adaptor();
}
}

View File

@ -80,7 +80,9 @@ void PanelStack::addCategory(string const & n, string const & parent)
//it->second->addChild(item);
}
panel_map_[n] = item;
panel_map_[n] = item;
list_->setFixedWidth(list_->sizeHint().width());
/*
item->setFlags(false);
item->setOpen(true);