mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-22 16:37:28 +00:00
ProgressView quirks
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32756 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
f8a778b9da
commit
e4b3af5df5
@ -62,15 +62,17 @@ GuiProgressView::GuiProgressView(GuiView & parent, Qt::DockWidgetArea area,
|
||||
font.setFixedPitch(true);
|
||||
font.setStyleHint(QFont::TypeWriter);
|
||||
widget_->outTE->setFont(font);
|
||||
widget_->tabWidget->widget(0)->setContentsMargins(-5,-7,0,-7);
|
||||
widget_->tabWidget->widget(0)->setContentsMargins(-5, -7, 0, -7);
|
||||
|
||||
|
||||
// number of initial items in settings tab
|
||||
int shift = 3;
|
||||
const int levelCount = Debug::levelCount();
|
||||
for (int i = 1; i <= levelCount; i++) {
|
||||
for (int i = 0 ; i < levelCount; i++) {
|
||||
const Debug::Type level = Debug::value(i);
|
||||
LevelButton * box = new LevelButton(toqstr(Debug::description(level)));
|
||||
box->level = level;
|
||||
widget_->settingsLayout->addWidget(box,i%10,i/10);
|
||||
widget_->settingsLayout->addWidget(box, (i + shift) % 10, (i + shift) / 10);
|
||||
// TODO settings
|
||||
box->setChecked(false);
|
||||
level_buttons << box;
|
||||
|
@ -127,6 +127,23 @@
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="1" column="0" >
|
||||
<widget class="QCheckBox" name="sbarCB" >
|
||||
<property name="text" >
|
||||
<string>Statusbar messages</string>
|
||||
</property>
|
||||
<property name="checked" >
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="2" column="0" >
|
||||
<widget class="QLabel" name="label" >
|
||||
<property name="text" >
|
||||
<string>----- Debugging levels -----</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</item>
|
||||
</layout>
|
||||
|
Loading…
x
Reference in New Issue
Block a user