added cmd lineedit and changed some ui minor elements

remotes/origin/HEAD
Tobias Weiss 7 years ago
parent 360f71210b
commit 70350155c1

@ -23,9 +23,9 @@ default_receipt_index=0
# The URL address of your lab's ORSEE # The URL address of your lab's ORSEE
orsee_url=http://yourORSEEserver.tld orsee_url=http://yourORSEEserver.tld
# URLs to available webcams # URLs to available webcams
webcams=http://user:pass@webcam_left|http://user:pass@webcam_right webcams=http://user:pass@webcam_right|http://user:pass@webcam_left
# Display names for the webcams # Display names for the webcams
webcam_names="Webcam right|Webcam left" webcams_names="Webcam right|Webcam left"
### Client settings ### Client settings
# The client settings are represented as an array. So the info of the first client stands in the first field in every section and the same is valid for the other clients with other indices each. # The client settings are represented as an array. So the info of the first client stands in the first field in every section and the same is valid for the other clients with other indices each.

@ -23,8 +23,10 @@
#include "client.h" #include "client.h"
#include "settings.h" #include "settings.h"
#include "lablib.h"
extern std::unique_ptr< lc::Settings > settings; extern std::unique_ptr< lc::Settings > settings;
extern std::unique_ptr< lc::Lablib > lablib;
lc::Client::Client( const QString &argIP, const QString &argMAC, const QString &argName, lc::Client::Client( const QString &argIP, const QString &argMAC, const QString &argName,
unsigned short int argXPosition, unsigned short int argYPosition, unsigned short int argXPosition, unsigned short int argYPosition,
@ -250,7 +252,7 @@ void lc::Client::Shutdown() {
GotStatusChanged( state_t::SHUTTING_DOWN ); GotStatusChanged( state_t::SHUTTING_DOWN );
} }
void lc::Client::StartZLeaf( const QString * argFakeName ) { void lc::Client::StartZLeaf( const QString * argFakeName, QString cmd ) {
if ( state < state_t::RESPONDING || zLeafVersion.isEmpty() || GetSessionPort() < 7000 ) { if ( state < state_t::RESPONDING || zLeafVersion.isEmpty() || GetSessionPort() < 7000 ) {
return; return;
} }
@ -269,32 +271,22 @@ void lc::Client::StartZLeaf( const QString * argFakeName ) {
if ( ( messageBoxRunningZLeafFound.get() != nullptr if ( ( messageBoxRunningZLeafFound.get() != nullptr
&& messageBoxRunningZLeafFound->clickedButton() && messageBoxRunningZLeafFound->clickedButton()
== messageBoxRunningZLeafFound->button( QMessageBox::Yes ) ) == messageBoxRunningZLeafFound->button( QMessageBox::Yes ) )
|| state != state_t::ZLEAF_RUNNING ) { || state != state_t::ZLEAF_RUNNING ) {
QStringList arguments; QStringList arguments;
if ( argFakeName == nullptr && GetSessionPort() == 7000 ) { if ( argFakeName == nullptr && GetSessionPort() == 7000 ) {
arguments << "-i" << settings->pkeyPathUser arguments << "-i" << settings->pkeyPathUser
<< QString{ settings->userNameOnClients + "@" + ip } << QString{ settings->userNameOnClients + "@" + ip }
<< "DISPLAY=:0.0" << settings->tasksetCmd << "0x00000001" << settings->wineCmd << cmd;
<< QString{ settings->zTreeInstDir + "/zTree_" + GetzLeafVersion() + "/zleaf.exe" } } else if ( argFakeName == nullptr ) {
<< "/server" << settings->serverIP; arguments << "-i" << settings->pkeyPathUser
<< QString{ settings->userNameOnClients + "@" + ip }
<< cmd;
} else { } else {
if ( argFakeName == nullptr ) { arguments << "-i" << settings->pkeyPathUser
arguments << "-i" << settings->pkeyPathUser << QString{ settings->userNameOnClients + "@" + ip }
<< QString{ settings->userNameOnClients + "@" + ip } << cmd
<< "DISPLAY=:0.0" << settings->tasksetCmd << "0x00000001" << settings->wineCmd << "/name" << *argFakeName;
<< QString{ settings->zTreeInstDir + "/zTree_" + GetzLeafVersion() + "/zleaf.exe" }
<< "/server" << settings->serverIP << "/channel"
<< QString::number( GetSessionPort() - 7000 );
} else {
arguments << "-i" << settings->pkeyPathUser
<< QString{ settings->userNameOnClients + "@" + ip }
<< "DISPLAY=:0.0" << settings->tasksetCmd << "0x00000001" << settings->wineCmd
<< QString{ settings->zTreeInstDir + "/zTree_" + GetzLeafVersion() + "/zleaf.exe" }
<< "/server" << settings->serverIP << "/channel"
<< QString::number( GetSessionPort() - 7000 )
<< "/name" << *argFakeName;
}
} }
// Start the process // Start the process

@ -96,7 +96,7 @@ public:
void OpenFilesystem( const QString * const argUserToBeUsed ); void OpenFilesystem( const QString * const argUserToBeUsed );
/*! /*!
* \brief Opens a terminal for the client * \brief Opens a terminal for the client
* \param argCommand A command which shall be executed in the terminal window (Pass an empty QString if not wanted) * \param argCommand A command which shall be executed in the terminal window (Pass an empty QString if not wanted)
* \param argOpenAsRoot Run the terminal session as root (true) or as normal user (false) * \param argOpenAsRoot Run the terminal session as root (true) or as normal user (false)
*/ */
void OpenTerminal( const QString &argCommand, const bool &argOpenAsRoot ); void OpenTerminal( const QString &argCommand, const bool &argOpenAsRoot );
@ -109,16 +109,19 @@ public:
* \brief Shuts down the client * \brief Shuts down the client
*/ */
void Shutdown(); void Shutdown();
//! Starts a zLeaf instance on the client
/*! /*!
@param argFakeName The name the zLeaf instance shall have (if not the default, which is the hostname of the client) * \brief Starts a zLeaf instance on the client
* @param argFakeName The name the zLeaf instance shall have (if not the default, which is the hostname of the client)
*/ */
void StartZLeaf(const QString *argFakeName = nullptr ); void StartZLeaf(const QString *argFakeName = nullptr, QString cmd = "" );
/*! /*!
* \brief Opens a browser window on the client * \brief Opens a browser window on the client
* @param argURL URL to open in clients browser * @param argURL URL to open in clients browser
*/ */
void StartClientBrowser( const QString *argURL = nullptr, const bool *argFullscreen = nullptr ); void StartClientBrowser( const QString *argURL = nullptr, const bool *argFullscreen = nullptr );
/*! /*!
* \brief Closes all browser instances * \brief Closes all browser instances
*/ */

@ -167,3 +167,20 @@ void lc::Lablib::SetLocalZLeafDefaultName( const QString &argName ) {
settings->SetLocalzLeafName( argName ); settings->SetLocalzLeafName( argName );
labSettings.setValue( "local_zLeaf_name", argName ); labSettings.setValue( "local_zLeaf_name", argName );
} }
//Returns the commandline that is issued on the client when zleaf is started
QStringList lc::Lablib::getzLeafArgs( int sessionPort, QString zleafVersion ){
QStringList arguments;
if ( sessionPort == 7000 ) {
arguments << "DISPLAY=:0.0" << settings->tasksetCmd << "0x00000001" << settings->wineCmd
<< QString{ settings->zTreeInstDir + "/zTree_" + zleafVersion + "/zleaf.exe" }
<< "/server" << settings->serverIP;
} else {
arguments << "DISPLAY=:0.0" << settings->tasksetCmd << "0x00000001" << settings->wineCmd
<< QString{ settings->zTreeInstDir + "/zTree_" + zleafVersion + "/zleaf.exe" }
<< "/server" << settings->serverIP << "/channel"
<< QString::number( sessionPort- 7000 );
}
return arguments;
}

@ -93,6 +93,14 @@ public:
QString argzTreeDataTargetPath, quint16 argzTreePort, QString argzTreeDataTargetPath, quint16 argzTreePort,
QString argzTreeVersion ); QString argzTreeVersion );
/*!
* \brief Returns the commandline to issue on the client(s) in order to start zLeaf
* @param sessionPort The port zLeaf shall connect to
* @param zLeafVersion zLeaf Version to start
*/
QStringList getzLeafArgs( int sessionPort, QString zleafVersion );
public slots: public slots:
signals: signals:

@ -112,6 +112,8 @@ lc::Settings::Settings( const QSettings &argSettings, QObject *argParent ) :
argSettings, true ) }, argSettings, true ) },
webcams{ argSettings.value( "webcams", "" ).toString().split( '|', QString::SkipEmptyParts, webcams{ argSettings.value( "webcams", "" ).toString().split( '|', QString::SkipEmptyParts,
Qt::CaseInsensitive ) }, Qt::CaseInsensitive ) },
webcams_names{ argSettings.value( "webcams_names", "" ).toString().split( '|', QString::SkipEmptyParts,
Qt::CaseInsensitive ) },
wineCmd{ ReadSettingsItem( "wine_command", wineCmd{ ReadSettingsItem( "wine_command",
"Running z-Leaves or z-Tree will be possible.", "Running z-Leaves or z-Tree will be possible.",
argSettings, true ) }, argSettings, true ) },

