comparison ui/createcertlistdialog.cpp @ 417:03c562b1a3ea

Fixed layout in TrustBridge Adminstration dialogs.
author Raimund Renkert <rrenkert@intevation.de>
date Wed, 16 Apr 2014 17:46:40 +0200
parents 860affe19416
children d7cda835abd6
comparison
equal deleted inserted replaced
416:847fdfd33a22 417:03c562b1a3ea
46 headerLayout->addWidget(header); 46 headerLayout->addWidget(header);
47 headerLayout->addLayout(headerSubLayout); 47 headerLayout->addLayout(headerSubLayout);
48 headerLayout->addWidget(headerSeparator); 48 headerLayout->addWidget(headerSeparator);
49 49
50 QLabel *certLabel = new QLabel("Select signature certificate (secret key):"); 50 QLabel *certLabel = new QLabel("Select signature certificate (secret key):");
51 certLabel->setFixedWidth(140); 51 certLabel->setFixedWidth(205);
52 mCertFile = new QLineEdit(); 52 mCertFile = new QLineEdit();
53 QPushButton *certSelect = new QPushButton("..."); 53 QPushButton *certSelect = new QPushButton("...");
54 connect(certSelect, SIGNAL(clicked()), this, SLOT(openCertificateSelect())); 54 connect(certSelect, SIGNAL(clicked()), this, SLOT(openCertificateSelect()));
55 certSelect->setFixedWidth(30); 55 certSelect->setFixedWidth(30);
56 certLayout->addWidget(certLabel); 56 certLayout->addWidget(certLabel);
57 certLayout->addWidget(mCertFile); 57 certLayout->addWidget(mCertFile);
58 certLayout->addWidget(certSelect); 58 certLayout->addWidget(certSelect);
59 59
60 QLabel *saveLabel = new QLabel("Select output folder:"); 60 QLabel *saveLabel = new QLabel("Select output folder:");
61 saveLabel->setFixedWidth(140); 61 saveLabel->setFixedWidth(205);
62 mSaveFile = new QLineEdit(); 62 mSaveFile = new QLineEdit();
63 QPushButton *saveSelect = new QPushButton("..."); 63 QPushButton *saveSelect = new QPushButton("...");
64 connect(saveSelect, SIGNAL(clicked()), this, SLOT(openSaveLocation())); 64 connect(saveSelect, SIGNAL(clicked()), this, SLOT(openSaveLocation()));
65 saveSelect->setFixedWidth(30); 65 saveSelect->setFixedWidth(30);
66 66
76 centerLayout->insertSpacing(0, 10); 76 centerLayout->insertSpacing(0, 10);
77 centerLayout->addLayout(certLayout); 77 centerLayout->addLayout(certLayout);
78 centerLayout->addLayout(saveLayout); 78 centerLayout->addLayout(saveLayout);
79 centerLayout->insertSpacing(3, 10); 79 centerLayout->insertSpacing(3, 10);
80 80
81 QPushButton *create = new QPushButton(tr("Create List")); 81 QPushButton *create = new QPushButton(tr("Sign list"));
82 connect(create, SIGNAL(clicked()), this, SLOT(createList())); 82 connect(create, SIGNAL(clicked()), this, SLOT(createList()));
83 QPushButton *cancel = new QPushButton(tr("Cancel")); 83 QPushButton *cancel = new QPushButton(tr("Cancel"));
84 connect(cancel, SIGNAL(clicked()), this, SLOT(close())); 84 connect(cancel, SIGNAL(clicked()), this, SLOT(close()));
85 bottomLayout->insertStretch(0, 10); 85 bottomLayout->insertStretch(0, 10);
86 bottomLayout->addWidget(create); 86 bottomLayout->addWidget(create);

http://wald.intevation.org/projects/trustbridge/