note:record new ques.
This commit is contained in:
179
.vscode/settings.json
vendored
179
.vscode/settings.json
vendored
@@ -1,37 +1,31 @@
|
|||||||
{
|
{
|
||||||
"files.autoSave": "onFocusChange",
|
"files.autoSave": "onFocusChange",
|
||||||
"editor.fontSize": 14,
|
"editor.fontSize": 14,
|
||||||
// "editor.fontFamily": "'Source Code Pro', 'Source Code Pro', 'Source Code Pro'",
|
|
||||||
"terminal.integrated.fontFamily": "Source Code Pro",
|
|
||||||
"cmake.configureOnOpen": true,
|
"cmake.configureOnOpen": true,
|
||||||
|
"editor.fontFamily": "'Maple Mono NL NF CN Light', 'Maple Mono NL NF CN Light', 'Maple Mono NL NF CN Light'",
|
||||||
"cmake.debugConfig": {
|
"cmake.debugConfig": {
|
||||||
"console": "integratedTerminal",
|
"console": "externalTerminal",
|
||||||
"setupCommands": [
|
"setupCommands": [
|
||||||
{
|
{
|
||||||
"description": "-gdb-set charset utf-8",
|
"description": "Enable pretty-printing for gdb",
|
||||||
"text": "-gdb-set charset UTF-8"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"description": "Enable gdb pretty-printing",
|
|
||||||
"text": "-enable-pretty-printing",
|
"text": "-enable-pretty-printing",
|
||||||
"ignoreFailures": true
|
"ignoreFailures": true
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"visualizerFile": "${workspaceRoot}/.vscode/qt5.natvis",
|
//"visualizerFile": "${workspaceRoot}/.vscode/qt6.natvis",
|
||||||
"args": ["127.0.0.1", "9009"]
|
"args": []
|
||||||
},
|
},
|
||||||
"cmake.configureArgs": [
|
|
||||||
"-Wno-dev"
|
|
||||||
],
|
|
||||||
"cmake.environment": {
|
"cmake.environment": {
|
||||||
"QT_LIB_ROOT": "C:/Qt/6.8.3",
|
//"EXTER_LIB_DIR": "C:/local"
|
||||||
"PATH": "${env:PATH};C:/Qt/6.8.3/bin"
|
|
||||||
},
|
},
|
||||||
"cmake.configureSettings": {
|
"cmake.configureSettings": {
|
||||||
"CMAKE_PREFIX_PATH": "${env:QT_LIB_ROOT}",
|
"CMAKE_PREFIX_PATH": "C:/msys64/ucrt64",
|
||||||
"QT_DEFAULT_MAJOR_VERSION": "6",
|
//"CMAKE_TOOLCHAIN_FILE": "${env:TT_VCPKG}"
|
||||||
"COMPILE_GUI": "ON"
|
|
||||||
},
|
},
|
||||||
|
"cmake.configureArgs": [
|
||||||
|
"-Wno-dev",
|
||||||
|
"-DCOMPILE_GUI=ON"
|
||||||
|
],
|
||||||
"cmake.options.statusBarVisibility": "visible",
|
"cmake.options.statusBarVisibility": "visible",
|
||||||
"cmake.generator": "Ninja",
|
"cmake.generator": "Ninja",
|
||||||
"C_Cpp.default.compileCommands": "${workspaceRoot}/build/compile_commands.json",
|
"C_Cpp.default.compileCommands": "${workspaceRoot}/build/compile_commands.json",
|
||||||
@@ -44,11 +38,11 @@
|
|||||||
"zh-hans": true
|
"zh-hans": true
|
||||||
},
|
},
|
||||||
"files.associations": {
|
"files.associations": {
|
||||||
"iostream": "cpp",
|
"string": "cpp",
|
||||||
"algorithm": "cpp",
|
|
||||||
"any": "cpp",
|
"any": "cpp",
|
||||||
"array": "cpp",
|
"array": "cpp",
|
||||||
"atomic": "cpp",
|
"atomic": "cpp",
|
||||||
|
"bit": "cpp",
|
||||||
"bitset": "cpp",
|
"bitset": "cpp",
|
||||||
"cctype": "cpp",
|
"cctype": "cpp",
|
||||||
"charconv": "cpp",
|
"charconv": "cpp",
|
||||||
@@ -56,9 +50,9 @@
|
|||||||
"clocale": "cpp",
|
"clocale": "cpp",
|
||||||
"cmath": "cpp",
|
"cmath": "cpp",
|
||||||
"codecvt": "cpp",
|
"codecvt": "cpp",
|
||||||
"complex": "cpp",
|
"compare": "cpp",
|
||||||
|
"concepts": "cpp",
|
||||||
"condition_variable": "cpp",
|
"condition_variable": "cpp",
|
||||||
"csignal": "cpp",
|
|
||||||
"cstdarg": "cpp",
|
"cstdarg": "cpp",
|
||||||
"cstddef": "cpp",
|
"cstddef": "cpp",
|
||||||
"cstdint": "cpp",
|
"cstdint": "cpp",
|
||||||
@@ -69,53 +63,57 @@
|
|||||||
"cwchar": "cpp",
|
"cwchar": "cpp",
|
||||||
"cwctype": "cpp",
|
"cwctype": "cpp",
|
||||||
"deque": "cpp",
|
"deque": "cpp",
|
||||||
"exception": "cpp",
|
|
||||||
"filesystem": "cpp",
|
|
||||||
"forward_list": "cpp",
|
"forward_list": "cpp",
|
||||||
"fstream": "cpp",
|
|
||||||
"functional": "cpp",
|
|
||||||
"future": "cpp",
|
|
||||||
"initializer_list": "cpp",
|
|
||||||
"iomanip": "cpp",
|
|
||||||
"ios": "cpp",
|
|
||||||
"iosfwd": "cpp",
|
|
||||||
"istream": "cpp",
|
|
||||||
"iterator": "cpp",
|
|
||||||
"limits": "cpp",
|
|
||||||
"list": "cpp",
|
"list": "cpp",
|
||||||
"locale": "cpp",
|
|
||||||
"map": "cpp",
|
"map": "cpp",
|
||||||
"memory": "cpp",
|
|
||||||
"mutex": "cpp",
|
|
||||||
"new": "cpp",
|
|
||||||
"numeric": "cpp",
|
|
||||||
"optional": "cpp",
|
|
||||||
"ostream": "cpp",
|
|
||||||
"queue": "cpp",
|
|
||||||
"random": "cpp",
|
|
||||||
"ratio": "cpp",
|
|
||||||
"regex": "cpp",
|
|
||||||
"set": "cpp",
|
"set": "cpp",
|
||||||
"shared_mutex": "cpp",
|
|
||||||
"sstream": "cpp",
|
|
||||||
"stack": "cpp",
|
|
||||||
"stdexcept": "cpp",
|
|
||||||
"streambuf": "cpp",
|
|
||||||
"string": "cpp",
|
|
||||||
"string_view": "cpp",
|
|
||||||
"system_error": "cpp",
|
|
||||||
"xthread": "cpp",
|
|
||||||
"thread": "cpp",
|
|
||||||
"tuple": "cpp",
|
|
||||||
"type_traits": "cpp",
|
|
||||||
"typeindex": "cpp",
|
|
||||||
"typeinfo": "cpp",
|
|
||||||
"unordered_map": "cpp",
|
"unordered_map": "cpp",
|
||||||
"unordered_set": "cpp",
|
"unordered_set": "cpp",
|
||||||
"utility": "cpp",
|
|
||||||
"valarray": "cpp",
|
|
||||||
"variant": "cpp",
|
|
||||||
"vector": "cpp",
|
"vector": "cpp",
|
||||||
|
"exception": "cpp",
|
||||||
|
"algorithm": "cpp",
|
||||||
|
"functional": "cpp",
|
||||||
|
"iterator": "cpp",
|
||||||
|
"memory": "cpp",
|
||||||
|
"memory_resource": "cpp",
|
||||||
|
"numeric": "cpp",
|
||||||
|
"optional": "cpp",
|
||||||
|
"random": "cpp",
|
||||||
|
"ratio": "cpp",
|
||||||
|
"source_location": "cpp",
|
||||||
|
"string_view": "cpp",
|
||||||
|
"system_error": "cpp",
|
||||||
|
"tuple": "cpp",
|
||||||
|
"type_traits": "cpp",
|
||||||
|
"utility": "cpp",
|
||||||
|
"format": "cpp",
|
||||||
|
"initializer_list": "cpp",
|
||||||
|
"iomanip": "cpp",
|
||||||
|
"iosfwd": "cpp",
|
||||||
|
"iostream": "cpp",
|
||||||
|
"istream": "cpp",
|
||||||
|
"limits": "cpp",
|
||||||
|
"mutex": "cpp",
|
||||||
|
"new": "cpp",
|
||||||
|
"numbers": "cpp",
|
||||||
|
"ostream": "cpp",
|
||||||
|
"queue": "cpp",
|
||||||
|
"ranges": "cpp",
|
||||||
|
"semaphore": "cpp",
|
||||||
|
"shared_mutex": "cpp",
|
||||||
|
"span": "cpp",
|
||||||
|
"sstream": "cpp",
|
||||||
|
"stdexcept": "cpp",
|
||||||
|
"stop_token": "cpp",
|
||||||
|
"streambuf": "cpp",
|
||||||
|
"text_encoding": "cpp",
|
||||||
|
"thread": "cpp",
|
||||||
|
"cfenv": "cpp",
|
||||||
|
"cinttypes": "cpp",
|
||||||
|
"typeinfo": "cpp",
|
||||||
|
"variant": "cpp",
|
||||||
|
"ios": "cpp",
|
||||||
|
"locale": "cpp",
|
||||||
"xfacet": "cpp",
|
"xfacet": "cpp",
|
||||||
"xhash": "cpp",
|
"xhash": "cpp",
|
||||||
"xiosbase": "cpp",
|
"xiosbase": "cpp",
|
||||||
@@ -127,39 +125,38 @@
|
|||||||
"xlocnum": "cpp",
|
"xlocnum": "cpp",
|
||||||
"xloctime": "cpp",
|
"xloctime": "cpp",
|
||||||
"xmemory": "cpp",
|
"xmemory": "cpp",
|
||||||
"xmemory0": "cpp",
|
|
||||||
"xstddef": "cpp",
|
|
||||||
"xstring": "cpp",
|
"xstring": "cpp",
|
||||||
"xtr1common": "cpp",
|
"xtr1common": "cpp",
|
||||||
"xtree": "cpp",
|
|
||||||
"xutility": "cpp",
|
"xutility": "cpp",
|
||||||
"bit": "cpp",
|
|
||||||
"compare": "cpp",
|
|
||||||
"concepts": "cpp",
|
|
||||||
"coroutine": "cpp",
|
"coroutine": "cpp",
|
||||||
"expected": "cpp",
|
"csignal": "cpp",
|
||||||
"memory_resource": "cpp",
|
"future": "cpp",
|
||||||
"source_location": "cpp",
|
|
||||||
"format": "cpp",
|
|
||||||
"numbers": "cpp",
|
|
||||||
"ranges": "cpp",
|
|
||||||
"semaphore": "cpp",
|
|
||||||
"span": "cpp",
|
|
||||||
"stop_token": "cpp",
|
|
||||||
"cinttypes": "cpp",
|
|
||||||
"stdfloat": "cpp",
|
"stdfloat": "cpp",
|
||||||
"resumable": "cpp",
|
"regex": "cpp",
|
||||||
"qtabwidget": "cpp",
|
"stack": "cpp",
|
||||||
"qtablewidget": "cpp",
|
"valarray": "cpp",
|
||||||
"qapplication": "cpp",
|
"filesystem": "cpp"
|
||||||
"text_encoding": "cpp",
|
},
|
||||||
"hash_map": "cpp",
|
"editor.tokenColorCustomizations": {
|
||||||
"qreadwritelock": "cpp",
|
"textMateRules": [
|
||||||
"qdatastream": "cpp",
|
{
|
||||||
"qhostaddress": "cpp",
|
"scope": "googletest.failed",
|
||||||
"qthread": "cpp",
|
"settings": {
|
||||||
"qobject": "cpp",
|
"foreground": "#f00"
|
||||||
"qregularexpression": "cpp",
|
}
|
||||||
"qstring": "cpp"
|
},
|
||||||
|
{
|
||||||
|
"scope": "googletest.passed",
|
||||||
|
"settings": {
|
||||||
|
"foreground": "#0f0"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"scope": "googletest.run",
|
||||||
|
"settings": {
|
||||||
|
"foreground": "#0f0"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -37,7 +37,7 @@ if(DEFINED XP_PLATFORM_SUPPORT)
|
|||||||
message(STATUS "Support Windows XP platform => ${XP_PLATFORM_SUPPORT}.")
|
message(STATUS "Support Windows XP platform => ${XP_PLATFORM_SUPPORT}.")
|
||||||
add_definitions(-D_WIN32_WINNT=0x0501)
|
add_definitions(-D_WIN32_WINNT=0x0501)
|
||||||
else()
|
else()
|
||||||
add_definitions(-D_WIN32_WINNT=0x0601)
|
#add_definitions(-D_WIN32_WINNT=0x0601)
|
||||||
endif()
|
endif()
|
||||||
set(QT_DEP_FILES
|
set(QT_DEP_FILES
|
||||||
"${CMAKE_PREFIX_PATH}/bin/Qt${QT_DEFAULT_MAJOR_VERSION}Core.dll"
|
"${CMAKE_PREFIX_PATH}/bin/Qt${QT_DEFAULT_MAJOR_VERSION}Core.dll"
|
||||||
|
|||||||
@@ -26,7 +26,12 @@ void CpTableWidget::dropEvent(QDropEvent* event)
|
|||||||
QByteArray encoded = event->mimeData()->data("application/x-qabstractitemmodeldatalist");
|
QByteArray encoded = event->mimeData()->data("application/x-qabstractitemmodeldatalist");
|
||||||
QDataStream stream(&encoded, QIODevice::ReadOnly);
|
QDataStream stream(&encoded, QIODevice::ReadOnly);
|
||||||
|
|
||||||
|
#if QT_VERSION >= QT_VERSION_CHECK(6, 0, 0)
|
||||||
|
QPoint pos = event->position().toPoint();
|
||||||
|
#else
|
||||||
QPoint pos = event->pos();
|
QPoint pos = event->pos();
|
||||||
|
#endif
|
||||||
|
|
||||||
int startRow = rowAt(pos.y());
|
int startRow = rowAt(pos.y());
|
||||||
int startCol = columnAt(pos.x());
|
int startCol = columnAt(pos.x());
|
||||||
if (startCol != 1 && startCol != 2) {
|
if (startCol != 1 && startCol != 2) {
|
||||||
|
|||||||
@@ -18,7 +18,7 @@ int main(int argc, char* argv[])
|
|||||||
QFont font("Microsoft YaHei", 9);
|
QFont font("Microsoft YaHei", 9);
|
||||||
a.setFont(font);
|
a.setFont(font);
|
||||||
// a.setStyle("fusion");
|
// a.setStyle("fusion");
|
||||||
a.setStyle("windows");
|
// a.setStyle("windows");
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
qInstallMessageHandler(frelayGUI::ControlMsgHander);
|
qInstallMessageHandler(frelayGUI::ControlMsgHander);
|
||||||
|
|||||||
@@ -11,6 +11,8 @@
|
|||||||
|
|
||||||
| 序号 | 类型 | 内容 | 说明 | 基于版本 | 完成版本 |
|
| 序号 | 类型 | 内容 | 说明 | 基于版本 | 完成版本 |
|
||||||
| :--: | :--: | ------------------------------------------------------------ | :--: | :------: | :------: |
|
| :--: | :--: | ------------------------------------------------------------ | :--: | :------: | :------: |
|
||||||
|
| 20 | | | | | |
|
||||||
|
| 19 | 问题 | 客户之间心跳包,被动/主动失联后断开,清除相关内容,终止相关任务。 | | 0.2.2 | |
|
||||||
| 18 | 问题 | 断开后重连貌似没有发送心跳包。 | | 0.1 | 0.2 |
|
| 18 | 问题 | 断开后重连貌似没有发送心跳包。 | | 0.1 | 0.2 |
|
||||||
| 17 | 问题 | 服务端主动踢出的客户端,主动重连假链接,不可用无反应。 | | 0.1 | 0.2 |
|
| 17 | 问题 | 服务端主动踢出的客户端,主动重连假链接,不可用无反应。 | | 0.1 | 0.2 |
|
||||||
| 16 | 优化 | 传输完成后接收端要刷新一次。 | | 0.1 | |
|
| 16 | 优化 | 传输完成后接收端要刷新一次。 | | 0.1 | |
|
||||||
|
|||||||
Reference in New Issue
Block a user