Add dummy UI button

This commit is contained in:
iTrooz 2024-11-13 17:44:54 +01:00
parent 48235f5b71
commit fac521a312
No known key found for this signature in database
GPG Key ID: 8B83F77667B1BC6A
3 changed files with 13 additions and 0 deletions

View File

@ -734,4 +734,9 @@ void ServersPage::on_actionJoin_triggered()
APPLICATION->launch(m_inst, true, false, std::make_shared<MinecraftTarget>(MinecraftTarget::parse(address, false)));
}
void ServersPage::on_actionRefresh_triggered()
{
qDebug() << "Action clicked";
}
#include "ServersPage.moc"

View File

@ -85,6 +85,7 @@ class ServersPage : public QMainWindow, public BasePage {
void on_actionMove_Up_triggered();
void on_actionMove_Down_triggered();
void on_actionJoin_triggered();
void on_actionRefresh_triggered();
void runningStateChanged(bool running);

View File

@ -149,6 +149,8 @@
<addaction name="actionMove_Up"/>
<addaction name="actionMove_Down"/>
<addaction name="actionJoin"/>
<addaction name="separator"/>
<addaction name="actionRefresh"/>
</widget>
<action name="actionAdd">
<property name="text">
@ -175,6 +177,11 @@
<string>Join</string>
</property>
</action>
<action name="actionRefresh">
<property name="text">
<string>Refresh</string>
</property>
</action>
</widget>
<customwidgets>
<customwidget>