KOAgendaView Class Reference
KOAgendaView is the agenda-like view used to display events in an one or multi-day view. More...
#include <koagendaview.h>
Inherits KOEventView.
Public Slots
- virtual void updateView ()
- virtual void updateConfig ()
- virtual void showDates (const QDate &start, const QDate &end)
- virtual void showIncidences (const Incidence::List &incidenceList)
- void insertIncidence (Incidence *incidence, const QDate &curDate, int curCol=-1)
- void changeIncidenceDisplayAdded (Incidence *incidence)
- void changeIncidenceDisplay (Incidence *incidence, int mode)
- void clearSelection ()
- void startDrag (Incidence *)
- void readSettings ()
- void readSettings (KConfig *)
- void writeSettings (KConfig *)
- void setContentsPos (int y)
- void setExpandedButton (bool expanded)
- void finishTypeAhead ()
- void slotTodoDropped (Todo *, const QPoint &, bool)
- void enableAgendaUpdate (bool enable)
- void setIncidenceChanger (IncidenceChangerBase *changer)
- void zoomInHorizontally (const QDate &date=QDate())
- void zoomOutHorizontally (const QDate &date=QDate())
- void zoomInVertically ()
- void zoomOutVertically ()
- void zoomView (const int delta, const QPoint &pos, const Qt::Orientation orient=Qt::Horizontal)
Signals
Public Member Functions
- KOAgendaView (Calendar *cal, QWidget *parent=0, const char *name=0)
- virtual int maxDatesHint ()
- virtual int currentDateCount ()
- virtual Incidence::List selectedIncidences ()
- virtual DateList selectedDates ()
- virtual bool eventDurationHint (QDateTime &startDt, QDateTime &endDt, bool &allDay)
- void clearView ()
- CalPrinter::PrintType printType ()
- QDateTime selectionStart ()
- QDateTime selectionEnd ()
- bool selectedIsAllDay ()
- void deleteSelectedDateTime ()
- bool selectedIsSingleCell ()
- void setTypeAheadReceiver (QObject *)
Protected Slots
- void updateEventDates (KOAgendaItem *item)
- void doUpdateItem ()
- void updateEventIndicatorTop (int newY)
- void updateEventIndicatorBottom (int newY)
- void newTimeSpanSelected (const QPoint &start, const QPoint &end)
- void newTimeSpanSelectedAllDay (const QPoint &start, const QPoint &end)
Protected Member Functions
- void fillAgenda (const QDate &startDate)
- void fillAgenda ()
- void connectAgenda (KOAgenda *agenda, QPopupMenu *popup, KOAgenda *otherAgenda)
- void createDayLabels ()
- void setHolidayMasks ()
- void removeIncidence (Incidence *)
- void updateEventIndicators ()
- void updateTimeBarWidth ()
Detailed Description
KOAgendaView is the agenda-like view used to display events in an one or multi-day view.
Member Function Documentation
|
Returns maximum number of days supported by the koagendaview.
Implements KOEventView. |
|
Returns number of currently shown dates.
Implements KOrg::BaseView. |
|
returns the currently selected events
Implements KOrg::BaseView. |
|
returns the currently selected events
Implements KOrg::BaseView. |
|
return the default start/end date/time for new events
Reimplemented from KOrg::BaseView. |
|
Remove all events from view.
|
|
start-datetime of selection
|
|
end-datetime of selection
|
|
returns true if selection is for whole day
|
|
make selected start/end invalid
|
|
returns if only a single cell is selected, or a range of cells
|
|
Updates the current display to reflect changes that may have happened in the calendar since the last display refresh.
Implements KOrg::BaseView. |
|
Re-reads the KOrganizer configuration and picks up relevant changes which are applicable to the view.
Reimplemented from KOrg::BaseView. |
|
Show incidences for the given date range. The date range actually shown may be different from the requested range, depending on the particular requirements of the view.
Implements KOrg::BaseView. |
|
Show given incidences. Depending on the actual view it might not be possible to show all given events.
Implements KOrg::BaseView. |
|
Updates the current display to reflect the changes to one particular incidence.
Implements KOrg::BaseView. |
|
Clear selection. The incidenceSelected signal is not emitted. Reimplemented from KOrg::BaseView. |
|
reschedule the todo to the given x- and y- coordinates. Third parameter determines all-day (no time specified) |
|
Fill agenda beginning with date startDate.
|
|
Fill agenda using the current set value for the start date.
|
|
Create labels for the selected dates.
|
|
Set the masks on the agenda widgets indicating, which days are holidays.
|
|
Updates the event indicators after a certain incidence was modified or removed.
|
|
Update event belonging to agenda item.
|
|
update just the display of the given incidence, called by a single-shot timer
|
|
Updates data for selected timespan.
|
|
Updates data for selected timespan for all day event.
|
The documentation for this class was generated from the following files:
- koagendaview.h
- koagendaview.cpp