[App Sharing] dde-calendar 桌面日历挂件 内测
Tofloor
default avatar
jzc
deepin
2021-05-28 13:58
Author

dde-calendar 桌面日历挂件

显示最近7天日程安排的桌面挂件,用户在日历软件中修改日程安排,数据会自动同步到桌面挂件上。软件扩展了一些新的用法。

挂件的界面分为三个部分:

  1. 上方的日期切换栏
  2. 中间的任务列表区域
  3. 下方的功能按钮

日期切换栏:单选按钮组合,根据当前选择的时间段切换任务列表中的内容。

enum DisplayInfo {
    Warn = -1,  // 过去三天的所有任务
    Home = 0,   // 最近占用日的任务 + 过去三天未完成的任务 + 未来6天的提醒任务
    Day1, Day2, Day3, Day4, Day5, Day6, Day7    // 未来X天的任务
};

任务列表区域有多个任务项,每个任务项用圆角矩形表示。其中左侧是勾选按钮,表示任务是否完成;上方是任务的开始时间,下方是任务的标题。右侧的图标表示当前任务所处的状态和特征。

任务状态 = 模式 + 修饰符

enum Mode {
    // Basic Mode
    NoMode  = 0x00,
    Bell    = 0x01,     // 提醒   在日历中设置提醒。
    Pining  = 0x02,     // 置顶   尽量显示在其他任务上方。
    CountdownHot = 0x03,        // 抢票模式,任务开始前1小时之前的状态
    CountdownTimer = 0x04,      // 抢票模式,任务开始前1小时~任务开始时间前5秒的状态
    CountdownProcess = 0x05,    // 抢票模式,任务开始前5秒~任务开始时间的状态
};

enum Modifier {
    NoModifier = 0x00,
    Timer   = 0x01,     // 计时器  任务进行中,提醒时间(开始时间)< 当前时间 < 结束时间
    Warn    = 0x02,     // 警告   任务的结束时间到了,但任务未完成。
    Check   = 0x03,     // 已选中
};

对于当前时间之后的任务,右键任务项,可选择置顶模式和倒计时(抢票)模式。

本软件处于活跃开发阶段,欢迎大家测试并提出建议。

编译构建

Debian依赖: build-essential qt5-default deepin-sdk

$ mkdir build && cd build
$ qmake ../src/TaskList.pro
$ make -j4
$ ./TaskList

 

https://gitee.com/moriv4/task-list

 

TaskList_alpha_0528.zip

Reply Favorite View the author
All Replies
jzc
deepin
2021-05-28 14:01
#1

             

Reply View the author
Comments
神末shenmo
2021-08-07 08:44
建议投递
jzc
deepin
2021-05-28 14:03
#2
Reply View the author
jzc
deepin
2021-05-28 14:08
#3
Reply View the author
lcw0268
deepin
2021-05-28 14:49
#4
It has been deleted!
deepin-mq
deepin
2021-05-28 17:27
#5

感谢分享

Reply View the author
linux000
deepin
2021-05-28 18:10
#6

不打包deb?

Reply View the author