aboutsummaryrefslogtreecommitdiff
path: root/src/qmmpui/columneditor_p.h
diff options
context:
space:
mode:
authortrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2015-03-09 15:46:36 +0000
committertrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2015-03-09 15:46:36 +0000
commit9d0657e0fbaaa938818d48f444ab748ceed7693b (patch)
tree120d3ea5ff977ab38d2e3e7ebae1643512ff288b /src/qmmpui/columneditor_p.h
parent2deb29c63fd28d651ce637dd596cf7009f6a5b8b (diff)
downloadqmmp-9d0657e0fbaaa938818d48f444ab748ceed7693b.tar.gz
qmmp-9d0657e0fbaaa938818d48f444ab748ceed7693b.tar.bz2
qmmp-9d0657e0fbaaa938818d48f444ab748ceed7693b.zip
added column editor
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@4780 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/qmmpui/columneditor_p.h')
-rw-r--r--src/qmmpui/columneditor_p.h53
1 files changed, 53 insertions, 0 deletions
diff --git a/src/qmmpui/columneditor_p.h b/src/qmmpui/columneditor_p.h
new file mode 100644
index 000000000..4d5dc18e6
--- /dev/null
+++ b/src/qmmpui/columneditor_p.h
@@ -0,0 +1,53 @@
+/***************************************************************************
+ * Copyright (C) 2015 by Ilya Kotov *
+ * forkotov02@hotmail.ru *
+ * *
+ * This program is free software; you can redistribute it and/or modify *
+ * it under the terms of the GNU General Public License as published by *
+ * the Free Software Foundation; either version 2 of the License, or *
+ * (at your option) any later version. *
+ * *
+ * This program is distributed in the hope that it will be useful, *
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of *
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
+ * GNU General Public License for more details. *
+ * *
+ * You should have received a copy of the GNU General Public License *
+ * along with this program; if not, write to the *
+ * Free Software Foundation, Inc., *
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. *
+ ***************************************************************************/
+
+#ifndef COLUMNEDITOR_P_H
+#define COLUMNEDITOR_P_H
+
+#include <QDialog>
+
+namespace Ui {
+class ColumnEditor;
+}
+
+/*! @internal
+ @author Ilya Kotov <forkotov02@hotmail.ru>
+ */
+class ColumnEditor : public QDialog
+{
+ Q_OBJECT
+public:
+ explicit ColumnEditor(const QString &name, const QString &patt, QWidget *parent = 0);
+ ~ColumnEditor();
+
+ QString name() const;
+ QString pattern() const;
+
+private slots:
+ void insertExpression(QAction *a);
+ void on_comboBox_activated(int index);
+
+private:
+ void createMenu();
+ void fillTypes();
+ Ui::ColumnEditor *m_ui;
+};
+
+#endif // COLUMNEDITOR_P_H