If I look just at $P$, I conclude $P$ is connected. $Q$ is a vertical line and is also connected. How to see their union is connected or not?
I can see that $X=P \cup Q$ is pathwise connected (geometrically) if I can join any two points of $X$ by a path (line) which lies inside this set, does pathwise connectedness implies connectedness?
Observe that $P$ (unit open disc) and $Q$ (vertical line touching $P$ at $(1,0)$) are both convex, so path-connected.
It's clear that the segment $S = [\frac12, 1] \times \{0\}$ is contained in $P \cup Q$.
The segment $S$ is path connected, and both path connected $P$ and $Q$ have nonempty intersection with $S$, so $P \cup S \cup Q = P \cup Q$ is path connected.
(Edited in response to MikeMathMan's comment)
To show the path connectedness implies connectedness, we use a classic proof by contradiction. Let $X$ be a path-connected space and $U$, $V$ be two open sets that separate $X$. (i.e. $U \sqcup V = X$, where $\sqcup$ denotes disjoint union.) $\gamma: [0,1] \to X$ be a continuous path starting at $u \in U$ and ending at $v \in V$. (i.e. $\gamma(0) = u$, $\gamma(1) = v$) Due to the continuity of $\gamma$, $\gamma^{-1}(U)$ and $\gamma^{-1}(V)$ are both nonempty and open in $[0,1]$, but they separate $[0,1]$, contradiction.