Compare commits
No commits in common. "163c07f7b720d8a577fa1d64d0e9c2d6b57fcf13" and "86c94c6c75e1ff78846af1614f3b80f1ad71e184" have entirely different histories.
163c07f7b7
...
86c94c6c75
|
@ -160,7 +160,6 @@ FluScrollablePage{
|
||||||
onPositiveClicked:{
|
onPositiveClicked:{
|
||||||
showSuccess("点击确定按钮")
|
showSuccess("点击确定按钮")
|
||||||
}
|
}
|
||||||
}
|
|
||||||
dialog.open()'
|
dialog.open()'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -160,7 +160,6 @@ FluScrollablePage{
|
||||||
onPositiveClicked:{
|
onPositiveClicked:{
|
||||||
showSuccess("点击确定按钮")
|
showSuccess("点击确定按钮")
|
||||||
}
|
}
|
||||||
}
|
|
||||||
dialog.open()'
|
dialog.open()'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -192,7 +192,6 @@ void Log::setup(const QString &app,int level)
|
||||||
qInfo()<<"===================================================";
|
qInfo()<<"===================================================";
|
||||||
qInfo()<<"[AppName]"<<g_app;
|
qInfo()<<"[AppName]"<<g_app;
|
||||||
qInfo()<<"[AppVersion]"<<APPLICATION_VERSION;
|
qInfo()<<"[AppVersion]"<<APPLICATION_VERSION;
|
||||||
qInfo()<<"[QtVersion]"<<QT_VERSION_STR;
|
|
||||||
#ifdef WIN32
|
#ifdef WIN32
|
||||||
qInfo()<<"[ProcessId]"<<QString::number(_getpid());
|
qInfo()<<"[ProcessId]"<<QString::number(_getpid());
|
||||||
#else
|
#else
|
||||||
|
|
|
@ -532,13 +532,12 @@ Rectangle {
|
||||||
syncView: table_view
|
syncView: table_view
|
||||||
clip: true
|
clip: true
|
||||||
model: TableModel{
|
model: TableModel{
|
||||||
id:model_rows
|
TableModelColumn {}
|
||||||
TableModelColumn { display: "rowIndex" }
|
|
||||||
}
|
}
|
||||||
Connections{
|
Connections{
|
||||||
target: table_model
|
target: table_model
|
||||||
function onRowCountChanged(){
|
function onRowCountChanged(){
|
||||||
model_rows.rows = Array.from({length: table_model.rows.length}, (_, i) => ({rowIndex:i+1}));
|
header_vertical.model.rows = table_model.rows
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
onContentYChanged:{
|
onContentYChanged:{
|
||||||
|
@ -593,7 +592,7 @@ Rectangle {
|
||||||
FluText{
|
FluText{
|
||||||
id:row_text
|
id:row_text
|
||||||
anchors.centerIn: parent
|
anchors.centerIn: parent
|
||||||
text: model.display
|
text: row + 1
|
||||||
}
|
}
|
||||||
MouseArea{
|
MouseArea{
|
||||||
id:item_control_mouse
|
id:item_control_mouse
|
||||||
|
|
|
@ -533,13 +533,12 @@ Rectangle {
|
||||||
syncView: table_view
|
syncView: table_view
|
||||||
clip: true
|
clip: true
|
||||||
model: TableModel{
|
model: TableModel{
|
||||||
id:model_rows
|
TableModelColumn {}
|
||||||
TableModelColumn { display: "rowIndex" }
|
|
||||||
}
|
}
|
||||||
Connections{
|
Connections{
|
||||||
target: table_model
|
target: table_model
|
||||||
function onRowCountChanged(){
|
function onRowCountChanged(){
|
||||||
model_rows.rows = Array.from({length: table_model.rows.length}, (_, i) => ({rowIndex:i+1}));
|
header_vertical.model.rows = table_model.rows
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
onContentYChanged:{
|
onContentYChanged:{
|
||||||
|
@ -594,7 +593,7 @@ Rectangle {
|
||||||
FluText{
|
FluText{
|
||||||
id:row_text
|
id:row_text
|
||||||
anchors.centerIn: parent
|
anchors.centerIn: parent
|
||||||
text: model.display
|
text: row + 1
|
||||||
}
|
}
|
||||||
MouseArea{
|
MouseArea{
|
||||||
id:item_control_mouse
|
id:item_control_mouse
|
||||||
|
|
Loading…
Reference in New Issue