@ -78,6 +78,7 @@ public:
const QString wakeonlanCmd; const QString wakeonlanCmd;
const QString webcamDisplayCmd; const QString webcamDisplayCmd;
const QStringList webcams; const QStringList webcams;
const QStringList webcams_names;
const QString wineCmd; const QString wineCmd;
const QString wmctrlCmd; const QString wmctrlCmd;
const QString xsetCmd; const QString xsetCmd;

@ -106,7 +106,7 @@ void lc::MainWindow::DisableDisfunctionalWidgets() {
if ( zTreeEntries.isEmpty() ) { if ( zTreeEntries.isEmpty() ) {
ui->CBClientNames->setEnabled( false ); ui->CBClientNames->setEnabled( false );
//ui->GBzTree->setEnabled( false ); //ui->GBzTree->setEnabled( false );
ui->LFakeName->setEnabled( false ); ui->L_FakeName->setEnabled( false );
ui->PBRunzLeaf->setEnabled( false ); ui->PBRunzLeaf->setEnabled( false );
ui->PBStartLocalzLeaf->setEnabled( false ); ui->PBStartLocalzLeaf->setEnabled( false );
ui->PBStartzLeaf->setEnabled( false ); ui->PBStartzLeaf->setEnabled( false );
@ -123,8 +123,8 @@ void lc::MainWindow::DisableDisfunctionalWidgets() {
ui->CBWebcamChooser->setEnabled( false ); ui->CBWebcamChooser->setEnabled( false );
ui->GBClientActions->setEnabled( false ); ui->GBClientActions->setEnabled( false );
ui->LEFilePath->setEnabled( false ); ui->LEFilePath->setEnabled( false );
ui->LFakeName->setEnabled( false ); ui->L_FakeName->setEnabled( false );
ui->LWebcamChooser->setEnabled( false ); ui->L_WebcamChooser->setEnabled( false );
ui->PBBeamFile->setEnabled( false ); ui->PBBeamFile->setEnabled( false );
ui->PBChooseFile->setEnabled( false ); ui->PBChooseFile->setEnabled( false );
ui->PBKillLocalzLeaf->setEnabled( false ); ui->PBKillLocalzLeaf->setEnabled( false );
@ -154,7 +154,7 @@ void lc::MainWindow::DisableDisfunctionalWidgets() {
|| settings->userNameOnClients.isEmpty() ) { || settings->userNameOnClients.isEmpty() ) {
ui->CBClientNames->setEnabled( false ); ui->CBClientNames->setEnabled( false );
ui->LEFilePath->setEnabled( false ); ui->LEFilePath->setEnabled( false );
ui->LFakeName->setEnabled( false ); ui->L_FakeName->setEnabled( false );
ui->PBBeamFile->setEnabled( false ); ui->PBBeamFile->setEnabled( false );
ui->PBChooseFile->setEnabled( false ); ui->PBChooseFile->setEnabled( false );
ui->PBKillzLeaf->setEnabled( false ); ui->PBKillzLeaf->setEnabled( false );
@ -195,7 +195,7 @@ void lc::MainWindow::DisableDisfunctionalWidgets() {
if ( settings->sshCmd.isEmpty() ) { if ( settings->sshCmd.isEmpty() ) {
ui->CBClientNames->setEnabled( false ); ui->CBClientNames->setEnabled( false );
ui->GBClientActions->setEnabled( false ); ui->GBClientActions->setEnabled( false );
ui->LFakeName->setEnabled( false ); ui->L_FakeName->setEnabled( false );
ui->LEFilePath->setEnabled( false ); ui->LEFilePath->setEnabled( false );
ui->PBBeamFile->setEnabled( false ); ui->PBBeamFile->setEnabled( false );
ui->PBChooseFile->setEnabled( false ); ui->PBChooseFile->setEnabled( false );
@ -208,7 +208,7 @@ void lc::MainWindow::DisableDisfunctionalWidgets() {
if ( settings->tasksetCmd.isEmpty() ) { if ( settings->tasksetCmd.isEmpty() ) {
ui->CBClientNames->setEnabled( false ); ui->CBClientNames->setEnabled( false );
ui->LFakeName->setEnabled( false ); ui->L_FakeName->setEnabled( false );
ui->PBRunzLeaf->setEnabled( false ); ui->PBRunzLeaf->setEnabled( false );
ui->PBStartSession->setEnabled( false ); ui->PBStartSession->setEnabled( false );
ui->PBStartLocalzLeaf->setEnabled( false ); ui->PBStartLocalzLeaf->setEnabled( false );
@ -236,12 +236,12 @@ void lc::MainWindow::DisableDisfunctionalWidgets() {
if ( settings->webcamDisplayCmd.isEmpty() if ( settings->webcamDisplayCmd.isEmpty()
|| settings->webcams.isEmpty() ) { || settings->webcams.isEmpty() ) {
ui->CBWebcamChooser->setEnabled( false ); ui->CBWebcamChooser->setEnabled( false );
ui->LWebcamChooser->setEnabled( false ); ui->L_WebcamChooser->setEnabled( false );
} }
if ( settings->wineCmd.isEmpty() ) { if ( settings->wineCmd.isEmpty() ) {
ui->CBClientNames->setEnabled( false ); ui->CBClientNames->setEnabled( false );
ui->LFakeName->setEnabled( false ); ui->L_FakeName->setEnabled( false );
ui->PBRunzLeaf->setEnabled( false ); ui->PBRunzLeaf->setEnabled( false );
//ui->PBStartSession->setEnabled( false ); //ui->PBStartSession->setEnabled( false );
ui->PBStartLocalzLeaf->setEnabled( false ); ui->PBStartLocalzLeaf->setEnabled( false );
@ -250,7 +250,7 @@ void lc::MainWindow::DisableDisfunctionalWidgets() {
if ( settings->zTreeInstDir.isEmpty() ) { if ( settings->zTreeInstDir.isEmpty() ) {
ui->CBClientNames->setEnabled( false ); ui->CBClientNames->setEnabled( false );
ui->LFakeName->setEnabled( false ); ui->L_FakeName->setEnabled( false );
ui->PBRunzLeaf->setEnabled( false ); ui->PBRunzLeaf->setEnabled( false );
ui->PBStartSession->setEnabled( false ); ui->PBStartSession->setEnabled( false );
ui->PBStartLocalzLeaf->setEnabled( false ); ui->PBStartLocalzLeaf->setEnabled( false );
@ -375,7 +375,7 @@ void lc::MainWindow::SetupWidgets() {
ui->CBClientNames->setEnabled( false ); ui->CBClientNames->setEnabled( false );
ui->GBClientActions->setEnabled( false ); ui->GBClientActions->setEnabled( false );
ui->LEFilePath->setEnabled( false ); ui->LEFilePath->setEnabled( false );
ui->LFakeName->setEnabled( false ); ui->L_FakeName->setEnabled( false );
ui->PBBeamFile->setEnabled( false ); ui->PBBeamFile->setEnabled( false );
ui->PBChooseFile->setEnabled( false ); ui->PBChooseFile->setEnabled( false );
ui->PBRunzLeaf->setEnabled( false ); ui->PBRunzLeaf->setEnabled( false );
@ -385,18 +385,18 @@ void lc::MainWindow::SetupWidgets() {
// Fill the 'CBWebcamChooser' with all available network webcams // Fill the 'CBWebcamChooser' with all available network webcams
if ( !settings->webcams.isEmpty() ) { if ( !settings->webcams.isEmpty() ) {
for ( const auto &s : settings->webcams ) for ( const auto &s : settings->webcams_names )
ui->CBWebcamChooser->addItem( s ); ui->CBWebcamChooser->addItem( s );
} }
// Disable the admin tab if the user has no administrative rights and set it up // Disable the admin tab if the user has no administrative rights and set it up
if ( CheckIfUserIsAdmin() ) { if ( CheckIfUserIsAdmin() ) {
ui->TAdminActions->setEnabled( true ); ui->TAdminActions->setEnabled( true );
ui->LAdministrativeRights->setText( tr( "You have administrative rights." ) ); ui->L_AdministrativeRights->setText( tr( "You have administrative rights." ) );
} else { } else {
ui->LAdministrativeRights->setText( tr( "You don't have administrative rights." ) ); ui->L_AdministrativeRights->setText( tr( "You don't have administrative rights." ) );
} }
ui->LUserName->setText( tr( "You are user %1" ).arg( settings->localUserName ) ); ui->L_UserName->setText( tr( "You are user %1" ).arg( settings->localUserName ) );
if ( !settings->userNameOnClients.isEmpty() ) { if ( !settings->userNameOnClients.isEmpty() ) {
ui->RBUseLocalUser->setText( settings->userNameOnClients ); ui->RBUseLocalUser->setText( settings->userNameOnClients );
} else { } else {
@ -569,7 +569,10 @@ void lc::MainWindow::on_CBWebcamChooser_activated( int argIndex ) {
if ( argIndex != 0 ) { if ( argIndex != 0 ) {
QString program{ settings->webcamDisplayCmd }; QString program{ settings->webcamDisplayCmd };
QStringList arguments; QStringList arguments;
arguments << ui->CBWebcamChooser->currentText();
// Attention argIndex is NOT 0-based
arguments << settings->webcams[argIndex-1];
qDebug() << "Webcam" << arguments << "will be opened";
QProcess showWebcamProcess; QProcess showWebcamProcess;
QProcessEnvironment env = QProcessEnvironment::systemEnvironment(); QProcessEnvironment env = QProcessEnvironment::systemEnvironment();
@ -674,6 +677,7 @@ void lc::MainWindow::StartLocalzLeaf( QString argzLeafName, QString argzLeafVers
arguments << "/size" << QString{ settings->localzLeafSize }; arguments << "/size" << QString{ settings->localzLeafSize };
} }
qDebug() << "Start local zLeaf:" << arguments;
startProc.startDetached( settings->tasksetCmd, arguments ); startProc.startDetached( settings->tasksetCmd, arguments );
} }
@ -789,19 +793,24 @@ void lc::MainWindow::on_PBStartSession_clicked() {
static_cast< quint16 >( ui->SBPort->value() ), static_cast< quint16 >( ui->SBPort->value() ),
ui->CBzTreeVersion->currentText() ); ui->CBzTreeVersion->currentText() );
//Display the command line
QString cmd = this->lablib->getzLeafArgs( ui->SBPort->value(), ui->CBzTreeVersion->currentText()).join(" ");
ui->LEzLeafCommandline->setText(cmd);
//Start z-Leaf on selected clients if checkbox is activated //Start z-Leaf on selected clients if checkbox is activated
if( ui->ChBautoStartClientZleaf->isChecked() ) { if( ui->ChBautoStartClientZleaf->isChecked() ) {
for ( auto cit = activatedItems.cbegin(); cit != activatedItems.cend(); ++cit ) { for ( auto cit = activatedItems.cbegin(); cit != activatedItems.cend(); ++cit ) {
if ( ( *cit ).data( Qt::DisplayRole ).type() != 0 ) { if ( ( *cit ).data( Qt::DisplayRole ).type() != 0 ) {
Client *client = static_cast< Client* >( ( *cit ).data( Qt::UserRole ).value< void * >() ); Client *client = static_cast< Client* >( ( *cit ).data( Qt::UserRole ).value< void * >() );
client->StartZLeaf( nullptr ); client->StartZLeaf( nullptr, cmd );
} }
} }
} }
//Set port to +1 //Set chosen Port
settings->SetChosenZTreePort(ui->SBPort->text().toInt());
// Increment port number
int newPort = ui->SBPort->text().toInt() + 1; int newPort = ui->SBPort->text().toInt() + 1;
settings->SetChosenZTreePort(newPort);
ui->SBPort->setValue(newPort); ui->SBPort->setValue(newPort);
} }

@ -101,7 +101,7 @@
</property> </property>
<layout class="QVBoxLayout" name="verticalLayout_3"> <layout class="QVBoxLayout" name="verticalLayout_3">
<item> <item>
<widget class="QLabel" name="LPlanSession"> <widget class="QLabel" name="L_PlanSession">
<property name="text"> <property name="text">
<string>Plan a session or print attendee list</string> <string>Plan a session or print attendee list</string>
</property> </property>
@ -122,7 +122,7 @@
</widget> </widget>
</item> </item>
<item> <item>
<widget class="QLabel" name="LPrintLocalFiles"> <widget class="QLabel" name="L_PrintLocalFiles">
<property name="text"> <property name="text">
<string>Print local files</string> <string>Print local files</string>
</property> </property>
@ -153,7 +153,7 @@
</widget> </widget>
</item> </item>
<item> <item>
<widget class="QLabel" name="LWebcamChooser"> <widget class="QLabel" name="L_WebcamChooser">
<property name="text"> <property name="text">
<string>Show webcams</string> <string>Show webcams</string>
</property> </property>
@ -207,7 +207,7 @@
</property> </property>
<layout class="QVBoxLayout" name="verticalLayout_5"> <layout class="QVBoxLayout" name="verticalLayout_5">
<item> <item>
<widget class="QLabel" name="LClientBootShutdown"> <widget class="QLabel" name="L_ClientBootShutdown">
<property name="text"> <property name="text">
<string>Switch the selected clients on or off</string> <string>Switch the selected clients on or off</string>
</property> </property>
@ -248,7 +248,7 @@
</widget> </widget>
</item> </item>
<item> <item>
<widget class="QLabel" name="LVNC"> <widget class="QLabel" name="L_VNC">
<property name="text"> <property name="text">
<string>Remote control the selected clients</string> <string>Remote control the selected clients</string>
</property> </property>
@ -329,7 +329,7 @@
</widget> </widget>
</item> </item>
<item> <item>
<widget class="QLabel" name="LBrowserActions"> <widget class="QLabel" name="L_BrowserActions">
<property name="text"> <property name="text">
<string>Start browser on the selected clients</string> <string>Start browser on the selected clients</string>
</property> </property>
@ -338,7 +338,7 @@
<item> <item>
<layout class="QHBoxLayout" name="HLURL"> <layout class="QHBoxLayout" name="HLURL">
<item> <item>
<widget class="QLabel" name="LURL"> <widget class="QLabel" name="L_URL">
<property name="text"> <property name="text">
<string>URL:</string> <string>URL:</string>
</property> </property>
@ -425,7 +425,7 @@
</property> </property>
<layout class="QVBoxLayout" name="VLcleanupRecoverLastSession"> <layout class="QVBoxLayout" name="VLcleanupRecoverLastSession">
<item> <item>
<widget class="QLabel" name="LcleanupRecoverLastSession"> <widget class="QLabel" name="L_cleanupRecoverLastSession">
<property name="font"> <property name="font">
<font> <font>
<weight>50</weight> <weight>50</weight>
@ -530,7 +530,7 @@
<item> <item>
<widget class="QLabel" name="LDataTargetPath"> <widget class="QLabel" name="LDataTargetPath">
<property name="text"> <property name="text">
<string>Data target path:</string> <string>Data target path (No whitespaces allowed)</string>
</property> </property>
</widget> </widget>
</item> </item>
@ -708,14 +708,14 @@
</widget> </widget>
</item> </item>
<item> <item>
<widget class="QLabel" name="label"> <widget class="QLabel" name="LzLeafCommandline">
<property name="text"> <property name="text">
<string>command line to be executed</string> <string>command line to be executed</string>
</property> </property>
</widget> </widget>
</item> </item>
<item> <item>
<widget class="QLineEdit" name="lineEdit"> <widget class="QLineEdit" name="LEzLeafCommandline">
<property name="sizePolicy"> <property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Fixed"> <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
<horstretch>0</horstretch> <horstretch>0</horstretch>
@ -742,7 +742,7 @@
</widget> </widget>
</item> </item>
<item> <item>
<widget class="QLabel" name="LFakeName"> <widget class="QLabel" name="L_FakeName">
<property name="enabled"> <property name="enabled">
<bool>true</bool> <bool>true</bool>
</property> </property>
@ -796,7 +796,7 @@
</widget> </widget>
</item> </item>
<item> <item>
<widget class="QLabel" name="label_2"> <widget class="QLabel" name="L_LocalZleaf">
<property name="text"> <property name="text">
<string>Local zLeaf</string> <string>Local zLeaf</string>
</property> </property>
@ -855,14 +855,14 @@
</property> </property>
<layout class="QVBoxLayout" name="verticalLayout_7"> <layout class="QVBoxLayout" name="verticalLayout_7">
<item> <item>
<widget class="QLabel" name="LUserName"> <widget class="QLabel" name="L_UserName">
<property name="text"> <property name="text">
<string>TextLabel</string> <string>TextLabel</string>
</property> </property>
</widget> </widget>
</item> </item>
<item> <item>
<widget class="QLabel" name="LAdministrativeRights"> <widget class="QLabel" name="L_AdministrativeRights">
<property name="text"> <property name="text">
<string>TextLabel</string> <string>TextLabel</string>
</property> </property>
@ -880,7 +880,7 @@
<item> <item>
<layout class="QVBoxLayout" name="VLUseUser"> <layout class="QVBoxLayout" name="VLUseUser">
<item> <item>
<widget class="QLabel" name="LUseUser"> <widget class="QLabel" name="L_UseUser">
<property name="text"> <property name="text">
<string>User to be used for remote terminal session:</string> <string>User to be used for remote terminal session:</string>
</property> </property>

Loading…
Cancel
Save