Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1230694 > unrolled thread
| Started by | Thiago Macieira <thiago.macieira@intel.com> |
|---|---|
| First post | 2015-09-22 20:40 +0200 |
| Last post | 2015-09-22 20:40 +0200 |
| Articles | 1 — 1 participant |
Back to article view | Back to linux.kernel
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
[PATCH 31/39] Port xconfig to Qt5 - Add horizontal scrollbar, and scroll per pixel. Thiago Macieira <thiago.macieira@intel.com> - 2015-09-22 20:40 +0200
| From | Thiago Macieira <thiago.macieira@intel.com> |
|---|---|
| Date | 2015-09-22 20:40 +0200 |
| Subject | [PATCH 31/39] Port xconfig to Qt5 - Add horizontal scrollbar, and scroll per pixel. |
| Message-ID | <qbADT-561-1@gated-at.bofh.it> |
From: Boris Barbulovski <bbarbulovski@gmail.com>
Signed-off-by: Boris Barbulovski <bbarbulovski@gmail.com>
Signed-off-by: Thiago Macieira <thiago.macieira@intel.com>
---
scripts/kconfig/qconf.cc | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/scripts/kconfig/qconf.cc b/scripts/kconfig/qconf.cc
index e5bfa6b..2ef06c1 100644
--- a/scripts/kconfig/qconf.cc
+++ b/scripts/kconfig/qconf.cc
@@ -318,6 +318,9 @@ ConfigList::ConfigList(ConfigView* p, const char *name)
setSortingEnabled(false);
setRootIsDecorated(true);
+ setVerticalScrollMode(ScrollPerPixel);
+ setHorizontalScrollMode(ScrollPerPixel);
+
setHeaderLabels(QStringList() << _("Option") << _("Name") << "N" << "M" << "Y" << _("Value"));
connect(this, SIGNAL(itemSelectionChanged(void)),
@@ -453,11 +456,13 @@ void ConfigList::updateList(ConfigItem* item)
updateMenuList(item, rootEntry);
update();
+ resizeColumnToContents(0);
return;
}
update:
updateMenuList(this, rootEntry);
update();
+ resizeColumnToContents(0);
}
void ConfigList::setValue(ConfigItem* item, tristate val)
--
2.1.4
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Back to top | Article view | linux.kernel
csiph-web