added functionality to change text label when switch to different view.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1395 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
defnax 2009-07-21 16:17:22 +00:00
parent 9de1c5e6e6
commit 11001bd1d4
2 changed files with 6 additions and 4 deletions

View File

@ -703,6 +703,7 @@ void SharedFilesDialog::showFrame(bool show)
ui.remoteButton->setChecked(false);
ui.splittedButton->setChecked(false);
ui.labeltext->setText(tr("<strong>My Shared Files</strong>"));
}
}
@ -716,7 +717,7 @@ void SharedFilesDialog::showFrameRemote(bool show)
ui.localButton->setChecked(false);
ui.splittedButton->setChecked(false);
ui.labeltext->setText(tr("<strong>Friends Files</strong>"));
}
}
@ -731,5 +732,6 @@ void SharedFilesDialog::showFrameSplitted(bool show)
ui.localButton->setChecked(false);
ui.remoteButton->setChecked(false);
ui.labeltext->setText(tr("<strong>Files</strong>"));
}
}

View File

@ -519,7 +519,7 @@
<number>0</number>
</property>
<item row="0" column="1">
<widget class="QLabel" name="label_2">
<widget class="QLabel" name="labeltext">
<property name="maximumSize">
<size>
<width>16777215</width>
@ -536,7 +536,7 @@ p, li { white-space: pre-wrap; }
</widget>
</item>
<item row="0" column="0">
<widget class="QLabel" name="label">
<widget class="QLabel" name="labelicon">
<property name="maximumSize">
<size>
<width>16</width>