-SystrayNotificationBackend::ConfigWidget::ConfigWidget(QWidget *parent) : SettingsPage("Internal", "SystrayNotification", parent) {
- QGroupBox *groupBox = new QGroupBox(tr("System Tray Icon"), this);
- _animateBox = new QCheckBox(tr("Animate"));
- connect(_animateBox, SIGNAL(toggled(bool)), this, SLOT(widgetChanged()));
- _showBubbleBox = new QCheckBox(tr("Show bubble"));
- connect(_showBubbleBox, SIGNAL(toggled(bool)), this, SLOT(widgetChanged()));
- QVBoxLayout *layout = new QVBoxLayout(groupBox);
- layout->addWidget(_animateBox);
- layout->addWidget(_showBubbleBox);
- layout->addStretch(1);
- QVBoxLayout *globalLayout = new QVBoxLayout(this);
- globalLayout->addWidget(groupBox);