Giter Club home page Giter Club logo

dde-calendar's People

Contributors

aiamadeus avatar allen5864 avatar bxiaojin avatar changzex avatar chenhaifeng-ut avatar choldrim avatar claystan404 avatar deepin-bot[bot] avatar deepinzhangshuang avatar felixonmars avatar gs342 avatar hualet avatar iceyer avatar ifdu-code avatar imever avatar isyzx avatar justforlxz avatar leiyu-uniontech avatar liulibang avatar liuyang19903 avatar myml avatar openarun avatar pangpangpang3 avatar tangguilinyy avatar tenghuanu avatar tsic404 avatar u-ll avatar uos-kyz avatar wineee avatar zhengxiaokang-uos avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

dde-calendar's Issues

Calendar view does not adjust to the first day of the week

As described above. In the settings, the first day of the week is correctly set to Monday, which is common in Europe. But unfortunately the calendar does not adapt, it continues to show Sunday on the far left, i.e. as the first day of the week.
Bildschirmfoto vom 2021-01-04 21-31-55

5.7.0.6 doesn't build

-- Found PkgConfig: /usr/bin/pkg-config (found version "1.7.3")
CMake Error at CMakeLists.txt:110 (add_subdirectory):
  The source directory

    /build/deepin-calendar/src/dde-calendar-5.7.0.6/schedule-plugin

  does not contain a CMakeLists.txt file.


-- Configuring incomplete, errors occurred!
See also "/build/deepin-calendar/src/dde-calendar-5.7.0.6/CMakeFiles/CMakeOutput.log".

[dde-calendar] Change the first day

Hello,

In dde-calendar, the first day is Sunday however in Europe, in North America and other countries the first day off the week is the Monday not Sunday. Can you please change this quickly. Thanks you.

Doesn't build with latest Qt 5.14.2

g++ -c -pipe -D_FORTIFY_SOURCE=2 -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -std=gnu++11 -Wall -Wextra -D_REENTRANT -fPIC -DQT_DEPRECATED_WARNINGS -DDSR_LANG_PATH=\"/usr/share/dde-calendar/translations\" -DQT_NO_DEBUG -DQT_SVG_LIB -DQT_MULTIMEDIAWIDGETS_LIB -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_X11EXTRAS_LIB -DQT_GUI_LIB -DQT_SQL_LIB -DQT_DBUS_LIB -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CONCURRENT_LIB -DQT_CORE_LIB -I. -I. -isystem /usr/include/libdframeworkdbus-2.0 -isystem /usr/include/qt -isystem /usr/include/qt/QtSvg -isystem /usr/include/libdtk-5.2.0/DWidget -isystem /usr/include/qt/QtMultimediaWidgets -isystem /usr/include/qt/QtWidgets/5.14.2 -isystem /usr/include/qt/QtWidgets/5.14.2/QtWidgets -isystem /usr/include/qt/QtWidgets -isystem /usr/include/qt/QtMultimedia -isystem /usr/include/libdtk-5.2.0/DGui -isystem /usr/include/qt/QtGui/5.14.2 -isystem /usr/include/qt/QtGui/5.14.2/QtGui -isystem /usr/include/qt/QtX11Extras -isystem /usr/include/qt/QtGui -isystem /usr/include/qt/QtSql -isystem /usr/include/libdtk-5.2.0/DCore -isystem /usr/include/qt/QtDBus -isystem /usr/include/qt/QtXml -isystem /usr/include/qt/QtNetwork -isystem /usr/include/qt/QtConcurrent -isystem /usr/include/qt/QtCore/5.14.2 -isystem /usr/include/qt/QtCore/5.14.2/QtCore -isystem /usr/include/qt/QtCore -I. -I/usr/lib/qt/mkspecs/linux-g++ -o monthschceduleview.o src/monthschceduleview.cpp
src/schcedulesearchview.cpp: In member function ‘void CSchceduleSearchItem::slotDoubleEvent(int)’:
src/schcedulesearchview.cpp:246:48: warning: unused parameter ‘type’ [-Wunused-parameter]
  246 | void CSchceduleSearchItem::slotDoubleEvent(int type)
      |                                            ~~~~^~~~
src/schcedulesearchview.cpp: In member function ‘virtual void CSchceduleSearchItem::paintEvent(QPaintEvent*)’:
src/schcedulesearchview.cpp:374:35: warning: ‘int QFontMetrics::width(const QString&, int) const’ is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations]
  374 |         int widthT = fm.width(tstr) + 5;
      |                                   ^
