mirror of
https://github.com/SpartanJ/eepp.git
synced 2026-05-28 17:16:29 +03:00
Display tooltip also for chat names.
This commit is contained in:
@@ -181,6 +181,8 @@ class EE_API Text {
|
||||
|
||||
void transformText( const TextTransform::Value& transform );
|
||||
|
||||
const String& getString() const;
|
||||
|
||||
String& getString();
|
||||
|
||||
Font* getFont() const;
|
||||
|
||||
@@ -963,6 +963,10 @@ void Text::transformText( const TextTransform::Value& transform ) {
|
||||
}
|
||||
}
|
||||
|
||||
const String& Text::getString() const {
|
||||
return mString;
|
||||
}
|
||||
|
||||
String& Text::getString() {
|
||||
return mString;
|
||||
}
|
||||
|
||||
@@ -199,6 +199,7 @@ EE_MAIN_FUNC int main( int, char*[] ) {
|
||||
->setDefaultFont( font )
|
||||
->add( theme );
|
||||
|
||||
/*
|
||||
auto* vlay = UILinearLayout::NewVertical();
|
||||
vlay->setLayoutSizePolicy( SizePolicy::MatchParent, SizePolicy::MatchParent );
|
||||
|
||||
@@ -212,6 +213,7 @@ EE_MAIN_FUNC int main( int, char*[] ) {
|
||||
view->setParent( vlay );
|
||||
view->setModel( SortingProxyModel::New( model ) );
|
||||
Log::notice( "Total time: %.2fms", clock.getElapsedTime().asMilliseconds() );
|
||||
*/
|
||||
|
||||
/* ListBox test */
|
||||
/*
|
||||
@@ -244,7 +246,7 @@ EE_MAIN_FUNC int main( int, char*[] ) {
|
||||
|
||||
Clock total;
|
||||
/* Create Widget test */
|
||||
/*
|
||||
|
||||
for ( size_t i = 0; i < 10000; i++ ) {
|
||||
UINode::New();
|
||||
}
|
||||
@@ -275,14 +277,14 @@ EE_MAIN_FUNC int main( int, char*[] ) {
|
||||
but->setLayoutSizePolicy( SizePolicy::MatchParent, SizePolicy::WrapContent );
|
||||
but->setParent( parent )->clipEnable();
|
||||
}
|
||||
std::cout << "Time 10k UIPushButton total: " << total.getElapsedTime().toString() << std::endl;
|
||||
std::cout << "Time 10k UIPushButton total: " << total.getElapsedTime().toString() << std::endl;
|
||||
|
||||
// uiSceneNode->getRoot()->closeAllChildren();
|
||||
total.restart();
|
||||
SceneManager::instance()->update();
|
||||
std::cout << "SceneManager::instance()->update(): " << total.getElapsedTime().toString()
|
||||
<< std::endl;
|
||||
*/
|
||||
|
||||
/*
|
||||
auto* main = UIRelativeLayout::New();
|
||||
main->setLayoutSizePolicy( SizePolicy::MatchParent, SizePolicy::MatchParent );
|
||||
|
||||
@@ -1308,6 +1308,7 @@ void LLMChatUI::updateTabTitle() {
|
||||
if ( !mSummary.empty() )
|
||||
title += " - " + mSummary;
|
||||
tab->setText( title );
|
||||
tab->setTooltipText( title );
|
||||
}
|
||||
|
||||
void LLMChatUI::renameChat( const std::string& newName, bool invertLockedState ) {
|
||||
|
||||
Reference in New Issue
Block a user