mirror of
https://github.com/githubuser0xFFFF/Qt-Advanced-Docking-System.git
synced 2025-02-05 02:26:46 +08:00
1a11e5ddcd
Adde option to set a dock widget as central widget. It influences resizing behavior of the splitters. The central widget will be stretched with the main window and remaing dock widgets and threir respective areas will be resized only vertically if docked left or right and horizontaly if docked top or bottom
18 lines
246 B
C++
18 lines
246 B
C++
#ifndef DIGITALCLOCK_H
|
|
#define DIGITALCLOCK_H
|
|
|
|
#include <QLCDNumber>
|
|
|
|
class CDigitalClock : public QLCDNumber
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
CDigitalClock(QWidget *parent = nullptr);
|
|
|
|
private slots:
|
|
void showTime();
|
|
};
|
|
|
|
#endif // DIGITALCLOCK_H
|