mirror of
https://github.com/huderlem/porymap.git
synced 2026-10-01 04:16:37 -05:00
Initial connections tab UI redesign
This commit is contained in:
@@ -171,11 +171,10 @@ private:
|
||||
void setConnectionItemsVisible(bool);
|
||||
void setBorderItemsVisible(bool, qreal = 1);
|
||||
void setConnectionEditControlValues(MapConnection*);
|
||||
void setConnectionEditControlsEnabled(bool);
|
||||
void setConnectionsEditable(bool);
|
||||
void createConnectionItem(MapConnection* connection);
|
||||
void populateConnectionMapPickers();
|
||||
void setDiveEmergeControls();
|
||||
void populateConnectionsList();
|
||||
void addConnectionToList(const MapConnection * connection);
|
||||
void updateDiveEmergeMap(QString mapName, QString direction);
|
||||
void onConnectionOffsetChanged(int newOffset);
|
||||
void removeMirroredConnection(MapConnection*);
|
||||
|
||||
26
include/ui/connectionslistitem.h
Normal file
26
include/ui/connectionslistitem.h
Normal file
@@ -0,0 +1,26 @@
|
||||
#ifndef CONNECTIONSLISTITEM_H
|
||||
#define CONNECTIONSLISTITEM_H
|
||||
|
||||
#include "mapconnection.h"
|
||||
|
||||
#include <QFrame>
|
||||
|
||||
namespace Ui {
|
||||
class ConnectionsListItem;
|
||||
}
|
||||
|
||||
class ConnectionsListItem : public QFrame
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit ConnectionsListItem(QWidget *parent, const QStringList &mapNames);
|
||||
~ConnectionsListItem();
|
||||
|
||||
void populate(const MapConnection * connection);
|
||||
|
||||
public:
|
||||
Ui::ConnectionsListItem *ui;
|
||||
};
|
||||
|
||||
#endif // CONNECTIONSLISTITEM_H
|
||||
Reference in New Issue
Block a user