.TH "kdk::KMiniCalendarItem" 3 "Version version:3.0" "LIBKYSDK-APPLICATIONS" \" -*- nroff -*- .ad l .nh .SH NAME kdk::KMiniCalendarItem .SH SYNOPSIS .br .PP .PP Inherits QWidget\&. .SS "Public Types" .in +1c .ti -1c .RI "enum \fBDayType\fP { \fBDayType_MonthPre\fP = 0, \fBDayType_MonthNext\fP = 1, \fBDayType_MonthCurrent\fP = 2, \fBDayType_WeekEnd\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 \fBsetSelect\fP (bool select)" .br .ti -1c .RI "void \fBsetShowLunar\fP (bool showLunar)" .br .ti -1c .RI "void \fBsetSelectType\fP (const SelectType &selectType)" .br .ti -1c .RI "void \fBsetDate\fP (const QDate &date)" .br .ti -1c .RI "void \fBsetLunar\fP (const QString &lunar)" .br .ti -1c .RI "void \fBsetDayType\fP (const DayType &dayType)" .br .ti -1c .RI "void \fBsetDate\fP (const QDate &date, const QString &lunar, const DayType &dayType)" .br .ti -1c .RI "void \fBsetEnableBorder\fP (bool bVisible)" .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 \fBsetSuperColor\fP (const QColor &superColor)" .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, const KMiniCalendarItem::DayType &dayType)" .br .in -1c .SS "Public Member Functions" .in +1c .ti -1c .RI "\fBKMiniCalendarItem\fP (QWidget *parent=0)" .br .ti -1c .RI "bool \fBgetSelect\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 "QDate \fBgetDate\fP () const" .br .RI "获取当前日期 " .ti -1c .RI "QString \fBgetLunar\fP () const" .br .RI "获取农历信息 " .ti -1c .RI "DayType \fBgetDayType\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 \fBgetSuperColor\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 \fBenterEvent\fP (QEvent *)" .br .ti -1c .RI "void \fBleaveEvent\fP (QEvent *)" .br .ti -1c .RI "void \fBmousePressEvent\fP (QMouseEvent *)" .br .ti -1c .RI "void \fBmouseReleaseEvent\fP (QMouseEvent *)" .br .ti -1c .RI "void \fBpaintEvent\fP (QPaintEvent *)" .br .ti -1c .RI "void \fBdrawBg\fP (QPainter *painter)" .br .ti -1c .RI "void \fBdrawBgCurrent\fP (QPainter *painter, const QColor &color)" .br .ti -1c .RI "void \fBdrawDay\fP (QPainter *painter)" .br .ti -1c .RI "void \fBdrawLunar\fP (QPainter *painter)" .br .in -1c .SS "Properties" .in +1c .ti -1c .RI "bool \fBselect\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 "QDate \fBdate\fP" .br .ti -1c .RI "QString \fBlunar\fP" .br .ti -1c .RI "DayType \fBdayType\fP" .br .ti -1c .RI "QColor \fBborderColor\fP" .br .ti -1c .RI "QColor \fBweekColor\fP" .br .ti -1c .RI "QColor \fBsuperColor\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::KMiniCalendarItem::getBorderColor () const" .PP 获取边框颜色 .PP \fBReturns\fP .RS 4 .RE .PP .SS "QColor kdk::KMiniCalendarItem::getCurrentBgColor () const" .PP 获取当前月背景颜色 .PP \fBReturns\fP .RS 4 .RE .PP .SS "QColor kdk::KMiniCalendarItem::getCurrentLunarColor () const" .PP 获取当前月农历文字颜色 .PP \fBReturns\fP .RS 4 .RE .PP .SS "QColor kdk::KMiniCalendarItem::getCurrentTextColor () const" .PP 获取当前月文字颜色 .PP \fBReturns\fP .RS 4 .RE .PP .SS "QDate kdk::KMiniCalendarItem::getDate () const" .PP 获取当前日期 .PP \fBReturns\fP .RS 4 .RE .PP .SS "DayType kdk::KMiniCalendarItem::getDayType () const" .PP 获取日期类型 .PP \fBReturns\fP .RS 4 .RE .PP .SS "bool kdk::KMiniCalendarItem::getEnableBorder () const" .PP 获取启用边界 .PP \fBReturns\fP .RS 4 .RE .PP .SS "QColor kdk::KMiniCalendarItem::getHoverBgColor () const" .PP 获取悬停日期背景颜色 .PP \fBReturns\fP .RS 4 .RE .PP .SS "QColor kdk::KMiniCalendarItem::getHoverLunarColor () const" .PP 获取悬停日期农历文字颜色 .PP \fBReturns\fP .RS 4 .RE .PP .SS "QColor kdk::KMiniCalendarItem::getHoverTextColor () const" .PP 获取悬停日期文字颜色 .PP \fBReturns\fP .RS 4 .RE .PP .SS "QString kdk::KMiniCalendarItem::getLunar () const" .PP 获取农历信息 .PP \fBReturns\fP .RS 4 .RE .PP .SS "QColor kdk::KMiniCalendarItem::getLunarColor () const" .PP 获取农历节日颜色 .PP \fBReturns\fP .RS 4 .RE .PP .SS "QColor kdk::KMiniCalendarItem::getOtherBgColor () const" .PP 获取其他月背景颜色 .PP \fBReturns\fP .RS 4 .RE .PP .SS "QColor kdk::KMiniCalendarItem::getOtherLunarColor () const" .PP 获取其他月农历文字颜色 .PP \fBReturns\fP .RS 4 .RE .PP .SS "QColor kdk::KMiniCalendarItem::getOtherTextColor () const" .PP 获取其他月文字颜色 .PP \fBReturns\fP .RS 4 .RE .PP .SS "bool kdk::KMiniCalendarItem::getSelect () const" .PP 获取是否选中 .PP \fBReturns\fP .RS 4 .RE .PP .SS "QColor kdk::KMiniCalendarItem::getSelectBgColor () const" .PP 获取选中日期背景颜色 .PP \fBReturns\fP .RS 4 .RE .PP .SS "QColor kdk::KMiniCalendarItem::getSelectLunarColor () const" .PP 获取选中日期农历文字颜色 .PP \fBReturns\fP .RS 4 .RE .PP .SS "QColor kdk::KMiniCalendarItem::getSelectTextColor () const" .PP 获取选中日期文字颜色 .PP \fBReturns\fP .RS 4 .RE .PP .SS "SelectType kdk::KMiniCalendarItem::getSelectType () const" .PP 获取选择类型 .PP \fBReturns\fP .RS 4 .RE .PP .SS "bool kdk::KMiniCalendarItem::getShowLunar () const" .PP 获取是否显示农历 .PP \fBReturns\fP .RS 4 .RE .PP .SS "QColor kdk::KMiniCalendarItem::getSuperColor () const" .PP 获取角标颜色 .PP \fBReturns\fP .RS 4 .RE .PP .SS "QColor kdk::KMiniCalendarItem::getWeekColor () const" .PP 获取周颜色 .PP \fBReturns\fP .RS 4 .RE .PP .SH "Author" .PP Generated automatically by Doxygen for LIBKYSDK-APPLICATIONS from the source code\&.