qterminal-packaging/src/propertiesdialog.h
Andrew Lee (李健秋) 5a1e2ec42e Adding upstream version 0.6.0.
Signed-off-by: Andrew Lee (李健秋) <ajqlee@debian.org>
2015-08-16 00:50:31 +08:00

41 lines
878 B
C++

#ifndef PROPERTIESDIALOG_H
#define PROPERTIESDIALOG_H
#include "ui_propertiesdialog.h"
class PropertiesDialog : public QDialog, Ui::PropertiesDialog
{
Q_OBJECT
QString oldAccelText; // Placeholder when editing shortcut
public:
PropertiesDialog(QWidget *parent=NULL);
~PropertiesDialog();
signals:
void propertiesChanged();
private:
void setFontSample(const QFont & f);
void openBookmarksFile(const QString &fname);
void saveBookmarksFile(const QString &fname);
private slots:
void apply();
void accept();
void changeFontButton_clicked();
void bookmarksButton_clicked();
protected:
void setupShortcuts();
void saveShortcuts();
void recordAction(int row, int column);
void validateAction(int row, int column);
};
#endif