mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-23 02:10:52 +01:00
Il est desormais possible de specifier un widget parent pour les dialogues de la classe ElementDialog
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@734 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -42,7 +42,7 @@ class ElementDialog : public QObject {
|
||||
|
||||
// constructeurs, destructeur
|
||||
public:
|
||||
ElementDialog(uint = ElementDialog::OpenElement, QObject * = 0);
|
||||
ElementDialog(uint = ElementDialog::OpenElement, QWidget * = 0, QObject * = 0);
|
||||
virtual ~ElementDialog();
|
||||
private:
|
||||
ElementDialog(const ElementDialog &);
|
||||
@@ -51,13 +51,13 @@ class ElementDialog : public QObject {
|
||||
public:
|
||||
int exec();
|
||||
ElementsLocation location() const;
|
||||
static ElementsLocation getExistingCategoryLocation();
|
||||
static ElementsLocation getNewCategoryLocation();
|
||||
static ElementsLocation getOpenElementLocation();
|
||||
static ElementsLocation getSaveElementLocation();
|
||||
static ElementsLocation getExistingCategoryLocation(QWidget * = 0);
|
||||
static ElementsLocation getNewCategoryLocation(QWidget * = 0);
|
||||
static ElementsLocation getOpenElementLocation(QWidget * = 0);
|
||||
static ElementsLocation getSaveElementLocation(QWidget * = 0);
|
||||
|
||||
private:
|
||||
static ElementsLocation execConfiguredDialog(int);
|
||||
static ElementsLocation execConfiguredDialog(int, QWidget * = 0);
|
||||
|
||||
private slots:
|
||||
void locationChanged(const ElementsLocation &);
|
||||
|
||||
Reference in New Issue
Block a user