GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — ExtendedTableWidget: Always scroll per pixel horizonzally · feiva/sqlitebrowser@1c19def

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • src
    • ExtendedTableWidget.cpp
    • MainWindow.ui
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎src/ExtendedTableWidget.cpp‎

Copy file name to clipboardExpand all lines: src/ExtendedTableWidget.cpp
+2Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@
1010
ExtendedTableWidget::ExtendedTableWidget(QWidget* parent) :
1111
QTableView(parent)
1212
{
13+
setHorizontalScrollMode(ExtendedTableWidget::ScrollPerPixel);
14+
1315
connect(verticalScrollBar(), SIGNAL(valueChanged(int)), this, SLOT(vscrollbarChanged(int)));
1416
}
1517

Collapse file

‎src/MainWindow.ui‎

Copy file name to clipboardExpand all lines: src/MainWindow.ui
+1-7Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -185,12 +185,6 @@
185185
<property name="editTriggers">
186186
<set>QAbstractItemView::NoEditTriggers</set>
187187
</property>
188-
<property name="selectionMode">
189-
<enum>QAbstractItemView::ExtendedSelection</enum>
190-
</property>
191-
<property name="horizontalScrollMode">
192-
<enum>QAbstractItemView::ScrollPerPixel</enum>
193-
</property>
194188
</widget>
195189
</item>
196190
<item>
@@ -292,7 +286,7 @@
292286
<rect>
293287
<x>0</x>
294288
<y>0</y>
295-
<width>278</width>
289+
<width>763</width>
296290
<height>444</height>
297291
</rect>
298292
</property>

0 commit comments

Comments
0 (0)
You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.