Building a Custom Calendar Widget in Qt: Date Selection and Dropdown Integration
1. Background
Before diving into this article, let me briefly review the previous two articles on custom calendar implementation. The link are provided in the related links section at the end. The first article demonstrated using QLabel contrlos to construct a calendar—easy to understand but with suboptimal performance. The second approach rend ...
Posted on Tue, 14 Jul 2026 16:00:52 +0000 by sarahk
Essential Java API Classes for Practical Development
Mathematical Operations in Java
The Math Class
The Math class in Java provides various mathematical functions and constants. Here are some practical examples:
package com.example.math;
public class MathOperations {
public static void main(String[] args) {
// Mathematical constants
System.out.println("Value of PI: " ...
Posted on Wed, 24 Jun 2026 18:20:39 +0000 by bbreslauer
Building a Minimal Calendar with HTML, CSS, and JavaScript
Structure Overview
The layout centers a calendar grid within a fixed-width frame. A header displays the current month and year between navgiation controls. Below, a table lists weekday labels followed by date cells populated dynamically.
HTML Layout
<body>
<div class="calendar-wrapper">
<div class="calendar-c ...
Posted on Wed, 24 Jun 2026 18:19:26 +0000 by andy1398
Working with Date and Time in Java
Java provides multiple APIs for handling date and time, evolving significantly over versions to address design flaws and usability issues.
Legacy java.util.Date
The java.util.Date class represents a specific instant in time with millisecond precision. Despite its name, it encapsulates both date and time.
Date now = new Date(); // Current timest ...
Posted on Mon, 11 May 2026 11:01:12 +0000 by ahoo