icons for Policy NAT Routing

This commit is contained in:
Vadim Kurland
2008-07-06 21:34:25 +00:00
parent fc50ec1df6
commit 9da9a8fb53
6 changed files with 53 additions and 22 deletions
Binary file not shown.

After

Width:  |  Height:  |  Size: 311 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 349 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 200 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 300 B

+10
View File
@@ -216,6 +216,16 @@
<file alias="Icons/UserService/icon-ref">Icons/user-ref_25.png</file>
<file alias="Icons/UserService/icon-tree">Icons/user_16.png</file>
<file alias="Icons/UserService/icon">Icons/user_25.png</file>
<file alias="Icons/Policy/icon">Icons/ruleset_25.png</file>
<file alias="Icons/Policy/icon-tree">Icons/ruleset_16.png</file>
<file alias="Icons/NAT/icon">Icons/nat_25.png</file>
<file alias="Icons/NAT/icon-tree">Icons/nat_16.png</file>
<file alias="Icons/Routing/icon">Icons/ruleset_25.png</file>
<file alias="Icons/Routing/icon-tree">Icons/ruleset_16.png</file>
<file>Icons/stop.png</file>
<file>Icons/uncheck.png</file>
<file>Icons/undo.png</file>
+43 -22
View File
@@ -158,33 +158,54 @@ ObjectManipulator::ObjectManipulator( QWidget *parent):
QMenu* newObjectPopup = new QMenu( this );
newObjectPopup->addAction(QIcon(icon_path+Library::TYPENAME+"/icon-tree"), tr( "New &Library" ), this, SLOT( newLibrary() ));
newObjectPopup->addAction(QIcon(icon_path+Library::TYPENAME+"/icon-tree"), tr( "New &Library"), this, SLOT( newLibrary() ));
newObjectPopup->addSeparator();
newObjectPopup->addAction(QIcon(icon_path+Firewall::TYPENAME+"/icon-tree"), tr( "New Firewall" ), this, SLOT( newFirewall() ));
newObjectPopup->addAction(QIcon(icon_path+Host::TYPENAME+"/icon-tree"), tr( "New Host" ), this, SLOT( newHost() ));
newObjectPopup->addAction(QIcon(icon_path+Interface::TYPENAME+"/icon-tree"), tr( "New Interface" ), this, SLOT( newInterface() ));
newObjectPopup->addAction(QIcon(icon_path+Network::TYPENAME+"/icon-tree"), tr( "New Network" ), this, SLOT( newNetwork() ));
newObjectPopup->addAction(QIcon(icon_path+NetworkIPv6::TYPENAME+"/icon-tree"), tr( "New Network IPv6" ), this, SLOT( newNetworkIPv6() ));
newObjectPopup->addAction(QIcon(icon_path+IPv4::TYPENAME+"/icon-tree"), tr( "New Address" ), this, SLOT( newAddress() ));
newObjectPopup->addAction(QIcon(icon_path+IPv6::TYPENAME+"/icon-tree"), tr( "New Address IPv6" ), this, SLOT( newAddressIPv6() ));
newObjectPopup->addAction(QIcon(icon_path+DNSName::TYPENAME+"/icon-tree"), tr( "New DNS Name" ), this, SLOT( newDNSName() ));
newObjectPopup->addAction(QIcon(icon_path+AddressTable::TYPENAME+"/icon-tree"), tr( "New Address Table" ), this, SLOT( newAddressTable() ));
newObjectPopup->addAction(QIcon(icon_path+AddressRange::TYPENAME+"/icon-tree"), tr( "New Address Range" ), this, SLOT( newAddressRange() ));
newObjectPopup->addAction(QIcon(icon_path+ObjectGroup::TYPENAME+"/icon-tree"), tr( "New Object Group" ), this, SLOT( newObjectGroup() ));
newObjectPopup->addAction(QIcon(icon_path+Firewall::TYPENAME+"/icon-tree"),
tr("New Firewall"), this, SLOT( newFirewall()));
newObjectPopup->addAction(QIcon(icon_path+Host::TYPENAME+"/icon-tree"),
tr("New Host"), this, SLOT( newHost() ));
newObjectPopup->addAction(QIcon(icon_path+Interface::TYPENAME+"/icon-tree"),
tr("New Interface"), this, SLOT(newInterface()));
newObjectPopup->addAction(QIcon(icon_path+Network::TYPENAME+"/icon-tree"),
tr("New Network"), this, SLOT( newNetwork() ));
newObjectPopup->addAction(QIcon(icon_path+NetworkIPv6::TYPENAME+"/icon-tree"),
tr("New Network IPv6"), this, SLOT(newNetworkIPv6() ));
newObjectPopup->addAction(QIcon(icon_path+IPv4::TYPENAME+"/icon-tree"),
tr("New Address"), this, SLOT(newAddress() ));
newObjectPopup->addAction(QIcon(icon_path+IPv6::TYPENAME+"/icon-tree"),
tr("New Address IPv6"), this, SLOT(newAddressIPv6() ));
newObjectPopup->addAction(QIcon(icon_path+DNSName::TYPENAME+"/icon-tree"),
tr("New DNS Name"), this, SLOT(newDNSName() ));
newObjectPopup->addAction(QIcon(icon_path+AddressTable::TYPENAME+"/icon-tree"),
tr("New Address Table"), this, SLOT(newAddressTable() ));
newObjectPopup->addAction(QIcon(icon_path+AddressRange::TYPENAME+"/icon-tree"),
tr("New Address Range"), this, SLOT(newAddressRange() ));
newObjectPopup->addAction(QIcon(icon_path+ObjectGroup::TYPENAME+"/icon-tree"),
tr("New Object Group"), this, SLOT(newObjectGroup() ));
newObjectPopup->addSeparator();
newObjectPopup->addAction(QIcon(icon_path+CustomService::TYPENAME+"/icon-tree"), tr( "New Custom Service" ), this, SLOT( newCustom() ));
newObjectPopup->addAction(QIcon(icon_path+IPService::TYPENAME+"/icon-tree"), tr( "New IP Service" ), this, SLOT( newIP() ));
newObjectPopup->addAction(QIcon(icon_path+ICMPService::TYPENAME+"/icon-tree"), tr( "New ICMP Service" ), this, SLOT( newICMP() ));
newObjectPopup->addAction(QIcon(icon_path+ICMP6Service::TYPENAME+"/icon-tree"), tr( "New ICMP6 Service" ), this, SLOT( newICMP6() ));
newObjectPopup->addAction(QIcon(icon_path+TCPService::TYPENAME+"/icon-tree"), tr( "New TCP Serivce" ), this, SLOT( newTCP() ));
newObjectPopup->addAction(QIcon(icon_path+UDPService::TYPENAME+"/icon-tree"), tr( "New UDP Service" ), this, SLOT( newUDP() ));
newObjectPopup->addAction(QIcon(icon_path+TagService::TYPENAME+"/icon-tree"), tr( "New TagService" ), this, SLOT( newTagService() ));
newObjectPopup->addAction(QIcon(icon_path+UserService::TYPENAME+"/icon-tree"), tr( "New User Service" ), this, SLOT( newUserService() ));
newObjectPopup->addAction(QIcon(icon_path+ServiceGroup::TYPENAME+"/icon-tree"), tr( "New Service Group" ), this, SLOT( newServiceGroup() ));
newObjectPopup->addAction(QIcon(icon_path+CustomService::TYPENAME+"/icon-tree"),
tr("New Custom Service"), this, SLOT(newCustom() ));
newObjectPopup->addAction(QIcon(icon_path+IPService::TYPENAME+"/icon-tree"),
tr("New IP Service"), this, SLOT(newIP() ));
newObjectPopup->addAction(QIcon(icon_path+ICMPService::TYPENAME+"/icon-tree"),
tr("New ICMP Service"), this, SLOT(newICMP() ));
newObjectPopup->addAction(QIcon(icon_path+ICMP6Service::TYPENAME+"/icon-tree"),
tr("New ICMP6 Service"), this, SLOT(newICMP6() ));
newObjectPopup->addAction(QIcon(icon_path+TCPService::TYPENAME+"/icon-tree"),
tr("New TCP Serivce"), this, SLOT(newTCP() ));
newObjectPopup->addAction(QIcon(icon_path+UDPService::TYPENAME+"/icon-tree"),
tr("New UDP Service"), this, SLOT(newUDP() ));
newObjectPopup->addAction(QIcon(icon_path+TagService::TYPENAME+"/icon-tree"),
tr("New TagService"), this, SLOT(newTagService() ));
newObjectPopup->addAction(QIcon(icon_path+UserService::TYPENAME+"/icon-tree"),
tr("New User Service"), this, SLOT(newUserService() ));
newObjectPopup->addAction(QIcon(icon_path+ServiceGroup::TYPENAME+"/icon-tree"),
tr("New Service Group"), this, SLOT(newServiceGroup() ));
newObjectPopup->addSeparator();
newObjectPopup->addAction(QIcon(icon_path+Interval::TYPENAME+"/icon-tree"), tr( "New Time Interval" ), this, SLOT( newInterval() ));
newObjectPopup->addAction(QIcon(icon_path+Interval::TYPENAME+"/icon-tree"),
tr( "New Time Interval"), this, SLOT( newInterval() ));
// QToolButton *btn = (QToolButton*)toolBar->child("newObjectAction_action_button");