Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
colorEagleStdio
taskbus
提交
adaecd59
taskbus
项目概览
colorEagleStdio
/
taskbus
通知
166
Star
12
Fork
6
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
taskbus
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
adaecd59
编写于
11月 04, 2022
作者:
丁劲犇
😸
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
加入文档系统。文档系统使用markdown,允许各个模块通过三种方式提供文档。
1. 可执行.md 2. 可执行.exe.md 3. 可执行.documents/index.md 文档可以包括图片和链接。
上级
df1f92bc
变更
12
显示空白变更内容
内联
并排
Showing
12 changed file
with
282 addition
and
61 deletion
+282
-61
taskbusplatform/CMakeLists.txt
taskbusplatform/CMakeLists.txt
+3
-0
taskbusplatform/gui/dlgabout.cpp
taskbusplatform/gui/dlgabout.cpp
+3
-2
taskbusplatform/gui/handbookview.cpp
taskbusplatform/gui/handbookview.cpp
+41
-0
taskbusplatform/gui/handbookview.h
taskbusplatform/gui/handbookview.h
+23
-0
taskbusplatform/gui/handbookview.ui
taskbusplatform/gui/handbookview.ui
+63
-0
taskbusplatform/gui/taskbusplatformfrm.cpp
taskbusplatform/gui/taskbusplatformfrm.cpp
+65
-14
taskbusplatform/gui/taskbusplatformfrm.h
taskbusplatform/gui/taskbusplatformfrm.h
+3
-0
taskbusplatform/gui/taskbusplatformfrm.ui
taskbusplatform/gui/taskbusplatformfrm.ui
+7
-10
taskbusplatform/gui/taskbusplatformfrm_project.cpp
taskbusplatform/gui/taskbusplatformfrm_project.cpp
+2
-2
taskbusplatform/taskBusPlatform_zh_CN.qm
taskbusplatform/taskBusPlatform_zh_CN.qm
+0
-0
taskbusplatform/taskBusPlatform_zh_CN.ts
taskbusplatform/taskBusPlatform_zh_CN.ts
+69
-33
taskbusplatform/taskbusplatform.pro
taskbusplatform/taskbusplatform.pro
+3
-0
未找到文件。
taskbusplatform/CMakeLists.txt
浏览文件 @
adaecd59
...
@@ -52,6 +52,7 @@ set(PRJ_HEADERS_CORE
...
@@ -52,6 +52,7 @@ set(PRJ_HEADERS_CORE
)
)
set
(
PRJ_HEADERS_GUI
set
(
PRJ_HEADERS_GUI
gui/taskbusplatformfrm.h
gui/taskbusplatformfrm.h
gui/handbookview.h
gui/pdesignerview.h
gui/pdesignerview.h
gui/taskmodule.h
gui/taskmodule.h
gui/tgraphicstaskitem.h
gui/tgraphicstaskitem.h
...
@@ -72,6 +73,7 @@ set(PRJ_SOURCES_GUI
...
@@ -72,6 +73,7 @@ set(PRJ_SOURCES_GUI
gui/taskbusplatformfrm_project.cpp
gui/taskbusplatformfrm_project.cpp
gui/dlgabout.cpp
gui/dlgabout.cpp
gui/pdesignerview.cpp
gui/pdesignerview.cpp
gui/handbookview.cpp
gui/taskmodule.cpp
gui/taskmodule.cpp
gui/tgraphicstaskitem.cpp
gui/tgraphicstaskitem.cpp
gui/custom_item_editor.cpp
gui/custom_item_editor.cpp
...
@@ -79,6 +81,7 @@ set(PRJ_SOURCES_GUI
...
@@ -79,6 +81,7 @@ set(PRJ_SOURCES_GUI
)
)
set
(
PRJ_FORMS
set
(
PRJ_FORMS
gui/taskbusplatformfrm.ui
gui/taskbusplatformfrm.ui
gui/handbookview.ui
gui/pdesignerview.ui
gui/pdesignerview.ui
gui/dlgabout.ui
gui/dlgabout.ui
...
...
taskbusplatform/gui/dlgabout.cpp
浏览文件 @
adaecd59
#
include
"dlgabout.h"
#
include
"dlgabout.h"
#include "ui_dlgabout.h"
#include "ui_dlgabout.h"
#include <QUrl>
#include <QUrl>
#include <QDateTime>
DlgAbout
::
DlgAbout
(
QWidget
*
parent
)
:
DlgAbout
::
DlgAbout
(
QWidget
*
parent
)
:
QDialog
(
parent
),
QDialog
(
parent
),
ui
(
new
Ui
::
DlgAbout
)
ui
(
new
Ui
::
DlgAbout
)
{
{
ui
->
setupUi
(
this
);
ui
->
setupUi
(
this
);
ui
->
textBrowser_About
->
ui
->
textBrowser_About
->
setText
(
"Taskbus is a cross-platform"
setText
(
tr
(
"Taskbus is a cross-platform"
" multi-process cooperation framework for non-professional "
" multi-process cooperation framework for non-professional "
"developers, with four features of process based, "
"developers, with four features of process based, "
"language independent, compiler independent, and architecture Independent.
\n
"
"language independent, compiler independent, and architecture Independent.
\n
"
"by
goldenhawking@163.com, Colored Eagle Studio, 2016,2017,2018,2019"
);
"by
Colored Eagle Studio, 2016~%1"
).
arg
(
QDateTime
::
currentDateTime
().
date
().
year
())
);
}
}
DlgAbout
::~
DlgAbout
()
DlgAbout
::~
DlgAbout
()
...
...
taskbusplatform/gui/handbookview.cpp
0 → 100644
浏览文件 @
adaecd59
#include "handbookview.h"
#include "ui_handbookview.h"
HandbookView
::
HandbookView
(
QWidget
*
parent
)
:
QWidget
(
parent
),
ui
(
new
Ui
::
HandbookView
)
{
ui
->
setupUi
(
this
);
connect
(
ui
->
textBrowser_help
,
&
QTextBrowser
::
backwardAvailable
,
ui
->
pushButton_backward
,
&
QPushButton
::
setEnabled
);
connect
(
ui
->
textBrowser_help
,
&
QTextBrowser
::
forwardAvailable
,
ui
->
pushButton_forward
,
&
QPushButton
::
setEnabled
);
connect
(
ui
->
pushButton_forward
,
&
QPushButton
::
pressed
,
ui
->
textBrowser_help
,
&
QTextBrowser
::
forward
);
connect
(
ui
->
pushButton_backward
,
&
QPushButton
::
pressed
,
ui
->
textBrowser_help
,
&
QTextBrowser
::
backward
);
connect
(
ui
->
textBrowser_help
,
&
QTextBrowser
::
sourceChanged
,[
&
](
QUrl
u
){
ui
->
lineEdit_url
->
setText
(
u
.
toDisplayString
());
});
}
HandbookView
::~
HandbookView
()
{
delete
ui
;
}
void
HandbookView
::
setUrl
(
QString
urlstr
,
QString
FailedString
)
{
if
(
urlstr
.
length
())
{
QUrl
u
=
QUrl
::
fromLocalFile
(
urlstr
);
ui
->
textBrowser_help
->
setSource
(
u
,
QTextDocument
::
MarkdownResource
);
}
else
{
ui
->
textBrowser_help
->
setMarkdown
(
"# Documents Does NOT Exist
\r\n\r\n
"
"You can write documents with markdown in any place below:
\r\n\r\n
"
+
FailedString
);
}
}
taskbusplatform/gui/handbookview.h
0 → 100644
浏览文件 @
adaecd59
#ifndef HANDBOOKVIEW_H
#define HANDBOOKVIEW_H
#include <QWidget>
namespace
Ui
{
class
HandbookView
;
}
class
HandbookView
:
public
QWidget
{
Q_OBJECT
public:
explicit
HandbookView
(
QWidget
*
parent
=
nullptr
);
~
HandbookView
();
public:
void
setUrl
(
QString
urlstr
,
QString
FailedString
=
""
);
private:
Ui
::
HandbookView
*
ui
;
};
#endif // HANDBOOKVIEW_H
taskbusplatform/gui/handbookview.ui
0 → 100644
浏览文件 @
adaecd59
<?xml version="1.0" encoding="UTF-8"?>
<ui
version=
"4.0"
>
<class>
HandbookView
</class>
<widget
class=
"QWidget"
name=
"HandbookView"
>
<property
name=
"geometry"
>
<rect>
<x>
0
</x>
<y>
0
</y>
<width>
640
</width>
<height>
480
</height>
</rect>
</property>
<property
name=
"windowTitle"
>
<string>
Form
</string>
</property>
<layout
class=
"QVBoxLayout"
name=
"verticalLayout"
>
<item>
<layout
class=
"QHBoxLayout"
name=
"horizontalLayout"
>
<item>
<widget
class=
"QPushButton"
name=
"pushButton_backward"
>
<property
name=
"text"
>
<string>
Backward
</string>
</property>
</widget>
</item>
<item>
<widget
class=
"QPushButton"
name=
"pushButton_forward"
>
<property
name=
"text"
>
<string>
Forward
</string>
</property>
</widget>
</item>
<item>
<widget
class=
"QLabel"
name=
"label"
>
<property
name=
"text"
>
<string>
URL
</string>
</property>
</widget>
</item>
<item>
<widget
class=
"QLineEdit"
name=
"lineEdit_url"
>
<property
name=
"readOnly"
>
<bool>
true
</bool>
</property>
</widget>
</item>
</layout>
</item>
<item>
<widget
class=
"QTextBrowser"
name=
"textBrowser_help"
>
<property
name=
"autoFormatting"
>
<set>
QTextEdit::AutoNone
</set>
</property>
<property
name=
"openExternalLinks"
>
<bool>
true
</bool>
</property>
</widget>
</item>
</layout>
</widget>
<resources/>
<connections/>
</ui>
taskbusplatform/gui/taskbusplatformfrm.cpp
浏览文件 @
adaecd59
...
@@ -10,6 +10,7 @@
...
@@ -10,6 +10,7 @@
#include <QSettings>
#include <QSettings>
#include <QDateTime>
#include <QDateTime>
#include "pdesignerview.h"
#include "pdesignerview.h"
#include "handbookview.h"
#include "watchdog/tbwatchdog.h"
#include "watchdog/tbwatchdog.h"
#include "dlgabout.h"
#include "dlgabout.h"
...
@@ -323,23 +324,21 @@ void taskBusPlatformFrm::on_actionhideWindow_toggled(bool arg1)
...
@@ -323,23 +324,21 @@ void taskBusPlatformFrm::on_actionhideWindow_toggled(bool arg1)
void
taskBusPlatformFrm
::
on_listView_modules_doubleClicked
(
const
QModelIndex
&
index
)
void
taskBusPlatformFrm
::
on_listView_modules_doubleClicked
(
const
QModelIndex
&
index
)
{
{
QMdiSubWindow
*
sub
=
ui
->
mdiArea
->
activeSubWindow
();
if
(
sub
)
{
PDesignerView
*
dv
=
qobject_cast
<
PDesignerView
*>
(
sub
->
widget
());
if
(
dv
)
{
if
(
ui
->
listView_modules
->
model
())
if
(
ui
->
listView_modules
->
model
())
{
{
QModelIndexList
lst
;
taskModule
*
mod
=
qobject_cast
<
taskModule
*>
(
ui
->
listView_modules
->
model
());
lst
<<
index
;
if
(
!
mod
)
QMimeData
*
d
=
ui
->
listView_modules
->
model
()
->
mimeData
(
lst
);
return
;
if
(
d
)
int
r
=
index
.
row
();
dv
->
addCell
(
d
);
QStringList
functions
=
mod
->
function_names
();
}
if
(
r
<
0
||
r
>=
functions
.
size
())
return
;
QString
func
=
functions
.
at
(
r
);
QString
exe
=
mod
->
function_exec
(
func
);
load_doucment
(
func
,
exe
);
}
}
}
}
}
void
taskBusPlatformFrm
::
on_checkBox_showCmd_stateChanged
(
int
/*arg1*/
)
void
taskBusPlatformFrm
::
on_checkBox_showCmd_stateChanged
(
int
/*arg1*/
)
...
@@ -358,3 +357,55 @@ void taskBusPlatformFrm::slot_cmd_show(QMap<QString,QVariant> cmd)
...
@@ -358,3 +357,55 @@ void taskBusPlatformFrm::slot_cmd_show(QMap<QString,QVariant> cmd)
m_pCmdViewModel
->
removeRows
(
0
,
m_pCmdViewModel
->
rowCount
()
-
keepRows
);
m_pCmdViewModel
->
removeRows
(
0
,
m_pCmdViewModel
->
rowCount
()
-
keepRows
);
ui
->
listView_commands
->
scrollToBottom
();
ui
->
listView_commands
->
scrollToBottom
();
}
}
void
taskBusPlatformFrm
::
load_doucment
(
QString
func
,
QString
exe
)
{
//OpenDocuments
QFileInfo
info
(
exe
);
QString
baseName
=
info
.
path
()
+
"/"
+
info
.
completeBaseName
();
QString
urlstr
;
QString
FailedString
;
FailedString
+=
exe
+
".md"
+
"
\n\n
"
;
FailedString
+=
baseName
+
".md"
+
"
\n\n
"
;
FailedString
+=
baseName
+
".documents/index.md"
+
"
\n\n
"
;
if
(
QFileInfo
::
exists
(
exe
+
".md"
))
urlstr
=
exe
+
".md"
;
else
if
(
QFileInfo
::
exists
(
baseName
+
".md"
))
urlstr
=
baseName
+
".md"
;
else
if
(
QFileInfo
::
exists
(
baseName
+
".documents/index.md"
))
urlstr
=
baseName
+
".documents/index.md"
;
QList
<
QMdiSubWindow
*>
AllSubWnds
=
ui
->
mdiArea
->
subWindowList
();
QString
title
=
tr
(
"DOC:"
)
+
func
;
//Find existing window
QMdiSubWindow
*
wnd
=
nullptr
;
foreach
(
QMdiSubWindow
*
w
,
AllSubWnds
)
{
if
(
w
->
windowTitle
()
==
title
)
{
wnd
=
w
;
ui
->
mdiArea
->
setActiveSubWindow
(
w
);
break
;
}
}
if
(
!
wnd
)
{
HandbookView
*
view
=
new
HandbookView
(
this
);
if
(
view
)
{
view
->
setWindowTitle
(
title
);
wnd
=
ui
->
mdiArea
->
addSubWindow
(
view
);
view
->
show
();
view
->
setUrl
(
urlstr
,
FailedString
);
wnd
->
setWindowTitle
(
title
);
}
}
}
void
taskBusPlatformFrm
::
on_action_Help_triggered
()
{
load_doucment
(
"taskBus"
,
QCoreApplication
::
applicationFilePath
());
}
taskbusplatform/gui/taskbusplatformfrm.h
浏览文件 @
adaecd59
...
@@ -43,6 +43,8 @@ private slots:
...
@@ -43,6 +43,8 @@ private slots:
void
on_listView_modules_doubleClicked
(
const
QModelIndex
&
index
);
void
on_listView_modules_doubleClicked
(
const
QModelIndex
&
index
);
void
on_checkBox_showCmd_stateChanged
(
int
arg1
);
void
on_checkBox_showCmd_stateChanged
(
int
arg1
);
void
on_action_Help_triggered
();
signals:
signals:
void
showSplash
(
QString
msg
,
Qt
::
Alignment
,
QColor
);
void
showSplash
(
QString
msg
,
Qt
::
Alignment
,
QColor
);
void
hideSplash
();
void
hideSplash
();
...
@@ -51,6 +53,7 @@ protected:
...
@@ -51,6 +53,7 @@ protected:
void
closeEvent
(
QCloseEvent
*
event
)
override
;
void
closeEvent
(
QCloseEvent
*
event
)
override
;
void
load_modules
(
QStringList
lstNames
);
void
load_modules
(
QStringList
lstNames
);
void
save_default_modules
();
void
save_default_modules
();
void
load_doucment
(
QString
func
,
QString
exeFile
);
private:
private:
Ui
::
taskBus
*
ui
;
Ui
::
taskBus
*
ui
;
QSystemTrayIcon
*
m_pTrayIcon
=
nullptr
;
QSystemTrayIcon
*
m_pTrayIcon
=
nullptr
;
...
...
taskbusplatform/gui/taskbusplatformfrm.ui
浏览文件 @
adaecd59
...
@@ -90,7 +90,7 @@
...
@@ -90,7 +90,7 @@
<x>
0
</x>
<x>
0
</x>
<y>
0
</y>
<y>
0
</y>
<width>
800
</width>
<width>
800
</width>
<height>
2
5
</height>
<height>
2
2
</height>
</rect>
</rect>
</property>
</property>
<widget
class=
"QMenu"
name=
"menu_Application"
>
<widget
class=
"QMenu"
name=
"menu_Application"
>
...
@@ -125,6 +125,7 @@
...
@@ -125,6 +125,7 @@
<string>
&
Help
</string>
<string>
&
Help
</string>
</property>
</property>
<addaction
name=
"action_About"
/>
<addaction
name=
"action_About"
/>
<addaction
name=
"action_Help"
/>
</widget>
</widget>
<addaction
name=
"menu_Moudles"
/>
<addaction
name=
"menu_Moudles"
/>
<addaction
name=
"menu_Application"
/>
<addaction
name=
"menu_Application"
/>
...
@@ -172,9 +173,6 @@
...
@@ -172,9 +173,6 @@
<height>
524287
</height>
<height>
524287
</height>
</size>
</size>
</property>
</property>
<property
name=
"features"
>
<set>
QDockWidget::AllDockWidgetFeatures
</set>
</property>
<property
name=
"windowTitle"
>
<property
name=
"windowTitle"
>
<string>
Mod
&
ules
</string>
<string>
Mod
&
ules
</string>
</property>
</property>
...
@@ -251,9 +249,6 @@
...
@@ -251,9 +249,6 @@
<height>
103
</height>
<height>
103
</height>
</size>
</size>
</property>
</property>
<property
name=
"features"
>
<set>
QDockWidget::AllDockWidgetFeatures
</set>
</property>
<property
name=
"windowTitle"
>
<property
name=
"windowTitle"
>
<string>
P
&
roperties
</string>
<string>
P
&
roperties
</string>
</property>
</property>
...
@@ -317,9 +312,6 @@
...
@@ -317,9 +312,6 @@
<property
name=
"floating"
>
<property
name=
"floating"
>
<bool>
false
</bool>
<bool>
false
</bool>
</property>
</property>
<property
name=
"features"
>
<set>
QDockWidget::AllDockWidgetFeatures
</set>
</property>
<property
name=
"windowTitle"
>
<property
name=
"windowTitle"
>
<string>
Messa
&
ges
</string>
<string>
Messa
&
ges
</string>
</property>
</property>
...
@@ -545,6 +537,11 @@
...
@@ -545,6 +537,11 @@
<string>
Save Project
&
As...
</string>
<string>
Save Project
&
As...
</string>
</property>
</property>
</action>
</action>
<action
name=
"action_Help"
>
<property
name=
"text"
>
<string>
&
Help
</string>
</property>
</action>
<zorder>
dockWidget_message
</zorder>
<zorder>
dockWidget_message
</zorder>
<zorder>
dockWidget_watch
</zorder>
<zorder>
dockWidget_watch
</zorder>
<zorder>
dockWidget_cmd
</zorder>
<zorder>
dockWidget_cmd
</zorder>
...
...
taskbusplatform/gui/taskbusplatformfrm_project.cpp
浏览文件 @
adaecd59
...
@@ -36,9 +36,9 @@ void taskBusPlatformFrm::on_action_Save_Project_triggered()
...
@@ -36,9 +36,9 @@ void taskBusPlatformFrm::on_action_Save_Project_triggered()
if
(
sub
)
if
(
sub
)
{
{
PDesignerView
*
dv
=
qobject_cast
<
PDesignerView
*>
(
sub
->
widget
());
PDesignerView
*
dv
=
qobject_cast
<
PDesignerView
*>
(
sub
->
widget
());
QString
oldfm
=
dv
->
fullFileName
();
if
(
dv
)
if
(
dv
)
{
{
QString
oldfm
=
dv
->
fullFileName
();
QSettings
settings
(
inifile
(),
QSettings
::
IniFormat
);
QSettings
settings
(
inifile
(),
QSettings
::
IniFormat
);
QString
strLastModuleDir
=
settings
.
value
(
"history/strLastSaveDir"
,
"./"
).
toString
();
QString
strLastModuleDir
=
settings
.
value
(
"history/strLastSaveDir"
,
"./"
).
toString
();
QString
dirstr
=
strLastModuleDir
;
QString
dirstr
=
strLastModuleDir
;
...
@@ -89,9 +89,9 @@ void taskBusPlatformFrm::on_action_Save_Project_As_triggered()
...
@@ -89,9 +89,9 @@ void taskBusPlatformFrm::on_action_Save_Project_As_triggered()
if
(
sub
)
if
(
sub
)
{
{
PDesignerView
*
dv
=
qobject_cast
<
PDesignerView
*>
(
sub
->
widget
());
PDesignerView
*
dv
=
qobject_cast
<
PDesignerView
*>
(
sub
->
widget
());
QString
oldfm
=
dv
->
fullFileName
();
if
(
dv
)
if
(
dv
)
{
{
QString
oldfm
=
dv
->
fullFileName
();
QSettings
settings
(
inifile
(),
QSettings
::
IniFormat
);
QSettings
settings
(
inifile
(),
QSettings
::
IniFormat
);
QString
strLastModuleDir
=
settings
.
value
(
"history/strLastSaveDir"
,
"./"
).
toString
();
QString
strLastModuleDir
=
settings
.
value
(
"history/strLastSaveDir"
,
"./"
).
toString
();
QString
dirstr
=
strLastModuleDir
;
QString
dirstr
=
strLastModuleDir
;
...
...
taskbusplatform/taskBusPlatform_zh_CN.qm
浏览文件 @
adaecd59
无法预览此类型文件
taskbusplatform/taskBusPlatform_zh_CN.ts
浏览文件 @
adaecd59
...
@@ -26,6 +26,13 @@
...
@@ -26,6 +26,13 @@
<
source
>&
amp
;
Close
<
/source
>
<
source
>&
amp
;
Close
<
/source
>
<
translation
>
关闭
(
&
amp
;
C
)
<
/translation
>
<
translation
>
关闭
(
&
amp
;
C
)
<
/translation
>
<
/message
>
<
/message
>
<
message
>
<
location
filename
=
"
gui/dlgabout.cpp
"
line
=
"
11
"
/>
<
source
>
Taskbus
is
a
cross
-
platform
multi
-
process
cooperation
framework
for
non
-
professional
developers
,
with
four
features
of
process
based
,
language
independent
,
compiler
independent
,
and
architecture
Independent
.
by
Colored
Eagle
Studio
,
2016
~%
1
<
/source
>
<
translation
>
taskBus
是一个为非计算机专业开发者进行敏捷开发准备的跨平台多进程合作框架
。
它具有四个特点
:
基于多进程
、
语言无关
、
编译器无关
、
架构无关
。
彩鹰工作室
,
2016
~%
1
<
/translation
>
<
/message
>
<
/context
>
<
/context
>
<
context
>
<
context
>
<
name
>
FormStatus
<
/name
>
<
name
>
FormStatus
<
/name
>
...
@@ -36,6 +43,29 @@
...
@@ -36,6 +43,29 @@
<
translation
>
窗体
<
/translation
>
<
translation
>
窗体
<
/translation
>
<
/message
>
<
/message
>
<
/context
>
<
/context
>
<
context
>
<
name
>
HandbookView
<
/name
>
<
message
>
<
location
filename
=
"
gui/handbookview.ui
"
line
=
"
14
"
/>
<
source
>
Form
<
/source
>
<
translation
>
窗体
<
/translation
>
<
/message
>
<
message
>
<
location
filename
=
"
gui/handbookview.ui
"
line
=
"
22
"
/>
<
source
>
Backward
<
/source
>
<
translation
>
回退
<
/translation
>
<
/message
>
<
message
>
<
location
filename
=
"
gui/handbookview.ui
"
line
=
"
29
"
/>
<
source
>
Forward
<
/source
>
<
translation
>
前进
<
/translation
>
<
/message
>
<
message
>
<
location
filename
=
"
gui/handbookview.ui
"
line
=
"
36
"
/>
<
source
>
URL
<
/source
>
<
translation
>
网址
<
/translation
>
<
/message
>
<
/context
>
<
context
>
<
context
>
<
name
>
PDesignerView
<
/name
>
<
name
>
PDesignerView
<
/name
>
<
message
>
<
message
>
...
@@ -408,96 +438,97 @@
...
@@ -408,96 +438,97 @@
<
/message
>
<
/message
>
<
message
>
<
message
>
<
location
filename
=
"
gui/taskbusplatformfrm.ui
"
line
=
"
125
"
/>
<
location
filename
=
"
gui/taskbusplatformfrm.ui
"
line
=
"
125
"
/>
<
location
filename
=
"
gui/taskbusplatformfrm.ui
"
line
=
"
542
"
/>
<
source
>&
amp
;
Help
<
/source
>
<
source
>&
amp
;
Help
<
/source
>
<
translation
>
帮助
(
&
amp
;
H
)
<
/translation
>
<
translation
>
帮助
(
&
amp
;
H
)
<
/translation
>
<
/message
>
<
/message
>
<
message
>
<
message
>
<
location
filename
=
"
gui/taskbusplatformfrm.ui
"
line
=
"
13
6
"
/>
<
location
filename
=
"
gui/taskbusplatformfrm.ui
"
line
=
"
13
7
"
/>
<
source
>
General
<
/source
>
<
source
>
General
<
/source
>
<
translatorcomment
>
通用
<
/translatorcomment
>
<
translatorcomment
>
通用
<
/translatorcomment
>
<
translation
><
/translation
>
<
translation
><
/translation
>
<
/message
>
<
/message
>
<
message
>
<
message
>
<
location
filename
=
"
gui/taskbusplatformfrm.ui
"
line
=
"
17
9
"
/>
<
location
filename
=
"
gui/taskbusplatformfrm.ui
"
line
=
"
17
7
"
/>
<
source
>
Mod
&
amp
;
ules
<
/source
>
<
source
>
Mod
&
amp
;
ules
<
/source
>
<
oldsource
>
Modules
<
/oldsource
>
<
oldsource
>
Modules
<
/oldsource
>
<
translation
>
模块
(
&
amp
;
u
)
<
/translation
>
<
translation
>
模块
(
&
amp
;
u
)
<
/translation
>
<
/message
>
<
/message
>
<
message
>
<
message
>
<
location
filename
=
"
gui/taskbusplatformfrm.ui
"
line
=
"
25
8
"
/>
<
location
filename
=
"
gui/taskbusplatformfrm.ui
"
line
=
"
25
3
"
/>
<
source
>
P
&
amp
;
roperties
<
/source
>
<
source
>
P
&
amp
;
roperties
<
/source
>
<
oldsource
>
Properties
<
/oldsource
>
<
oldsource
>
Properties
<
/oldsource
>
<
translation
>
属性
(
&
amp
;
R
)
<
/translation
>
<
translation
>
属性
(
&
amp
;
R
)
<
/translation
>
<
/message
>
<
/message
>
<
message
>
<
message
>
<
location
filename
=
"
gui/taskbusplatformfrm.ui
"
line
=
"
3
24
"
/>
<
location
filename
=
"
gui/taskbusplatformfrm.ui
"
line
=
"
3
16
"
/>
<
source
>
Messa
&
amp
;
ges
<
/source
>
<
source
>
Messa
&
amp
;
ges
<
/source
>
<
oldsource
>
Messages
<
/oldsource
>
<
oldsource
>
Messages
<
/oldsource
>
<
translation
>
消息
(
&
amp
;
G
)
<
/translation
>
<
translation
>
消息
(
&
amp
;
G
)
<
/translation
>
<
/message
>
<
/message
>
<
message
>
<
message
>
<
location
filename
=
"
gui/taskbusplatformfrm.ui
"
line
=
"
3
67
"
/>
<
location
filename
=
"
gui/taskbusplatformfrm.ui
"
line
=
"
3
59
"
/>
<
source
>
Status
<
/source
>
<
source
>
Status
<
/source
>
<
translation
>
状态
<
/translation
>
<
translation
>
状态
<
/translation
>
<
/message
>
<
/message
>
<
message
>
<
message
>
<
location
filename
=
"
gui/taskbusplatformfrm.ui
"
line
=
"
3
97
"
/>
<
location
filename
=
"
gui/taskbusplatformfrm.ui
"
line
=
"
3
89
"
/>
<
source
>
comma
&
amp
;
nds
<
/source
>
<
source
>
comma
&
amp
;
nds
<
/source
>
<
translation
>
指令
(
&
amp
;
n
)
<
/translation
>
<
translation
>
指令
(
&
amp
;
n
)
<
/translation
>
<
/message
>
<
/message
>
<
message
>
<
message
>
<
location
filename
=
"
gui/taskbusplatformfrm.ui
"
line
=
"
4
32
"
/>
<
location
filename
=
"
gui/taskbusplatformfrm.ui
"
line
=
"
4
24
"
/>
<
source
>
Show
<
/source
>
<
source
>
Show
<
/source
>
<
translation
>
显示
<
/translation
>
<
translation
>
显示
<
/translation
>
<
/message
>
<
/message
>
<
message
>
<
message
>
<
location
filename
=
"
gui/taskbusplatformfrm.ui
"
line
=
"
4
45
"
/>
<
location
filename
=
"
gui/taskbusplatformfrm.ui
"
line
=
"
4
37
"
/>
<
source
>&
amp
;
Exit
<
/source
>
<
source
>&
amp
;
Exit
<
/source
>
<
translation
>
退出
(
&
amp
;
e
)
<
/translation
>
<
translation
>
退出
(
&
amp
;
e
)
<
/translation
>
<
/message
>
<
/message
>
<
message
>
<
message
>
<
location
filename
=
"
gui/taskbusplatformfrm.ui
"
line
=
"
44
8
"
/>
<
location
filename
=
"
gui/taskbusplatformfrm.ui
"
line
=
"
44
0
"
/>
<
source
>
Exit
from
this
application
.
<
/source
>
<
source
>
Exit
from
this
application
.
<
/source
>
<
translation
>
退出当前程序
。
<
/translation
>
<
translation
>
退出当前程序
。
<
/translation
>
<
/message
>
<
/message
>
<
message
>
<
message
>
<
location
filename
=
"
gui/taskbusplatformfrm.ui
"
line
=
"
4
57
"
/>
<
location
filename
=
"
gui/taskbusplatformfrm.ui
"
line
=
"
4
49
"
/>
<
source
>&
amp
;
Load
Module
<
/source
>
<
source
>&
amp
;
Load
Module
<
/source
>
<
translation
>
载入模块
(
&
amp
;
L
)
<
/translation
>
<
translation
>
载入模块
(
&
amp
;
L
)
<
/translation
>
<
/message
>
<
/message
>
<
message
>
<
message
>
<
location
filename
=
"
gui/taskbusplatformfrm.ui
"
line
=
"
4
60
"
/>
<
location
filename
=
"
gui/taskbusplatformfrm.ui
"
line
=
"
4
52
"
/>
<
source
>
Load
a
module
executable
file
from
disk
.
<
/source
>
<
source
>
Load
a
module
executable
file
from
disk
.
<
/source
>
<
translation
>
从磁盘的可执行文件模块载入元数据
。
<
/translation
>
<
translation
>
从磁盘的可执行文件模块载入元数据
。
<
/translation
>
<
/message
>
<
/message
>
<
message
>
<
message
>
<
location
filename
=
"
gui/taskbusplatformfrm.ui
"
line
=
"
4
72
"
/>
<
location
filename
=
"
gui/taskbusplatformfrm.ui
"
line
=
"
4
64
"
/>
<
source
>
Start
&
amp
;
project
<
/source
>
<
source
>
Start
&
amp
;
project
<
/source
>
<
oldsource
>&
amp
;
Start
project
<
/oldsource
>
<
oldsource
>&
amp
;
Start
project
<
/oldsource
>
<
translation
>
执行
(
&
amp
;
P
)
<
/translation
>
<
translation
>
执行
(
&
amp
;
P
)
<
/translation
>
<
/message
>
<
/message
>
<
message
>
<
message
>
<
location
filename
=
"
gui/taskbusplatformfrm.ui
"
line
=
"
4
75
"
/>
<
location
filename
=
"
gui/taskbusplatformfrm.ui
"
line
=
"
4
67
"
/>
<
source
>
Start
current
project
.
<
/source
>
<
source
>
Start
current
project
.
<
/source
>
<
translation
>
执行当前工程
。
<
/translation
>
<
translation
>
执行当前工程
。
<
/translation
>
<
/message
>
<
/message
>
<
message
>
<
message
>
<
location
filename
=
"
gui/taskbusplatformfrm.ui
"
line
=
"
4
84
"
/>
<
location
filename
=
"
gui/taskbusplatformfrm.ui
"
line
=
"
4
76
"
/>
<
source
>&
amp
;
New
Project
<
/source
>
<
source
>&
amp
;
New
Project
<
/source
>
<
translation
>
新建工程
(
&
amp
;
N
)
<
/translation
>
<
translation
>
新建工程
(
&
amp
;
N
)
<
/translation
>
<
/message
>
<
/message
>
<
message
>
<
message
>
<
location
filename
=
"
gui/taskbusplatformfrm.ui
"
line
=
"
4
87
"
/>
<
location
filename
=
"
gui/taskbusplatformfrm.ui
"
line
=
"
4
79
"
/>
<
source
>
Create
New
Project
<
/source
>
<
source
>
Create
New
Project
<
/source
>
<
translation
>
建立新工程
<
/translation
>
<
translation
>
建立新工程
<
/translation
>
<
/message
>
<
/message
>
<
message
>
<
message
>
<
location
filename
=
"
gui/taskbusplatformfrm.ui
"
line
=
"
5
37
"
/>
<
location
filename
=
"
gui/taskbusplatformfrm.ui
"
line
=
"
5
29
"
/>
<
source
>&
amp
;
Hide
<
/source
>
<
source
>&
amp
;
Hide
<
/source
>
<
translation
>
隐藏
(
&
amp
;
H
)
<
/translation
>
<
translation
>
隐藏
(
&
amp
;
H
)
<
/translation
>
<
/message
>
<
/message
>
<
message
>
<
message
>
<
location
filename
=
"
gui/taskbusplatformfrm.ui
"
line
=
"
5
45
"
/>
<
location
filename
=
"
gui/taskbusplatformfrm.ui
"
line
=
"
5
37
"
/>
<
source
>
Save
Project
&
amp
;
As
...
<
/source
>
<
source
>
Save
Project
&
amp
;
As
...
<
/source
>
<
translation
>
工程另存为
(
&
amp
;
A
)...
<
/translation
>
<
translation
>
工程另存为
(
&
amp
;
A
)...
<
/translation
>
<
/message
>
<
/message
>
...
@@ -523,27 +554,27 @@
...
@@ -523,27 +554,27 @@
<
translation
type
=
"
vanished
"
>
显示
/
隐藏属性窗口
<
/translation
>
<
translation
type
=
"
vanished
"
>
显示
/
隐藏属性窗口
<
/translation
>
<
/message
>
<
/message
>
<
message
>
<
message
>
<
location
filename
=
"
gui/taskbusplatformfrm.ui
"
line
=
"
4
96
"
/>
<
location
filename
=
"
gui/taskbusplatformfrm.ui
"
line
=
"
4
88
"
/>
<
source
>&
amp
;
Open
Project
<
/source
>
<
source
>&
amp
;
Open
Project
<
/source
>
<
translation
>
打开工程
(
&
amp
;
O
)
<
/translation
>
<
translation
>
打开工程
(
&
amp
;
O
)
<
/translation
>
<
/message
>
<
/message
>
<
message
>
<
message
>
<
location
filename
=
"
gui/taskbusplatformfrm.ui
"
line
=
"
505
"
/>
<
location
filename
=
"
gui/taskbusplatformfrm.ui
"
line
=
"
497
"
/>
<
source
>&
amp
;
Save
Project
<
/source
>
<
source
>&
amp
;
Save
Project
<
/source
>
<
translation
>
保存工程
(
&
amp
;
S
)
<
/translation
>
<
translation
>
保存工程
(
&
amp
;
S
)
<
/translation
>
<
/message
>
<
/message
>
<
message
>
<
message
>
<
location
filename
=
"
gui/taskbusplatformfrm.ui
"
line
=
"
5
10
"
/>
<
location
filename
=
"
gui/taskbusplatformfrm.ui
"
line
=
"
5
02
"
/>
<
source
>&
amp
;
About
<
/source
>
<
source
>&
amp
;
About
<
/source
>
<
translation
>
关于
(
&
amp
;
A
)
<
/translation
>
<
translation
>
关于
(
&
amp
;
A
)
<
/translation
>
<
/message
>
<
/message
>
<
message
>
<
message
>
<
location
filename
=
"
gui/taskbusplatformfrm.ui
"
line
=
"
5
22
"
/>
<
location
filename
=
"
gui/taskbusplatformfrm.ui
"
line
=
"
5
14
"
/>
<
source
>
S
&
amp
;
top
project
<
/source
>
<
source
>
S
&
amp
;
top
project
<
/source
>
<
translation
>
终止运行
(
&
amp
;
T
)
<
/translation
>
<
translation
>
终止运行
(
&
amp
;
T
)
<
/translation
>
<
/message
>
<
/message
>
<
message
>
<
message
>
<
location
filename
=
"
gui/taskbusplatformfrm.ui
"
line
=
"
5
25
"
/>
<
location
filename
=
"
gui/taskbusplatformfrm.ui
"
line
=
"
5
17
"
/>
<
source
>
stop
current
project
<
/source
>
<
source
>
stop
current
project
<
/source
>
<
translation
>
停止执行当前工程
<
/translation
>
<
translation
>
停止执行当前工程
<
/translation
>
<
/message
>
<
/message
>
...
@@ -556,7 +587,7 @@
...
@@ -556,7 +587,7 @@
<
translation
type
=
"
vanished
"
>
隐藏至任务栏图标
(
&
amp
;
h
)
<
/translation
>
<
translation
type
=
"
vanished
"
>
隐藏至任务栏图标
(
&
amp
;
h
)
<
/translation
>
<
/message
>
<
/message
>
<
message
>
<
message
>
<
location
filename
=
"
gui/taskbusplatformfrm.ui
"
line
=
"
5
40
"
/>
<
location
filename
=
"
gui/taskbusplatformfrm.ui
"
line
=
"
5
32
"
/>
<
source
>
hide
window
and
show
tray
icon
<
/source
>
<
source
>
hide
window
and
show
tray
icon
<
/source
>
<
translation
>
把主界面隐藏起来
,
到状态栏图标里
<
/translation
>
<
translation
>
把主界面隐藏起来
,
到状态栏图标里
<
/translation
>
<
/message
>
<
/message
>
...
@@ -568,19 +599,19 @@
...
@@ -568,19 +599,19 @@
<
context
>
<
context
>
<
name
>
taskBusPlatformFrm
<
/name
>
<
name
>
taskBusPlatformFrm
<
/name
>
<
message
>
<
message
>
<
location
filename
=
"
gui/taskbusplatformfrm.cpp
"
line
=
"
29
"
/>
<
location
filename
=
"
gui/taskbusplatformfrm.cpp
"
line
=
"
30
"
/>
<
location
filename
=
"
gui/taskbusplatformfrm.cpp
"
line
=
"
30
"
/>
<
location
filename
=
"
gui/taskbusplatformfrm.cpp
"
line
=
"
33
"
/>
<
location
filename
=
"
gui/taskbusplatformfrm.cpp
"
line
=
"
31
"
/>
<
location
filename
=
"
gui/taskbusplatformfrm.cpp
"
line
=
"
34
"
/>
<
source
>
All
<
/source
>
<
source
>
All
<
/source
>
<
translation
>
所有
<
/translation
>
<
translation
>
所有
<
/translation
>
<
/message
>
<
/message
>
<
message
>
<
message
>
<
location
filename
=
"
gui/taskbusplatformfrm.cpp
"
line
=
"
19
0
"
/>
<
location
filename
=
"
gui/taskbusplatformfrm.cpp
"
line
=
"
19
1
"
/>
<
source
>
Init
Modules
...
<
/source
>
<
source
>
Init
Modules
...
<
/source
>
<
translation
>
初始化
...
<
/translation
>
<
translation
>
初始化
...
<
/translation
>
<
/message
>
<
/message
>
<
message
>
<
message
>
<
location
filename
=
"
gui/taskbusplatformfrm.cpp
"
line
=
"
19
0
"
/>
<
location
filename
=
"
gui/taskbusplatformfrm.cpp
"
line
=
"
19
1
"
/>
<
source
>
Init
modules
from
default_mods
.
text
<
/source
>
<
source
>
Init
modules
from
default_mods
.
text
<
/source
>
<
translation
>
正在从
default_mods
.
text
加载模块
<
/translation
>
<
translation
>
正在从
default_mods
.
text
加载模块
<
/translation
>
<
/message
>
<
/message
>
...
@@ -589,35 +620,40 @@
...
@@ -589,35 +620,40 @@
<
translation
type
=
"
vanished
"
>
进程总线工作室
<
/translation
>
<
translation
type
=
"
vanished
"
>
进程总线工作室
<
/translation
>
<
/message
>
<
/message
>
<
message
>
<
message
>
<
location
filename
=
"
gui/taskbusplatformfrm.cpp
"
line
=
"
19
2
"
/>
<
location
filename
=
"
gui/taskbusplatformfrm.cpp
"
line
=
"
19
3
"
/>
<
source
>
Succeed
.
<
/source
>
<
source
>
Succeed
.
<
/source
>
<
translation
>
成功
。
<
/translation
>
<
translation
>
成功
。
<
/translation
>
<
/message
>
<
/message
>
<
message
>
<
message
>
<
location
filename
=
"
gui/taskbusplatformfrm.cpp
"
line
=
"
19
2
"
/>
<
location
filename
=
"
gui/taskbusplatformfrm.cpp
"
line
=
"
19
3
"
/>
<
source
>
Init
modules
from
default_mods
.
text
succeed
!<
/source
>
<
source
>
Init
modules
from
default_mods
.
text
succeed
!<
/source
>
<
translation
>
成功从default_mods
.
text加载模块
!
<
/translation
>
<
translation
>
成功从default_mods
.
text加载模块
!
<
/translation
>
<
/message
>
<
/message
>
<
message
>
<
message
>
<
location
filename
=
"
gui/taskbusplatformfrm.cpp
"
line
=
"
29
6
"
/>
<
location
filename
=
"
gui/taskbusplatformfrm.cpp
"
line
=
"
29
7
"
/>
<
source
>
Still
running
<
/source
>
<
source
>
Still
running
<
/source
>
<
translation
>
项目仍在运行中
<
/translation
>
<
translation
>
项目仍在运行中
<
/translation
>
<
/message
>
<
/message
>
<
message
>
<
message
>
<
location
filename
=
"
gui/taskbusplatformfrm.cpp
"
line
=
"
29
6
"
/>
<
location
filename
=
"
gui/taskbusplatformfrm.cpp
"
line
=
"
29
7
"
/>
<
source
>
Project
is
still
running
,
please
stop
all
projects
first
.
<
/source
>
<
source
>
Project
is
still
running
,
please
stop
all
projects
first
.
<
/source
>
<
translation
>
项目仍在运行
,
请先关闭后再退出
。
<
/translation
>
<
translation
>
项目仍在运行
,
请先关闭后再退出
。
<
/translation
>
<
/message
>
<
/message
>
<
message
>
<
message
>
<
location
filename
=
"
gui/taskbusplatformfrm.cpp
"
line
=
"
30
2
"
/>
<
location
filename
=
"
gui/taskbusplatformfrm.cpp
"
line
=
"
30
3
"
/>
<
source
>
Close
without
saving
?
<
/source
>
<
source
>
Close
without
saving
?
<
/source
>
<
translation
>
不保存就关闭吗
?
<
/translation
>
<
translation
>
不保存就关闭吗
?
<
/translation
>
<
/message
>
<
/message
>
<
message
>
<
message
>
<
location
filename
=
"
gui/taskbusplatformfrm.cpp
"
line
=
"
30
2
"
/>
<
location
filename
=
"
gui/taskbusplatformfrm.cpp
"
line
=
"
30
3
"
/>
<
source
>
Project
has
been
modified
,
Close
it
anyway
?
<
/source
>
<
source
>
Project
has
been
modified
,
Close
it
anyway
?
<
/source
>
<
translation
>
项目已经编辑了
,
是否不保存就继续关闭
?
<
/translation
>
<
translation
>
项目已经编辑了
,
是否不保存就继续关闭
?
<
/translation
>
<
/message
>
<
/message
>
<
message
>
<
location
filename
=
"
gui/taskbusplatformfrm.cpp
"
line
=
"
380
"
/>
<
source
>
DOC
:
<
/source
>
<
translation
>
文档
:
<
/translation
>
<
/message
>
<
message
>
<
message
>
<
source
>
Save
?
<
/source
>
<
source
>
Save
?
<
/source
>
<
translation
type
=
"
vanished
"
>
保存
?
<
/translation
>
<
translation
type
=
"
vanished
"
>
保存
?
<
/translation
>
...
...
taskbusplatform/taskbusplatform.pro
浏览文件 @
adaecd59
...
@@ -54,6 +54,7 @@ SOURCES += \
...
@@ -54,6 +54,7 @@ SOURCES += \
gui
/
dlgabout
.
cpp
\
gui
/
dlgabout
.
cpp
\
gui
/
main
.
cpp
\
gui
/
main
.
cpp
\
gui
/
pdesignerview
.
cpp
\
gui
/
pdesignerview
.
cpp
\
gui
/
handbookview
.
cpp
\
gui
/
taskmodule
.
cpp
\
gui
/
taskmodule
.
cpp
\
gui
/
tgraphicstaskitem
.
cpp
\
gui
/
tgraphicstaskitem
.
cpp
\
core
/
process_prctl
.
cpp
\
core
/
process_prctl
.
cpp
\
...
@@ -66,6 +67,7 @@ HEADERS += \
...
@@ -66,6 +67,7 @@ HEADERS += \
core
/
tasknode
.
h
\
core
/
tasknode
.
h
\
core
/
taskcell
.
h
\
core
/
taskcell
.
h
\
core
/
taskproject
.
h
\
core
/
taskproject
.
h
\
gui
/
handbookview
.
h
\
gui
/
taskbusplatformfrm
.
h
\
gui
/
taskbusplatformfrm
.
h
\
gui
/
pdesignerview
.
h
\
gui
/
pdesignerview
.
h
\
gui
/
taskmodule
.
h
\
gui
/
taskmodule
.
h
\
...
@@ -82,6 +84,7 @@ HEADERS += \
...
@@ -82,6 +84,7 @@ HEADERS += \
FORMS
+=
\
FORMS
+=
\
gui
/
taskbusplatformfrm
.
ui
\
gui
/
taskbusplatformfrm
.
ui
\
gui
/
handbookview
.
ui
\
gui
/
pdesignerview
.
ui
\
gui
/
pdesignerview
.
ui
\
gui
/
dlgabout
.
ui
gui
/
dlgabout
.
ui
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录