Pith - wedge_linux
wedge_linux/SettingsDialog.h [0.9 kb]
Modified: 19:17:31 63 026 (21 May 026)
9 Days Ago
#ifndef SETTINGSDIALOG_H
#define SETTINGSDIALOG_H

#include <QDialog>
#include <QComboBox>
#include <QCheckBox>
#include <QFontComboBox>
#include <QSpinBox>
#include <QPushButton>
#include <QLineEdit>
#include <QLabel>
#include "ConfigManager.h"

class SettingsDialog : public QDialog {
    Q_OBJECT
public:
    SettingsDialog(const NoteData &data, QWidget *parent = nullptr);
    NoteData getUpdatedData() const;

signals:
    void encryptRequested(const QString &phrase);
    void decryptRequested(const QString &phrase);

private:
    QFontComboBox *fontCombo;
    QSpinBox *sizeSpin;
    QCheckBox *autoStartCheck;
    QCheckBox *hideTaskbarCheck;
    QPushButton *bgColorBtn;
    QPushButton *textColorBtn;
    QPushButton *focusColorBtn;
    QLineEdit *phraseEdit;
    QPushButton *encryptBtn;
    QPushButton *decryptBtn;
    
    QColor currentBg;
    QColor currentText;
    QColor currentFocus;
    NoteData originalData;
};

#endif
Updates
Shim - Android 70.026.1
Wedge - Linux 68.026.1
Wedge - Android 68.026.1
Taper - Linux 64.026.1
Ayh Extension - Chrome 63.026.1
Dev
TVShow (227) 'CSA'
TVShow (228) 'APT'
TVProgram (83) 'BXT'
Miter Update(s)
Shim (Dictation)

Menu
Calendar
Project Tin (024/029)
Miter
RSS Feed
User Avatar
@vgmlr
=SUM(parts)