Rev 256 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 256 | Rev 257 | ||
---|---|---|---|
Line 1655... | Line 1655... | ||
1655 | TWmiProcessor processor;
|
1655 | TWmiProcessor processor;
|
1656 | QList<TWmiMemoryModul> memory_moduls; |
1656 | QList<TWmiMemoryModul> memory_moduls; |
1657 | QList<TWmiHDD> hdd_list; |
1657 | QList<TWmiHDD> hdd_list; |
1658 | QList<TWmiCDROM> cdrom_list; |
1658 | QList<TWmiCDROM> cdrom_list; |
1659 | QList<TWmiNetCard> netcadr_list; |
1659 | QList<TWmiNetCard> netcadr_list; |
1660 | - | ||
- | 1660 | QList<TWmiSoundCard> soundcard_list; |
|
1661 | vCard = MainWindow::getWmiVideoGard(IP_str, user_name_str, password_str); |
1661 | vCard = MainWindow::getWmiVideoGard(IP_str, user_name_str, password_str); |
1662 | 1662 | ||
1663 | if (!vCard.name.isEmpty()) { |
1663 | if (!vCard.name.isEmpty()) { |
1664 | QTreeWidgetItem * itm_video; |
1664 | QTreeWidgetItem * itm_video; |
1665 | QTreeWidgetItem * itm_video_ram; |
1665 | QTreeWidgetItem * itm_video_ram; |
Line 1950... | Line 1950... | ||
1950 | 1950 | ||
1951 | ui->treeWidget_3->expandItem( itm_netCard_list); |
1951 | ui->treeWidget_3->expandItem( itm_netCard_list); |
1952 | 1952 | ||
1953 | }
|
1953 | }
|
1954 | 1954 | ||
- | 1955 | }
|
|
- | 1956 | ||
- | 1957 | soundcard_list = MainWindow::getWmiSoundCard(IP_str, user_name_str, password_str); |
|
1955 | 1958 | ||
- | 1959 | if (!soundcard_list.isEmpty()){ |
|
- | 1960 | QTreeWidgetItem * itm_soundCard_list; |
|
1956 | 1961 | ||
- | 1962 | itm_soundCard_list = new QTreeWidgetItem(itm_tmp); |
|
- | 1963 | itm_soundCard_list->setText(0, tr("Çâóêîâûå êàðòû:")); |
|
1957 | 1964 | ||
1958 | 1965 | ||
- | 1966 | for (int i = 0; i < cdrom_list.count(); i++){ |
|
- | 1967 | ||
- | 1968 | QTreeWidgetItem * itm_sound_card; |
|
- | 1969 | //QTreeWidgetItem * itm_net_card_mac;
|
|
- | 1970 | //QTreeWidgetItem * itm_sou_card_cap;
|
|
- | 1971 | QString tmp_str;
|
|
- | 1972 | tmp_str = tr("Çâóêîâàÿ êàðòà: "); |
|
- | 1973 | tmp_str.append(soundcard_list.at(i).caption); |
|
1959 | 1974 | ||
- | 1975 | itm_sound_card = new QTreeWidgetItem(itm_soundCard_list); |
|
- | 1976 | itm_sound_card->setText(0, tmp_str); |
|
1960 | 1977 | ||
1961 | 1978 | ||
1962 | 1979 | ||
- | 1980 | ||
- | 1981 | ui->treeWidget_3->expandItem( itm_soundCard_list); |
|
- | 1982 | ||
- | 1983 | }
|
|
- | 1984 | ||
- | 1985 | ||
- | 1986 | ||
- | 1987 | ||
- | 1988 | ||
- | 1989 | ||
- | 1990 | ||
- | 1991 | }
|
|
- | 1992 | ||
1963 | ui->treeWidget_3->expandItem(itm_tmp); |
1993 | ui->treeWidget_3->expandItem(itm_tmp); |
1964 | // itm_tmp->setChildIndicatorPolicy(QTreeWidget::
|
1994 | // itm_tmp->setChildIndicatorPolicy(QTreeWidget::
|
1965 | int i; |
1995 | int i; |
1966 | i++; |
1996 | i++; |
1967 | 1997 | ||
1968 | }
|
- | |
1969 | - | ||
1970 | - | ||
1971 | 1998 | ||
1972 | } //while |
1999 | } //while |
1973 | 2000 | ||
1974 | 2001 | ||
1975 | 2002 |