mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-06 15:05:59 +00:00
[WIP] Update Qt interface (#2336)
* Fix rpcs3qt Linux build * Files clean up * Add base MainWindow class * Add slot stubs * Update MainWindow::DecryptSPRXLibraries * Add SettingsDialog base class and tab stubs * Add CoreTab base layout * Add compile guards * Minor fixes * Add GraphicsTab base layout * Add OK button signal * Remove QML stuff * Fix indentation * Add AudioTab base layout * Add InputTab base layout * Fix layouts * Add MiscTab base layout * Fix layouts * Add NetworkingTab base layout * Add SystemTab base layout * Fix button layout in SettingsDialog * Make SettingsDialog resizable * Add base dock widget stubs * Add very base PadSettingsDialog layout * Add combo box entries * Abb LogFrame base layout * Fix indent * Abb GameListFrame base layout * Minor fixes * Add AutoPauseSettingsDialog base layout
This commit is contained in:
parent
d8dc4f4474
commit
74e806810d
30 changed files with 1434 additions and 12 deletions
36
rpcs3/rpcs3qt/networkingtab.cpp
Normal file
36
rpcs3/rpcs3qt/networkingtab.cpp
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
#ifdef QT_UI
|
||||
|
||||
#include <QComboBox>
|
||||
#include <QGroupBox>
|
||||
#include <QVBoxLayout>
|
||||
#include <QHBoxLayout>
|
||||
|
||||
#include "networkingtab.h"
|
||||
|
||||
NetworkingTab::NetworkingTab(QWidget *parent) : QWidget(parent)
|
||||
{
|
||||
// Connection status
|
||||
QGroupBox *netStatus = new QGroupBox(tr("Connection status"));
|
||||
|
||||
QComboBox *netStatusBox = new QComboBox;
|
||||
netStatusBox->addItem(tr("Disconnected"));
|
||||
netStatusBox->addItem(tr("Connecting"));
|
||||
netStatusBox->addItem(tr("Obtaining IP"));
|
||||
netStatusBox->addItem(tr("IP obtained"));
|
||||
|
||||
QVBoxLayout *netStatusVbox = new QVBoxLayout;
|
||||
netStatusVbox->addWidget(netStatusBox);
|
||||
netStatus->setLayout(netStatusVbox);
|
||||
|
||||
// Main layout
|
||||
QVBoxLayout *vbox = new QVBoxLayout;
|
||||
vbox->addWidget(netStatus);
|
||||
vbox->addStretch();
|
||||
|
||||
QHBoxLayout *hbox = new QHBoxLayout;
|
||||
hbox->addLayout(vbox);
|
||||
hbox->addStretch();
|
||||
setLayout(hbox);
|
||||
}
|
||||
|
||||
#endif // QT_UI
|
||||
Loading…
Add table
Add a link
Reference in a new issue