In file included from /usr/include/qt/QtGui/qpainter.h:59,
                 from /usr/include/qt/QtGui/QPainter:1,
                 from /usr/include/libdtk-5.2.0/DWidget/dstyle.h:28,
                 from /usr/include/libdtk-5.2.0/DWidget/dlabel.h:25,
                 from /usr/include/libdtk-5.2.0/DWidget/DLabel:1,
                 from src/schcedulesearchview.h:22,
                 from src/schcedulesearchview.cpp:19:
/usr/include/qt/QtGui/qfontmetrics.h:106:9: note: declared here
  106 |     int width(const QString &, int len = -1) const;
      |         ^~~~~
src/schcedulesearchview.cpp:257:11: warning: variable ‘fillRect’ set but not used [-Wunused-but-set-variable]
  257 |     QRect fillRect = QRect(0, 0, labelwidth, labelheight);
      |           ^~~~~~~~
src/schcedulesearchview.cpp:251:53: warning: unused parameter ‘e’ [-Wunused-parameter]
  251 | void CSchceduleSearchItem::paintEvent( QPaintEvent *e )
      |                                        ~~~~~~~~~~~~~^
src/schcedulesearchview.cpp: In member function ‘virtual void CSchceduleSearchItem::contextMenuEvent(QContextMenuEvent*)’:
src/schcedulesearchview.cpp:387:65: warning: unused parameter ‘event’ [-Wunused-parameter]
  387 | void CSchceduleSearchItem::contextMenuEvent( QContextMenuEvent *event )
      |                                              ~~~~~~~~~~~~~~~~~~~^~~~~
src/schcedulesearchview.cpp: In member function ‘virtual void CSchceduleSearchItem::mouseDoubleClickEvent(QMouseEvent*)’:
src/schcedulesearchview.cpp:397:63: warning: unused parameter ‘event’ [-Wunused-parameter]
  397 | void CSchceduleSearchItem::mouseDoubleClickEvent(QMouseEvent *event)
      |                                                  ~~~~~~~~~~~~~^~~~~
