[pim/korganizer] /: Agenda view: bold hour marker every two hours
Allen Winter
null at kde.org
Fri Mar 13 11:53:01 GMT 2026
Git commit 2190af5ec7beec4798c28ec2f8e2a5a30d9ac059 by Allen Winter.
Committed on 13/03/2026 at 11:35.
Pushed by winterz into branch 'master'.
Agenda view: bold hour marker every two hours
Make the horizontal grid line bolder/fatter every two hours.
BUG: 212164
M +1 -1 CMakeLists.txt
M +5 -0 doc/index.docbook
M +1 -0 src/prefs/koprefsdialogviews.cpp
M +6 -0 src/settings/korganizer.kcfg
M +2 -0 src/whatsnew/whatsnewtranslations.cpp
https://invent.kde.org/pim/korganizer/-/commit/2190af5ec7beec4798c28ec2f8e2a5a30d9ac059
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 9942f034d..9f61fa20f 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -148,7 +148,7 @@ set(PIMCOMMON_LIB_VERSION "6.6.40")
set(LIBKDEPIM_LIB_VERSION "6.6.40")
set(LIBINCIDENCEEDITOR_LIB_VERSION "6.7.40")
set(CALENDARSUPPORT_LIB_VERSION "6.7.40")
-set(EVENTVIEW_LIB_VERSION "6.6.44")
+set(EVENTVIEW_LIB_VERSION "6.7.41")
# Find KF6 package
find_package(KF6I18n ${KF_MIN_VERSION} CONFIG REQUIRED)
diff --git a/doc/index.docbook b/doc/index.docbook
index 03e968cd1..887a662de 100644
--- a/doc/index.docbook
+++ b/doc/index.docbook
@@ -2225,6 +2225,11 @@ in the Agenda view.</para></listitem>
in Agenda view items</para></listitem>
</varlistentry>
+<varlistentry>
+ <term><guilabel>Draw bold horizontal grid lines for the even hours</guilabel></term>
+ <listitem><para>Check this box to draw bolder/fatter horizontal grid lines for the even hours (12am, 2am, 4am, etc).</para></listitem>
+</varlistentry>
+
<varlistentry>
<term><guilabel>Show incidence descriptions in agenda view items</guilabel></term>
<listitem><para>Check this box to display the incidence descriptions in agenda view items.</para></listitem>
diff --git a/src/prefs/koprefsdialogviews.cpp b/src/prefs/koprefsdialogviews.cpp
index f42c4d250..093132bb3 100644
--- a/src/prefs/koprefsdialogviews.cpp
+++ b/src/prefs/koprefsdialogviews.cpp
@@ -98,6 +98,7 @@ KOPrefsDialogViews::KOPrefsDialogViews(QObject *parent, const KPluginMetaData &d
hourSizeLayout->addStretch(1);
adisplayLayout->addWidget(addWidBool(KOPrefs::instance()->enableAgendaItemIconsItem())->checkBox());
+ adisplayLayout->addWidget(addWidBool(KOPrefs::instance()->enableAgendaBoldEvenHoursItem())->checkBox());
adisplayLayout->addWidget(addWidBool(KOPrefs::instance()->enableAgendaItemDescItem())->checkBox());
adisplayLayout->addWidget(addWidBool(KOPrefs::instance()->showTodosAgendaViewItem())->checkBox());
Korganizer::KPrefsWidBool *marcusBainsEnabled = addWidBool(KOPrefs::instance()->marcusBainsEnabledItem());
diff --git a/src/settings/korganizer.kcfg b/src/settings/korganizer.kcfg
index 4cf9ed97a..bfd19df18 100644
--- a/src/settings/korganizer.kcfg
+++ b/src/settings/korganizer.kcfg
@@ -120,6 +120,12 @@
<tooltip>Display icons in agenda view items</tooltip>
<default>true</default>
</entry>
+ <entry type="Bool" key="Draw Bold Even Hour Grid Lines" name="EnableAgendaBoldEvenHours">
+ <label>Draw bold horizontal grid lines for the even hours</label>
+ <whatsthis>Draw a bolder horizontal grid line for the even hours (12am, 2am, 4am, etc).</whatsthis>
+ <tooltip>Draw bolder even hour grid lines</tooltip>
+ <default>false</default>
+ </entry>
<entry type="Bool" key="Show Incidence Descriptions in Agenda View" name="EnableAgendaItemDesc">
<label>Show incidence descriptions in agenda view items</label>
<whatsthis>Check this box to display the incidence descriptions in agenda view items.</whatsthis>
diff --git a/src/whatsnew/whatsnewtranslations.cpp b/src/whatsnew/whatsnewtranslations.cpp
index eda8d484e..fb137b28f 100644
--- a/src/whatsnew/whatsnewtranslations.cpp
+++ b/src/whatsnew/whatsnewtranslations.cpp
@@ -17,6 +17,8 @@ QList<KLazyLocalizedString> WhatsNewTranslations::lastNewFeatures() const
const QList<KLazyLocalizedString> info{
kli18n("A default To-do calendar can be specified to make creating new to-dos faster and easier with less chance of filing them into the wrong folder. "
"Setting a default Event calendar has been supported for a long time. See the Calendar Manager context menu \"Set as Default Todo Calendar\""),
+ kli18n("Agenda view: optionally draw bolder/fatter horizontal grid lines every two hours. To enable this behaviour, check the \"Draw bold horizontal "
+ "grid lines for the even hours\" option in the View->Agenda View tab"),
};
return info;
}
More information about the kde-doc-english
mailing list