.TH "kdk::KMiniCalendarWidget" 3 "Version version:3.0" "LIBKYSDK-APPLICATIONS" \" -*- nroff -*- .ad l .nh .SH NAME kdk::KMiniCalendarWidget .SH SYNOPSIS .br .PP .PP Inherits QWidget\&. .SS "Public Types" .in +1c .ti -1c .RI "enum \fBCalendarStyle\fP { \fBCalendarStyle_Red\fP = 0 }" .br .ti -1c .RI "enum \fBWeekNameFormat\fP { \fBWeekNameFormat_Short\fP = 0, \fBWeekNameFormat_Normal\fP = 1, \fBWeekNameFormat_Long\fP = 2, \fBWeekNameFormat_En\fP = 3 }" .br .ti -1c .RI "enum \fBSelectType\fP { \fBSelectType_Rect\fP = 0, \fBSelectType_Circle\fP = 1, \fBSelectType_Triangle\fP = 2, \fBSelectType_Image\fP = 3 }" .br .in -1c .SS "Public Slots" .in +1c .ti -1c .RI "void \fBshowPreviousMonth\fP ()" .br .ti -1c .RI "void \fBshowNextMonth\fP ()" .br .ti -1c .RI "void \fBshowToday\fP ()" .br .ti -1c .RI "void \fBsetCalendarStyle\fP (const CalendarStyle &calendarStyle)" .br .ti -1c .RI "void \fBsetWeekNameFormat\fP (const WeekNameFormat &weekNameFormat)" .br .ti -1c .RI "void \fBsetDate\fP (const QDate &date)" .br .ti -1c .RI "void \fBsetWeekTextColor\fP (const QColor &weekTextColor)" .br .ti -1c .RI "void \fBsetWeekBgColor\fP (const QColor &weekBgColor)" .br .ti -1c .RI "void \fBsetShowLunar\fP (bool showLunar)" .br .ti -1c .RI "void \fBsetEnableBorder\fP (bool bVisible)" .br .ti -1c .RI "void \fBsetSelectType\fP (const SelectType &selectType)" .br .ti -1c .RI "void \fBsetBorderColor\fP (const QColor &borderColor)" .br .ti -1c .RI "void \fBsetWeekColor\fP (const QColor &weekColor)" .br .ti -1c .RI "void \fBsetLunarColor\fP (const QColor &lunarColor)" .br .ti -1c .RI "void \fBsetCurrentTextColor\fP (const QColor ¤tTextColor)" .br .ti -1c .RI "void \fBsetOtherTextColor\fP (const QColor &otherTextColor)" .br .ti -1c .RI "void \fBsetSelectTextColor\fP (const QColor &selectTextColor)" .br .ti -1c .RI "void \fBsetHoverTextColor\fP (const QColor &hoverTextColor)" .br .ti -1c .RI "void \fBsetCurrentLunarColor\fP (const QColor ¤tLunarColor)" .br .ti -1c .RI "void \fBsetOtherLunarColor\fP (const QColor &otherLunarColor)" .br .ti -1c .RI "void \fBsetSelectLunarColor\fP (const QColor &selectLunarColor)" .br .ti -1c .RI "void \fBsetHoverLunarColor\fP (const QColor &hoverLunarColor)" .br .ti -1c .RI "void \fBsetCurrentBgColor\fP (const QColor ¤tBgColor)" .br .ti -1c .RI "void \fBsetOtherBgColor\fP (const QColor &otherBgColor)" .br .ti -1c .RI "void \fBsetSelectBgColor\fP (const QColor &selectBgColor)" .br .ti -1c .RI "void \fBsetHoverBgColor\fP (const QColor &hoverBgColor)" .br .in -1c .SS "Signals" .in +1c .ti -1c .RI "void \fBclicked\fP (const QDate &date)" .br .ti -1c .RI "void \fBselectionChanged\fP ()" .br .in -1c .SS "Public Member Functions" .in +1c .ti -1c .RI "\fBKMiniCalendarWidget\fP (QWidget *parent=0)" .br .ti -1c .RI "CalendarStyle \fBgetCalendarStyle\fP () const" .br .RI "获取整体样式 " .ti -1c .RI "WeekNameFormat \fBgetWeekNameFormat\fP () const" .br .RI "获取星期名称格式 " .ti -1c .RI "QDate \fBgetDate\fP () const" .br .RI "获取当前日期 " .ti -1c .RI "QColor \fBgetWeekTextColor\fP () const" .br .RI "获取星期文本颜色 " .ti -1c .RI "QColor \fBgetWeekBgColor\fP () const" .br .RI "获取周末名称背景色 " .ti -1c .RI "bool \fBgetShowLunar\fP () const" .br .RI "获取农历显示 " .ti -1c .RI "bool \fBgetEnableBorder\fP () const" .br .RI "获取启用边框 " .ti -1c .RI "SelectType \fBgetSelectType\fP () const" .br .RI "获取选择类型 " .ti -1c .RI "QColor \fBgetBorderColor\fP () const" .br .RI "获取边框颜色 " .ti -1c .RI "QColor \fBgetWeekColor\fP () const" .br .RI "获取周末颜色 " .ti -1c .RI "QColor \fBgetLunarColor\fP () const" .br .RI "获取农历节日颜色 " .ti -1c .RI "QColor \fBgetCurrentTextColor\fP () const" .br .RI "获取当前月文本颜色 " .ti -1c .RI "QColor \fBgetOtherTextColor\fP () const" .br .RI "获取其他月文本颜色 " .ti -1c .RI "QColor \fBgetSelectTextColor\fP () const" .br .RI "获取选中日期文本颜色 " .ti -1c .RI "QColor \fBgetHoverTextColor\fP () const" .br .RI "获取悬浮日期文本颜色 " .ti -1c .RI "QColor \fBgetCurrentLunarColor\fP () const" .br .RI "获取当前月农历文字颜色 " .ti -1c .RI "QColor \fBgetOtherLunarColor\fP () const" .br .RI "获取其他月农历文本颜色 " .ti -1c .RI "QColor \fBgetSelectLunarColor\fP () const" .br .RI "获取选中日期农历颜文本色 " .ti -1c .RI "QColor \fBgetHoverLunarColor\fP () const" .br .RI "获取悬浮日期农历文本颜色 " .ti -1c .RI "QColor \fBgetCurrentBgColor\fP () const" .br .RI "获取当前月背景色 " .ti -1c .RI "QColor \fBgetOtherBgColor\fP () const" .br .RI "获取其他月背景色 " .ti -1c .RI "QColor \fBgetSelectBgColor\fP () const" .br .RI "获取选择日期背景色 " .ti -1c .RI "QColor \fBgetHoverBgColor\fP () const" .br .RI "获取悬浮日期背景色 " .ti -1c .RI "QSize \fBsizeHint\fP () const" .br .ti -1c .RI "QSize \fBminimumSizeHint\fP () const" .br .in -1c .SS "Protected Member Functions" .in +1c .ti -1c .RI "void \fBwheelEvent\fP (QWheelEvent *event) override" .br .ti -1c .RI "void \fBpaintEvent\fP (QPaintEvent *event) override" .br .in -1c .SS "Properties" .in +1c .ti -1c .RI "CalendarStyle \fBcalendarStyle\fP" .br .ti -1c .RI "WeekNameFormat \fBweekNameFormat\fP" .br .ti -1c .RI "QDate \fBdate\fP" .br .ti -1c .RI "QColor \fBweekTextColor\fP" .br .ti -1c .RI "QColor \fBweekBgColor\fP" .br .ti -1c .RI "bool \fBshowLunar\fP" .br .ti -1c .RI "bool \fBenableBorder\fP" .br .ti -1c .RI "SelectType \fBselectType\fP" .br .ti -1c .RI "QColor \fBborderColor\fP" .br .ti -1c .RI "QColor \fBweekColor\fP" .br .ti -1c .RI "QColor \fBlunarColor\fP" .br .ti -1c .RI "QColor \fBcurrentTextColor\fP" .br .ti -1c .RI "QColor \fBotherTextColor\fP" .br .ti -1c .RI "QColor \fBselectTextColor\fP" .br .ti -1c .RI "QColor \fBhoverTextColor\fP" .br .ti -1c .RI "QColor \fBcurrentLunarColor\fP" .br .ti -1c .RI "QColor \fBotherLunarColor\fP" .br .ti -1c .RI "QColor \fBselectLunarColor\fP" .br .ti -1c .RI "QColor \fBhoverLunarColor\fP" .br .ti -1c .RI "QColor \fBcurrentBgColor\fP" .br .ti -1c .RI "QColor \fBotherBgColor\fP" .br .ti -1c .RI "QColor \fBselectBgColor\fP" .br .ti -1c .RI "QColor \fBhoverBgColor\fP" .br .in -1c .SH "Member Function Documentation" .PP .SS "QColor kdk::KMiniCalendarWidget::getBorderColor () const" .PP 获取边框颜色 .PP \fBReturns\fP .RS 4 .RE .PP .SS "CalendarStyle kdk::KMiniCalendarWidget::getCalendarStyle () const" .PP 获取整体样式 .PP \fBReturns\fP .RS 4 .RE .PP .SS "QColor kdk::KMiniCalendarWidget::getCurrentBgColor () const" .PP 获取当前月背景色 .PP \fBReturns\fP .RS 4 .RE .PP .SS "QColor kdk::KMiniCalendarWidget::getCurrentLunarColor () const" .PP 获取当前月农历文字颜色 .PP \fBReturns\fP .RS 4 .RE .PP .SS "QColor kdk::KMiniCalendarWidget::getCurrentTextColor () const" .PP 获取当前月文本颜色 .PP \fBReturns\fP .RS 4 .RE .PP .SS "QDate kdk::KMiniCalendarWidget::getDate () const" .PP 获取当前日期 .PP \fBReturns\fP .RS 4 .RE .PP .SS "bool kdk::KMiniCalendarWidget::getEnableBorder () const" .PP 获取启用边框 .PP \fBReturns\fP .RS 4 .RE .PP .SS "QColor kdk::KMiniCalendarWidget::getHoverBgColor () const" .PP 获取悬浮日期背景色 .PP \fBReturns\fP .RS 4 .RE .PP .SS "QColor kdk::KMiniCalendarWidget::getHoverLunarColor () const" .PP 获取悬浮日期农历文本颜色 .PP \fBReturns\fP .RS 4 .RE .PP .SS "QColor kdk::KMiniCalendarWidget::getHoverTextColor () const" .PP 获取悬浮日期文本颜色 .PP \fBReturns\fP .RS 4 .RE .PP .SS "QColor kdk::KMiniCalendarWidget::getLunarColor () const" .PP 获取农历节日颜色 .PP \fBReturns\fP .RS 4 .RE .PP .SS "QColor kdk::KMiniCalendarWidget::getOtherBgColor () const" .PP 获取其他月背景色 .PP \fBReturns\fP .RS 4 .RE .PP .SS "QColor kdk::KMiniCalendarWidget::getOtherLunarColor () const" .PP 获取其他月农历文本颜色 .PP \fBReturns\fP .RS 4 .RE .PP .SS "QColor kdk::KMiniCalendarWidget::getOtherTextColor () const" .PP 获取其他月文本颜色 .PP \fBReturns\fP .RS 4 .RE .PP .SS "QColor kdk::KMiniCalendarWidget::getSelectBgColor () const" .PP 获取选择日期背景色 .PP \fBReturns\fP .RS 4 .RE .PP .SS "QColor kdk::KMiniCalendarWidget::getSelectLunarColor () const" .PP 获取选中日期农历颜文本色 .PP \fBReturns\fP .RS 4 .RE .PP .SS "QColor kdk::KMiniCalendarWidget::getSelectTextColor () const" .PP 获取选中日期文本颜色 .PP \fBReturns\fP .RS 4 .RE .PP .SS "SelectType kdk::KMiniCalendarWidget::getSelectType () const" .PP 获取选择类型 .PP \fBReturns\fP .RS 4 .RE .PP .SS "bool kdk::KMiniCalendarWidget::getShowLunar () const" .PP 获取农历显示 .PP \fBReturns\fP .RS 4 .RE .PP .SS "QColor kdk::KMiniCalendarWidget::getWeekBgColor () const" .PP 获取周末名称背景色 .PP \fBReturns\fP .RS 4 .RE .PP .SS "QColor kdk::KMiniCalendarWidget::getWeekColor () const" .PP 获取周末颜色 .PP \fBReturns\fP .RS 4 .RE .PP .SS "WeekNameFormat kdk::KMiniCalendarWidget::getWeekNameFormat () const" .PP 获取星期名称格式 .PP \fBReturns\fP .RS 4 .RE .PP .SS "QColor kdk::KMiniCalendarWidget::getWeekTextColor () const" .PP 获取星期文本颜色 .PP \fBReturns\fP .RS 4 .RE .PP .SH "Author" .PP Generated automatically by Doxygen for LIBKYSDK-APPLICATIONS from the source code\&.