mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-07-13 01:39:29 -04:00
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:
parent
9de1c5e6e6
commit
11001bd1d4
2 changed files with 6 additions and 4 deletions
|
@ -703,6 +703,7 @@ void SharedFilesDialog::showFrame(bool show)
|
||||||
ui.remoteButton->setChecked(false);
|
ui.remoteButton->setChecked(false);
|
||||||
ui.splittedButton->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.localButton->setChecked(false);
|
||||||
ui.splittedButton->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.localButton->setChecked(false);
|
||||||
ui.remoteButton->setChecked(false);
|
ui.remoteButton->setChecked(false);
|
||||||
|
|
||||||
|
ui.labeltext->setText(tr("<strong>Files</strong>"));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -519,7 +519,7 @@
|
||||||
<number>0</number>
|
<number>0</number>
|
||||||
</property>
|
</property>
|
||||||
<item row="0" column="1">
|
<item row="0" column="1">
|
||||||
<widget class="QLabel" name="label_2">
|
<widget class="QLabel" name="labeltext">
|
||||||
<property name="maximumSize">
|
<property name="maximumSize">
|
||||||
<size>
|
<size>
|
||||||
<width>16777215</width>
|
<width>16777215</width>
|
||||||
|
@ -536,7 +536,7 @@ p, li { white-space: pre-wrap; }
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item row="0" column="0">
|
<item row="0" column="0">
|
||||||
<widget class="QLabel" name="label">
|
<widget class="QLabel" name="labelicon">
|
||||||
<property name="maximumSize">
|
<property name="maximumSize">
|
||||||
<size>
|
<size>
|
||||||
<width>16</width>
|
<width>16</width>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue