comparison ui/createinstallerdialog.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 3d803d383b41
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 *archiveLabel = new QLabel(tr("Select source archive:")); 50 QLabel *archiveLabel = new QLabel(tr("Select source archive:"));
51 archiveLabel->setFixedWidth(140); 51 archiveLabel->setFixedWidth(225);
52 mArchiveFile = new QLineEdit(); 52 mArchiveFile = new QLineEdit();
53 QPushButton *archiveSelect = new QPushButton("..."); 53 QPushButton *archiveSelect = new QPushButton("...");
54 connect(archiveSelect, SIGNAL(clicked()), this, SLOT(openArchiveSelect())); 54 connect(archiveSelect, SIGNAL(clicked()), this, SLOT(openArchiveSelect()));
55 archiveSelect->setFixedWidth(30); 55 archiveSelect->setFixedWidth(30);
56 archiveLayout->addWidget(archiveLabel); 56 archiveLayout->addWidget(archiveLabel);
57 archiveLayout->addWidget(mArchiveFile); 57 archiveLayout->addWidget(mArchiveFile);
58 archiveLayout->addWidget(archiveSelect); 58 archiveLayout->addWidget(archiveSelect);
59 59
60 QLabel *certLabel = new QLabel(tr("Select code signing certificate (secret key):")); 60 QLabel *certLabel = new QLabel(tr("Select code signing certificate (secret key):"));
61 certLabel->setFixedWidth(140); 61 certLabel->setFixedWidth(225);
62 mCertFile = new QLineEdit(); 62 mCertFile = new QLineEdit();
63 QPushButton *certSelect = new QPushButton("..."); 63 QPushButton *certSelect = new QPushButton("...");
64 connect(certSelect, SIGNAL(clicked()), this, SLOT(openCertificateSelect())); 64 connect(certSelect, SIGNAL(clicked()), this, SLOT(openCertificateSelect()));
65 certSelect->setFixedWidth(30); 65 certSelect->setFixedWidth(30);
66 certLayout->addWidget(certLabel); 66 certLayout->addWidget(certLabel);
67 certLayout->addWidget(mCertFile); 67 certLayout->addWidget(mCertFile);
68 certLayout->addWidget(certSelect); 68 certLayout->addWidget(certSelect);
69 69
70 QLabel *saveLabel = new QLabel(tr("Select output folder:")); 70 QLabel *saveLabel = new QLabel(tr("Select output folder:"));
71 saveLabel->setFixedWidth(140); 71 saveLabel->setFixedWidth(225);
72 mSaveFile = new QLineEdit(); 72 mSaveFile = new QLineEdit();
73 QPushButton *saveSelect = new QPushButton("..."); 73 QPushButton *saveSelect = new QPushButton("...");
74 connect(saveSelect, SIGNAL(clicked()), this, SLOT(openSaveLocation())); 74 connect(saveSelect, SIGNAL(clicked()), this, SLOT(openSaveLocation()));
75 saveSelect->setFixedWidth(30); 75 saveSelect->setFixedWidth(30);
76 saveLayout->addWidget(saveLabel); 76 saveLayout->addWidget(saveLabel);

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