Changeset 17967 in vbox for trunk/src/VBox/Frontends/VirtualBox
- Timestamp:
- Mar 16, 2009 6:55:59 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/VBoxVMSettingsNetworkDetails.cpp
r17960 r17967 52 52 mLeHMv4->setValidator (new QRegExpValidator 53 53 (QRegExp ("\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}"), this)); 54 //mLeIPv6->setValidator (new QRegExpValidator 55 // (QRegExp ("\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}"), this)); 54 mLeIPv6->setValidator (new QRegExpValidator 55 (QRegExp ("[0-9a-fA-Z]{1,4}:{1,2}[0-9a-fA-Z]{1,4}:{1,2}" 56 "[0-9a-fA-Z]{1,4}:{1,2}[0-9a-fA-Z]{1,4}:{1,2}" 57 "[0-9a-fA-Z]{1,4}:{1,2}[0-9a-fA-Z]{1,4}:{1,2}" 58 "[0-9a-fA-Z]{1,4}:{1,2}[0-9a-fA-Z]{1,4}"), this)); 56 59 //mLeHMv6->setValidator (new QRegExpValidator 57 60 // (QRegExp ("\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}"), this)); 58 mLeIPv6->setFixedWidthByText (QString().fill ('X', 3 9));61 mLeIPv6->setFixedWidthByText (QString().fill ('X', 32) + QString().fill (':', 7)); 59 62 connect (mCbHOI, SIGNAL (currentIndexChanged (int)), 60 63 this, SLOT (hostOnlyInterfaceChanged()));
Note:
See TracChangeset
for help on using the changeset viewer.