You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
41 lines
878 B
41 lines
878 B
9 years ago
|
#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
|
||
|
|