equal
deleted
inserted
replaced
1 /**************************************************************************** |
1 /**************************************************************************** |
2 ** |
2 ** |
3 ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). |
3 ** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). |
4 ** All rights reserved. |
4 ** All rights reserved. |
5 ** Contact: Nokia Corporation (qt-info@nokia.com) |
5 ** Contact: Nokia Corporation (qt-info@nokia.com) |
6 ** |
6 ** |
7 ** This file is part of the Qt Designer of the Qt Toolkit. |
7 ** This file is part of the Qt Designer of the Qt Toolkit. |
8 ** |
8 ** |
66 |
66 |
67 class QDESIGNER_SHARED_EXPORT QtResourceView : public QWidget |
67 class QDESIGNER_SHARED_EXPORT QtResourceView : public QWidget |
68 { |
68 { |
69 Q_OBJECT |
69 Q_OBJECT |
70 public: |
70 public: |
71 QtResourceView(QDesignerFormEditorInterface *core, QWidget *parent = 0); |
71 explicit QtResourceView(QDesignerFormEditorInterface *core, QWidget *parent = 0); |
72 ~QtResourceView(); |
72 ~QtResourceView(); |
73 |
73 |
74 void setDragEnabled(bool dragEnabled); |
74 void setDragEnabled(bool dragEnabled); |
75 bool dragEnabled() const; |
75 bool dragEnabled() const; |
76 |
76 |
118 |
118 |
119 class QDESIGNER_SHARED_EXPORT QtResourceViewDialog : public QDialog |
119 class QDESIGNER_SHARED_EXPORT QtResourceViewDialog : public QDialog |
120 { |
120 { |
121 Q_OBJECT |
121 Q_OBJECT |
122 public: |
122 public: |
123 QtResourceViewDialog(QDesignerFormEditorInterface *core, QWidget *parent = 0); |
123 explicit QtResourceViewDialog(QDesignerFormEditorInterface *core, QWidget *parent = 0); |
124 virtual ~QtResourceViewDialog(); |
124 virtual ~QtResourceViewDialog(); |
125 |
125 |
126 QString selectedResource() const; |
126 QString selectedResource() const; |
127 void selectResource(const QString &path); |
127 void selectResource(const QString &path); |
128 |
128 |