--- as_panel.cpp 2003/02/10 22:46:06 1.2
+++ as_panel.cpp 2003/02/11 14:19:57 1.3
@@ -71,47 +71,6 @@
m_pVlayout = new QVBoxLayout(this, 11, 6, "Formlayout");
m_pTabselect = new QTabWidget(this, "Tabselector");
- m_pGeneralpage = new QWidget(m_pTabselect, "Generalpage");
- m_pGenlayout = new QHBoxLayout(m_pGeneralpage, 11, 6, "Genlayout");
- m_pGenbox = new QGroupBox(m_pGeneralpage, "Groupboxlayout");
-
- m_pGenbox->setColumnLayout(0, Qt::Vertical);
- m_pGenbox->layout()->setSpacing(6);
- m_pGenbox->layout()->setMargin(11);
- m_pGenboxlay = new QHBoxLayout(m_pGenbox->layout());
- m_pGenboxlay->setAlignment(Qt::AlignTop);
-
- // Start of text entry preferences UI pieces
- m_pGeninner = new QGridLayout(0, 6, 2, 0, 12, "Innergrid");
- m_pAcctlabel = new QLabel(m_pGenbox, "Accfilelabel");
- m_pGeninner->addWidget(m_pAcctlabel, 0, 0);
- m_pAcctline = new QLineEdit(m_pGenbox, "Accountline");
- m_pGeninner->addWidget(m_pAcctline, 0, 1);
- m_pEventlabel = new QLabel(m_pGenbox, "Evntfilelabel");
- m_pGeninner->addWidget(m_pEventlabel, 1, 0);
- m_pEventline = new QLineEdit(m_pGenbox, "Eventline");
- m_pGeninner->addWidget(m_pEventline, 1, 1);
- m_pUserlabel = new QLabel(m_pGenbox, "Userlabel");
- m_pGeninner->addWidget(m_pUserlabel, 2, 0);
- m_pUserline = new QLineEdit(m_pGenbox, "Userline");
- m_pGeninner->addWidget(m_pUserline, 2, 1);
- m_pHomelabel = new QLabel(m_pGenbox, "Homelabel");
- m_pGeninner->addWidget(m_pHomelabel, 3, 0);
- m_pHomeline = new QLineEdit(m_pGenbox, "Homeline");
- m_pGeninner->addWidget(m_pHomeline, 3, 1);
- m_pCorbalabel = new QLabel(m_pGenbox, "Corbalabel");
- m_pGeninner->addWidget(m_pCorbalabel, 4, 0);
- m_pCorbaline = new QLineEdit(m_pGenbox, "Corbaline");
- m_pGeninner->addWidget(m_pCorbaline, 4, 1);
- m_pSoaplabel = new QLabel(m_pGenbox, "Soaplabel");
- m_pGeninner->addWidget(m_pSoaplabel, 5, 0);
- m_pSoapline = new QLineEdit(m_pGenbox, "Soapline");
- m_pGeninner->addWidget(m_pSoapline, 5, 1);
- m_pGenboxlay->addLayout(m_pGeninner);
-
- m_pGenlayout->addWidget(m_pGenbox);
- m_pTabselect->insertTab(m_pGeneralpage, "");
-
// Start of style chooser UI pieces
m_pBoolpage = new QWidget(m_pTabselect, "Tabpage");
m_pBoolayout = new QHBoxLayout(m_pBoolpage, 11, 6, "Genlayout");
@@ -171,6 +130,74 @@
m_pBoolayout->addWidget(m_pSwitchgroup);
m_pTabselect->insertTab(m_pBoolpage, "");
+
+ // Start of paths page UI pieces
+ m_pGeneralpage = new QWidget(m_pTabselect, "Generalpage");
+ m_pGenlayout = new QHBoxLayout(m_pGeneralpage, 11, 6, "Genlayout");
+ m_pGenbox = new QGroupBox(m_pGeneralpage, "Groupboxlayout");
+
+ m_pGenbox->setColumnLayout(0, Qt::Vertical);
+ m_pGenbox->layout()->setSpacing(6);
+ m_pGenbox->layout()->setMargin(11);
+ m_pGenboxlay = new QHBoxLayout(m_pGenbox->layout());
+ m_pGenboxlay->setAlignment(Qt::AlignTop);
+
+ // Start of path text entry preferences UI pieces
+ m_pGeninner = new QGridLayout(0, 4, 2, 0, 16, "Innergrid");
+ m_pAcctlabel = new QLabel(m_pGenbox, "Accfilelabel");
+ m_pGeninner->addWidget(m_pAcctlabel, 0, 0);
+ m_pAcctline = new QLineEdit(m_pGenbox, "Accountline");
+ m_pGeninner->addWidget(m_pAcctline, 0, 1);
+ m_pEventlabel = new QLabel(m_pGenbox, "Evntfilelabel");
+ m_pGeninner->addWidget(m_pEventlabel, 1, 0);
+ m_pEventline = new QLineEdit(m_pGenbox, "Eventline");
+ m_pGeninner->addWidget(m_pEventline, 1, 1);
+ m_pUserlabel = new QLabel(m_pGenbox, "Userlabel");
+ m_pGeninner->addWidget(m_pUserlabel, 2, 0);
+ m_pUserline = new QLineEdit(m_pGenbox, "Userline");
+ m_pGeninner->addWidget(m_pUserline, 2, 1);
+ m_pHomelabel = new QLabel(m_pGenbox, "Homelabel");
+ m_pGeninner->addWidget(m_pHomelabel, 3, 0);
+ m_pHomeline = new QLineEdit(m_pGenbox, "Homeline");
+ m_pGeninner->addWidget(m_pHomeline, 3, 1);
+ m_pGenboxlay->addLayout(m_pGeninner);
+
+ m_pGenlayout->addWidget(m_pGenbox);
+ m_pTabselect->insertTab(m_pGeneralpage, "");
+
+ // Start of remote page UI pieces
+ m_pRemotepage = new QWidget(m_pTabselect, "Remotepage");
+ m_pRemlayout = new QHBoxLayout(m_pRemotepage, 11, 6, "Remlayout");
+ m_pRembox = new QGroupBox(m_pRemotepage, "Remoteboxlayout");
+
+ m_pRembox->setColumnLayout(0, Qt::Vertical);
+ m_pRembox->layout()->setSpacing(6);
+ m_pRembox->layout()->setMargin(11);
+ m_pRemboxlay = new QHBoxLayout(m_pRembox->layout());
+ m_pRemboxlay->setAlignment(Qt::AlignTop);
+
+ // Start of RPC preferences UI pieces
+ m_pReminner = new QGridLayout(0, 5, 2, 0, 12, "Innergrid");
+ m_pCorbalabel = new QLabel(m_pRembox, "Corbalabel");
+ m_pReminner->addWidget(m_pCorbalabel, 0, 0);
+ m_pCorbaline = new QLineEdit(m_pRembox, "Corbaline");
+ m_pReminner->addWidget(m_pCorbaline, 0, 1);
+ m_pCorbacheck = new QCheckBox(m_pRembox, "Corbacheckbox");
+ m_pReminner->addWidget(m_pCorbacheck, 1, 1);
+ QSpacerItem *Spacey = new QSpacerItem(6, 12, QSizePolicy::Minimum, QSizePolicy::Minimum);
+ m_pReminner->addItem(Spacey, 2, 0);
+ m_pSoaplabel = new QLabel(m_pRembox, "Soaplabel");
+ m_pReminner->addWidget(m_pSoaplabel, 3, 0);
+ m_pSoapline = new QLineEdit(m_pRembox, "Soapline");
+ m_pReminner->addWidget(m_pSoapline, 3, 1);
+ m_pSoapcheck = new QCheckBox(m_pRembox, "Corbacheckbox");
+ m_pReminner->addWidget(m_pSoapcheck, 4, 1);
+ m_pRemboxlay->addLayout(m_pReminner);
+
+ m_pRemlayout->addWidget(m_pRembox);
+ m_pTabselect->insertTab(m_pRemotepage, "");
+
+ // Finally add the damn pages to the tab selector widget!
m_pVlayout->addWidget(m_pTabselect);
// Start of bottom buttons for aknowlegement and commital of changes
@@ -210,8 +237,9 @@
{
this->setCaption(tr("AS Applicate Preferences", "Personal preferences are persistent across sessions"));
- m_pTabselect->changeTab(m_pGeneralpage, tr("General"));
m_pTabselect->changeTab(m_pBoolpage, tr("Styles"));
+ m_pTabselect->changeTab(m_pGeneralpage, tr("Paths"));
+ m_pTabselect->changeTab(m_pRemotepage, tr("Remote"));
m_pOkaybutton->setText(tr("Okay", "Comment for Okaybutton"));
QToolTip::add(m_pOkaybutton, tr("Applies and saves changes", "Comment for tooltip Okaybutton"));
@@ -225,20 +253,30 @@
QToolTip::add(m_pCancelbutton, tr("Cancel any changes", "Comment for toolTip Cancelbutton"));
QWhatsThis::add(m_pCancelbutton, tr("The cancel button cancels any changes", "Comment for whatsThis Cancelbutton"));
- m_pGenbox->setTitle(tr("Names and numbers", "Comment for Genbox"));
+ m_pGenbox->setTitle(tr("File and directory paths", "Comment for Genbox"));
m_pAcctlabel->setText(tr("Accounts path", "Comment for Acctlabel"));
m_pEventlabel->setText(tr("Events path", "Comment for Eventlabel"));
m_pUserlabel->setText(tr("User name", "Comment for Userlabel"));
m_pHomelabel->setText(tr("Home directory", "Comment for Homelabel"));
- m_pCorbalabel->setText(tr("CORBA host", "Comment for Corbalabel"));
- m_pSoaplabel->setText(tr("SOAP host", "Comment for Soaplabel"));
QToolTip::add(m_pAcctline, tr("The accounts file pathname", "Comment for toolTip Acctline"));
QToolTip::add(m_pEventline, tr("The events file pathname", "Comment for toolTip Eventline"));
QToolTip::add(m_pUserline, tr("The user name", "Comment for toolTip Userline"));
QToolTip::add(m_pHomeline, tr("The home directory", "Comment for toolTip Homeline"));
+
+ m_pRembox->setTitle(tr("Remote host names", "Comment for Genbox"));
+ m_pCorbalabel->setText(tr("CORBA host", "Comment for Corbalabel"));
+ m_pSoaplabel->setText(tr("SOAP host", "Comment for Soaplabel"));
QToolTip::add(m_pCorbaline, tr("The CORBA host name", "Comment for toolTip Corbaline"));
QToolTip::add(m_pSoapline, tr("The SOAP host name", "Comment for toolTip Soapline"));
+ m_pCorbacheck->setText(tr("Enable IIOP transmission", "Comment for Corbacheck"));
+ QToolTip::add(m_pCorbacheck, tr("Will enable transmission over IIOP", "Comment for toolTip Corbacheck"));
+ QWhatsThis::add(m_pCorbacheck, tr("Check this box to enable transmission to a CORBA host", "Comment whatsThis for Corbacheck"));
+
+ m_pSoapcheck->setText(tr("Enable SOAP transmission", "Comment for Soapcheck"));
+ QToolTip::add(m_pSoapcheck, tr("Will enable transmission over SOAP", "Comment for toolTip Soapcheck"));
+ QWhatsThis::add(m_pSoapcheck, tr("Check this box to enable transmission over to a SOAP host", "Comment whatsThis for Soapcheck"));
+
m_pStylegroup->setTitle(tr("Available styles", "Comment for Stylebuttons"));
// QToolTip::add(m_pStylegroup, tr("Tooltip for Stylebutton", "Comment for toolTip Stylebutton"));
// QWhatsThis::add(m_pStylegroup, tr("Whatsthis for Stylebutton", "Comment for whatsThis Stylebuttons"));
|