src/schcedulesearchview.cpp: In member function ‘virtual void CSchceduleSearchItem::mousePressEvent(QMouseEvent*)’:
src/schcedulesearchview.cpp:411:14: error: invalid use of incomplete type ‘class QMouseEvent’
  411 |     if (event->button() == Qt::LeftButton) {
      |              ^~
In file included from /usr/include/qt/QtWidgets/qabstractspinbox.h:44,
                 from /usr/include/qt/QtWidgets/qstyleoption.h:47,
                 from /usr/include/qt/QtWidgets/QStyleOption:1,
                 from /usr/include/libdtk-5.2.0/DWidget/dstyle.h:30,
                 from /usr/include/libdtk-5.2.0/DWidget/dlabel.h:25,
                 from /usr/include/libdtk-5.2.0/DWidget/DLabel:1,
                 from src/schcedulesearchview.h:22,
                 from src/schcedulesearchview.cpp:19:
/usr/include/qt/QtWidgets/qwidget.h:72:7: note: forward declaration of ‘class QMouseEvent’
   72 | class QMouseEvent;
      |       ^~~~~~~~~~~
src/schcedulesearchview.cpp: In member function ‘virtual void CSchceduleSearchItem::mouseReleaseEvent(QMouseEvent*)’:
src/schcedulesearchview.cpp:421:14: error: invalid use of incomplete type ‘class QMouseEvent’
  421 |     if (event->button() == Qt::LeftButton) {
      |              ^~
In file included from /usr/include/qt/QtWidgets/qabstractspinbox.h:44,
                 from /usr/include/qt/QtWidgets/qstyleoption.h:47,
                 from /usr/include/qt/QtWidgets/QStyleOption:1,
                 from /usr/include/libdtk-5.2.0/DWidget/dstyle.h:30,
                 from /usr/include/libdtk-5.2.0/DWidget/dlabel.h:25,
                 from /usr/include/libdtk-5.2.0/DWidget/DLabel:1,
                 from src/schcedulesearchview.h:22,
                 from src/schcedulesearchview.cpp:19:
/usr/include/qt/QtWidgets/qwidget.h:72:7: note: forward declaration of ‘class QMouseEvent’
   72 | class QMouseEvent;
      |       ^~~~~~~~~~~
src/schcedulesearchview.cpp: In member function ‘virtual void CSchceduleSearchItem::enterEvent(QEvent*)’:
src/schcedulesearchview.cpp:427:47: warning: unused parameter ‘event’ [-Wunused-parameter]
  427 | void CSchceduleSearchItem::enterEvent(QEvent *event)
      |                                       ~~~~~~~~^~~~~
src/schcedulesearchview.cpp: In member function ‘virtual void CSchceduleSearchItem::leaveEvent(QEvent*)’:
src/schcedulesearchview.cpp:433:47: warning: unused parameter ‘event’ [-Wunused-parameter]
  433 | void CSchceduleSearchItem::leaveEvent(QEvent *event)
      |                                       ~~~~~~~~^~~~~
src/schcedulesearchview.cpp: In member function ‘virtual bool CSchceduleSearchItem::eventFilter(QObject*, QEvent*)’:
src/schcedulesearchview.cpp:442:61: error: cannot dynamic_cast ‘e’ (of type ‘class QEvent*’) to type ‘class QMouseEvent*’ (target is not pointer or reference to complete type)
  442 |         QMouseEvent *m_press = dynamic_cast<QMouseEvent *>(e);
      |                                                             ^
src/schcedulesearchview.cpp:443:20: error: invalid use of incomplete type ‘class QMouseEvent’
  443 |         if (m_press->button() == Qt::LeftButton) {
      |                    ^~
In file included from /usr/include/qt/QtWidgets/qabstractspinbox.h:44,
                 from /usr/include/qt/QtWidgets/qstyleoption.h:47,
                 from /usr/include/qt/QtWidgets/QStyleOption:1,
                 from /usr/include/libdtk-5.2.0/DWidget/dstyle.h:30,
                 from /usr/include/libdtk-5.2.0/DWidget/dlabel.h:25,
                 from /usr/include/libdtk-5.2.0/DWidget/DLabel:1,
                 from src/schcedulesearchview.h:22,
                 from src/schcedulesearchview.cpp:19:
/usr/include/qt/QtWidgets/qwidget.h:72:7: note: forward declaration of ‘class QMouseEvent’
   72 | class QMouseEvent;
      |       ^~~~~~~~~~~
src/schcedulesearchview.cpp:439:49: warning: unused parameter ‘o’ [-Wunused-parameter]
  439 | bool CSchceduleSearchItem::eventFilter(QObject *o, QEvent *e)
      |                                        ~~~~~~~~~^
src/schcedulesearchview.cpp: In member function ‘void CSchceduleSearchView::updateDateShow()’:
src/schcedulesearchview.cpp:532:10: warning: unused variable ‘flag’ [-Wunused-variable]
  532 |     bool flag = false;
      |          ^~~~
g++ -c -pipe -D_FORTIFY_SOURCE=2 -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -std=gnu++11 -Wall -Wextra -D_REENTRANT -fPIC -DQT_DEPRECATED_WARNINGS -DDSR_LANG_PATH=\"/usr/share/dde-calendar/translations\" -DQT_NO_DEBUG -DQT_SVG_LIB -DQT_MULTIMEDIAWIDGETS_LIB -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_X11EXTRAS_LIB -DQT_GUI_LIB -DQT_SQL_LIB -DQT_DBUS_LIB -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CONCURRENT_LIB -DQT_CORE_LIB -I. -I. -isystem /usr/include/libdframeworkdbus-2.0 -isystem /usr/include/qt -isystem /usr/include/qt/QtSvg -isystem /usr/include/libdtk-5.2.0/DWidget -isystem /usr/include/qt/QtMultimediaWidgets -isystem /usr/include/qt/QtWidgets/5.14.2 -isystem /usr/include/qt/QtWidgets/5.14.2/QtWidgets -isystem /usr/include/qt/QtWidgets -isystem /usr/include/qt/QtMultimedia -isystem /usr/include/libdtk-5.2.0/DGui -isystem /usr/include/qt/QtGui/5.14.2 -isystem /usr/include/qt/QtGui/5.14.2/QtGui -isystem /usr/include/qt/QtX11Extras -isystem /usr/include/qt/QtGui -isystem /usr/include/qt/QtSql -isystem /usr/include/libdtk-5.2.0/DCore -isystem /usr/include/qt/QtDBus -isystem /usr/include/qt/QtXml -isystem /usr/include/qt/QtNetwork -isystem /usr/include/qt/QtConcurrent -isystem /usr/include/qt/QtCore/5.14.2 -isystem /usr/include/qt/QtCore/5.14.2/QtCore -isystem /usr/include/qt/QtCore -I. -I/usr/lib/qt/mkspecs/linux-g++ -o schcedulectrldlg.o src/schcedulectrldlg.cpp
src/schcedulesearchview.cpp: In member function ‘virtual void CSchceduleSearchDateItem::paintEvent(QPaintEvent*)’:
src/schcedulesearchview.cpp:831:56: warning: unused parameter ‘e’ [-Wunused-parameter]
  831 | void CSchceduleSearchDateItem::paintEvent(QPaintEvent *e)
      |                                           ~~~~~~~~~~~~~^
src/schcedulesearchview.cpp: In member function ‘virtual void CSchceduleSearchDateItem::mousePressEvent(QMouseEvent*)’:
src/schcedulesearchview.cpp:857:61: warning: unused parameter ‘event’ [-Wunused-parameter]
  857 | void CSchceduleSearchDateItem::mousePressEvent(QMouseEvent *event)
      |                                                ~~~~~~~~~~~~~^~~~~
src/yearwindow.cpp: In member function ‘virtual void CYearWindow::resizeEvent(QResizeEvent*)’:
src/yearwindow.cpp:58:45: warning: unused parameter ‘event’ [-Wunused-parameter]
   58 | void CYearWindow::resizeEvent(QResizeEvent *event)
      |                               ~~~~~~~~~~~~~~^~~~~
src/yearwindow.cpp: In member function ‘virtual void CYearWindow::wheelEvent(QWheelEvent*)’:
src/yearwindow.cpp:447:14: error: invalid use of incomplete type ‘class QWheelEvent’
  447 |     if (event->delta() < 0) {
      |              ^~
In file included from /usr/include/qt/QtWidgets/QWidget:1,
                 from src/yearwindow.h:22,
                 from src/yearwindow.cpp:19:
/usr/include/qt/QtWidgets/qwidget.h:73:7: note: forward declaration of ‘class QWheelEvent’
   73 | class QWheelEvent;
      |       ^~~~~~~~~~~
src/yearwindow.cpp: In member function ‘virtual void YearFrame::mousePressEvent(QMouseEvent*)’:
src/yearwindow.cpp:627:14: error: invalid use of incomplete type ‘class QMouseEvent’
  627 |     if (event->button() == Qt::LeftButton) {
      |              ^~
In file included from /usr/include/qt/QtWidgets/QWidget:1,
                 from src/yearwindow.h:22,
                 from src/yearwindow.cpp:19:
/usr/include/qt/QtWidgets/qwidget.h:72:7: note: forward declaration of ‘class QMouseEvent’
   72 | class QMouseEvent;
      |       ^~~~~~~~~~~
make: *** [Makefile:1283: schcedulesearchview.o] Error 1

Year overview

See the whole year by month or at least see the months' name.

Why is it useless ?

Because of that reasons

can't sync with Gmail, Yahoo ...
can't show haliday days
can't add notes
can't add alarm

Why am I use ...

Add more lunar calendar

Hello developers,

my friend from Vietnam told me that he didn't find an option in Deepin Calendar to display the Vietnamese lunar calendar.

Can you add it in Deepin?

I can confirm it (missing) and I use Deepin 20.

Add lunar calendar please

Hello, I want to suggest for you+

  • Add lunar calendar
  • Add Google calendar event

Thank you so much!

Deepin Calendar not at all useful

The lack of ability to sync with cloud calendar services like Google Calendar, Apple Calendar, etc, makes this software completely useless. Continued development of it serves no purpose.

是否能webcal和ics文件支持?

是否能考虑增加webcal和苹果的ics格式支持?下载gnome日历可以支持上述格式,但是一是原生没有**节假日和节气之类的本地化内容,二是界面是在不搭

dtkwidget

@felixonmars @kirigayakazushin Not sure who is maintaining dde-calendar, hopefully pinging the right one. Is it possible to build dde-calendar without dtkwidget or in any sense to make dde-calendar more distribution-agnostic?

European calendar formats missing

As described above. Currently, only date formats that start with the year are possible. However, in many European countries it is common to start with the day. So not 2020/01/04, but e.g. 04/01/2020 (with dots) or 04/01/2020.

Also the written out long date begins e.g. in German with the day, thus e.g. 04 January 2020.

It would be great if these functions could be added. Maybe you can get impressions from other distributions here?

Shortcut support

Is there plans to add some shortcut supports such as: Esc to exit the window?

Nepali Calendar follows the Bikram sambat system.

Nepali Calendar follows the Bikram sambat system which uses lunar months and solar sidereal year
Nepali calendar is approximately 56 years and 8½ months ahead of the Gregorian calendar (A.D). So we have difficult to Know AD. I can provide all data of Bikram Sambat (BS).

BUG: dde-calendar 在 debian 下无法运行

您好: deepin calendar 在 debian 上无法启动,详细信息如下, 期望得到您的回复, 感谢!

前提条件

  • OS: debian testing
  • dde-calendar: 1.2.5-1
  • sudo apt install dde-calendar\

实际结果

  • 在 launcher 中点击 deepin calendar 图标无法启动 calendar

  • 在 终端中执行 dde-calendar, 出现如下错误:

    dde-calendar: symbol lookup error: dde-calendar: undefined symbol: _ZN3Dtk6Widget12DApplication14setProductIconERK7QPixmap

期望结果

可以正常运行 deepin calendar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.