Tabbed about floater
This commit is contained in:
@@ -87,6 +87,16 @@ LLFloaterAbout* LLFloaterAbout::sInstance = NULL;
|
||||
|
||||
static std::string get_viewer_release_notes_url();
|
||||
|
||||
static void onAboutClickCopyToClipboard(void* user_data)
|
||||
{
|
||||
LLFloater* self = (LLFloater*) user_data;
|
||||
LLViewerTextEditor *support_widget =
|
||||
self->getChild<LLViewerTextEditor>("support_editor", true);
|
||||
support_widget->selectAll();
|
||||
support_widget->copy();
|
||||
support_widget->deselect();
|
||||
}
|
||||
|
||||
///----------------------------------------------------------------------------
|
||||
/// Class LLFloaterAbout
|
||||
///----------------------------------------------------------------------------
|
||||
@@ -107,7 +117,8 @@ LLFloaterAbout::LLFloaterAbout()
|
||||
|
||||
LLViewerTextEditor *credits_widget =
|
||||
getChild<LLViewerTextEditor>("credits_editor", true);
|
||||
|
||||
|
||||
childSetAction("copy_btn", onAboutClickCopyToClipboard, this);
|
||||
|
||||
if (!support_widget || !credits_widget)
|
||||
{
|
||||
@@ -264,7 +275,7 @@ LLFloaterAbout::LLFloaterAbout()
|
||||
|
||||
// TODO: Implement media plugin version query
|
||||
|
||||
support.append("Qt Webkit Version: 4.5.2 ");
|
||||
support.append("Qt Webkit Version: 4.6.0 ");
|
||||
support.append("\n");
|
||||
|
||||
if (gPacketsIn > 0)
|
||||
@@ -315,7 +326,8 @@ void LLFloaterAbout::show(void*)
|
||||
|
||||
static std::string get_viewer_release_notes_url()
|
||||
{
|
||||
std::ostringstream version;
|
||||
return "http://www.singularityviewer.org";
|
||||
/*std::ostringstream version;
|
||||
version << LL_VERSION_MAJOR
|
||||
<< "." << LL_VERSION_MINOR
|
||||
<< "." << LL_VERSION_PATCH
|
||||
@@ -329,5 +341,6 @@ static std::string get_viewer_release_notes_url()
|
||||
std::ostringstream url;
|
||||
url << RELEASE_NOTES_BASE_URL << LLURI::mapToQueryString(query);
|
||||
|
||||
return "http://ascent.balseraph.org/index.php/Ascent_" + version.str();// url.str();
|
||||
return "http://ascent.balseraph.org/index.php/Ascent_" + version.str();// url.str();*/
|
||||
}
|
||||
|
||||
|
||||
@@ -3,11 +3,62 @@
|
||||
can_resize="false" height="440" min_height="100" min_width="100"
|
||||
name="floater_about" rect_control="FloaterAboutRect"
|
||||
title="About Singularity Viewer" width="470">
|
||||
<text_editor bottom="-434" embedded_items="false"
|
||||
follows="left|top|right|bottom" font="SansSerifSmall" height="168" left="6"
|
||||
max_length="65536" mouse_opaque="true" name="credits_editor" width="458"
|
||||
word_wrap="true">
|
||||
Singularity Viewer is developed and maintained by Siana Gearz with contributions by Shyotl Kuhr. Singularity is based upon Ascent source code. Credits for Ascent include Hg Beeks, Charley Levenque, Hazim Gazov, Zwagoth Klaar, Qarl Fizz, and others. Ascent is based off the Inertia source base.
|
||||
<tab_container
|
||||
follows="all"
|
||||
bottom="10"
|
||||
left="10"
|
||||
height="405"
|
||||
width="450"
|
||||
name="about_tab"
|
||||
tab_position="top">
|
||||
<panel
|
||||
border="true"
|
||||
height="386"
|
||||
label="Info"
|
||||
help_topic="about_support_tab"
|
||||
name="support_panel">
|
||||
<text_editor
|
||||
parse_urls="true"
|
||||
follows="top|left"
|
||||
font="SansSerif"
|
||||
height="343"
|
||||
bg_readonly_color="Transparent"
|
||||
left="1"
|
||||
max_length="65536"
|
||||
name="support_editor"
|
||||
top="-1"
|
||||
bottom="28"
|
||||
width="446"
|
||||
word_wrap="true" />
|
||||
<button
|
||||
follows="left|top"
|
||||
label="Copy to Clipboard"
|
||||
name="copy_btn"
|
||||
right="-5"
|
||||
bottom="0"
|
||||
top_pad="5"
|
||||
height="25"
|
||||
width="180" />
|
||||
</panel>
|
||||
<panel
|
||||
border="true"
|
||||
label="Credits"
|
||||
height="386"
|
||||
help_topic="about_credits_tab"
|
||||
name="credits_panel">
|
||||
<text_editor
|
||||
enabled="false"
|
||||
follows="left|top"
|
||||
bg_readonly_color="Transparent"
|
||||
left="1"
|
||||
text_color="LtGray"
|
||||
max_length="65536"
|
||||
name="credits_editor"
|
||||
top="-1"
|
||||
bottom="0"
|
||||
width="446"
|
||||
word_wrap="true">
|
||||
Singularity Viewer is developed and maintained by Siana Gearz with contributions by Shyotl Kuhr and Narv Czervik. Singularity is based upon Ascent source code. Credits for Ascent include Hg Beeks, Charley Levenque, Hazim Gazov, Zwagoth Klaar, Qarl Fizz, and others. Ascent is based upon the Inertia source code.
|
||||
|
||||
Singularity Viewer includes source code contributions of the following residents: Able Whitman, Adam Marker, Agathos Frascati, Aimee Trescothick, Alejandro Rosenthal, Aleric Inglewood, Alissa Sabre, Angus Boyd, Ann Congrejo, Argent Stonecutter, Asuka Neely, Balp Allen, Benja Kepler, Biancaluce Robbiani, Blakar Ogre, blino Nakamura, Boroondas Gupte, Bulli Schumann, bushing Spatula, Carjay McGinnis, Catherine Pfeffer, Celierra Darling, Cron Stardust, Dale Glass, Drewan Keats, Dylan Haskell, Dzonatas Sol, Eddy Stryker, EponymousDylan Ra, Eva Nowicka, Farallon Greyskin, Feep Larsson, Flemming Congrejo, Fluf Fredriksson, Fremont Cunningham, Geneko Nemeth, Gigs Taggart, Ginko Bayliss, Grazer Kline, Gudmund Shepherd, Hamncheese Omlet, HappySmurf Papp, Henri Beauchamp, Hikkoshi Sakai, Hiro Sommambulist, Hoze Menges, Ian Kas, Irene Muni, Iskar Ariantho, Jacek Antonelli, JB Kraft, Joghert LeSabre, Kage Pixel, Ken March, Kerutsen Sellery, Khyota Wulluf, Kunnis Basiat, Lisa Lowe, Lockhart Cordoso, maciek marksman, Magnus Balczo, Malwina Dollinger, march Korda, Matthew Dowd, McCabe Maxsted, Michelle2 Zenovka, Mm Alder, Mr Greggan, Nicholaz Beresford, Nounouch Hapmouche, Patric Mills, Paul Churchill, Paula Innis, Peekay Semyorka, Peter Lameth, Pf Shan, princess niven, Renault Clio, Ringo Tuxing, Robin Cornelius, Ryozu Kojima, Salahzar Stenvaag, Sammy Frederix, Scrippy Scofield, Seg Baphomet, Sergen Davies, SignpostMarv Martin, Simon Nolan, SpacedOut Frye, Sporked Friis, Stevex Janus, Still Defiant, Strife Onizuka, Tayra Dagostino, TBBle Kurosawa, Teardrops Fall, tenebrous pau, Tharax Ferraris, Thickbrick Sleaford, Thraxis Epsilon, tiamat bingyi, TraductoresAnonimos Alter, Tue Torok, Vadim Bigbear, Vixen Heron, Whoops Babii, Wilton Lundquist, Zarkonnen Decosta, Zi Ree, Zipherius Turas
|
||||
|
||||
@@ -45,11 +96,8 @@ Henri Beauchamp, Inma Rau, Irene Muni, Iskar Ariantho, Jacek Antonelli, JB Kraft
|
||||
|
||||
|
||||
To be a success in business, be daring, be first, be different. --Henry Marchant</text_editor>
|
||||
|
||||
<text_editor bottom_delta="174" embedded_items="false"
|
||||
follows="left|top|right|bottom" font="SansSerif" height="238" left="6"
|
||||
max_length="65536" mouse_opaque="true" name="support_editor" width="458"
|
||||
word_wrap="true" />
|
||||
</panel>
|
||||
</tab_container>
|
||||
<string name="you_are_at">
|
||||
You are at [POSITION]
|
||||
</string>
|
||||
|
||||
Reference in New Issue
Block a user