Skip to content

Commit

Permalink
gps list
Browse files Browse the repository at this point in the history
  • Loading branch information
ic005k committed Feb 16, 2025
1 parent c64c7e5 commit 433d360
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
1 change: 1 addition & 0 deletions src/MainWindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@ void MainWindow::importDataDone() {

on_tabWidget_currentChanged(tabData->currentIndex());

m_Steps->clearAllGpsList();
m_Steps->loadGpsList(QDate::currentDate().year(),
QDate::currentDate().month());
m_Steps->curMonthTotal();
Expand Down
7 changes: 5 additions & 2 deletions src/MainWindow.ui
Original file line number Diff line number Diff line change
Expand Up @@ -3998,11 +3998,14 @@ QSlider::handle:horizontal:disabled {
<layout class="QVBoxLayout" name="verticalLayout_12">
<item>
<widget class="QTabWidget" name="tabMotion">
<property name="styleSheet">
<string notr="true"/>
</property>
<property name="tabPosition">
<enum>QTabWidget::South</enum>
</property>
<property name="currentIndex">
<number>1</number>
<number>2</number>
</property>
<widget class="QWidget" name="tab_Steps">
<attribute name="title">
Expand Down Expand Up @@ -4553,7 +4556,7 @@ QSlider::handle:horizontal:disabled {
<item>
<widget class="QToolButton" name="btnBackSteps">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
Expand Down
4 changes: 2 additions & 2 deletions src/qmlsrc/gps_list.qml
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ Rectangle {
wrapMode: TextArea.WordWrap
font.bold: false
text: text2
color: "blue"
color: "red"

//color: listItem.ListView.isCurrentItem ? "black" : getFontColor()
leftPadding: 5
Expand Down Expand Up @@ -322,7 +322,7 @@ Rectangle {
font.bold: false
text: text4

color: "red"
color: "blue"

// color: listItem.ListView.isCurrentItem ? "black" : getFontColor()
leftPadding: 5
Expand Down

0 comments on commit 433d360

Please sign in to comment.